NMAKE : fatal error U1077

Post Reply
uday
Posts: 4
Joined: Wed Oct 26, 2011 6:11 am

NMAKE : fatal error U1077

Post by uday »

Hi,
I am using VS2010 with latest OpenVIBE version 0.12.0, svn 3107. I have installed all the depedencies as far possible. While building on my 32-bit machine, it gives the following error at last:

C:\OpenVIBE\openvibe-plugins\matlab\trunc\src\box-algorithms\tools\ovpCBoxAlgorithmMatlabFilter.cpp(457) : warning C4244: 'argument' : conversion from 'OpenViBE::float64' to 'const OpenViBE::uint64', possible loss of data
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2.0\VC\bin\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

Kindly find the attached log file I got during the process.
Please let me know the solution!

Uday
Last edited by uday on Thu Oct 27, 2011 8:18 am, edited 2 times in total.

ddvlamin
Posts: 160
Joined: Thu Aug 13, 2009 8:39 am
Location: Ghent University
Contact:

Re: NMAKE : fatal error U1077

Post by ddvlamin »

Hi,

Could you also post the lines above the warning that you posted? At least enough output lines so that the real errors are displayed and not only the warning.

Best regards,
Dieter Devlaminck

uday
Posts: 4
Joined: Wed Oct 26, 2011 6:11 am

Re: NMAKE : fatal error U1077

Post by uday »

Hi,

Kindly find the attachment for the build log.

Uday
Attachments
openvibe.txt
(13.98 KiB) Downloaded 414 times

uday
Posts: 4
Joined: Wed Oct 26, 2011 6:11 am

Re: NMAKE : fatal error U1077

Post by uday »

---------------
Last edited by uday on Thu Oct 27, 2011 8:03 am, edited 2 times in total.

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: NMAKE : fatal error U1077

Post by lbonnet »

Hi uday and welcome on board !
c:\program files\matlab\r2008a\extern\include\matrix.h(345) : error C2371: 'char16_t' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(576) :
see declaration of 'char16_t'
Here is the error.

I see you have Matlab R2008a installed on your computer.
The OpenViBE build process found Matlab.exe on your computer, and so it is trying to build the Matlab Filter box. It seems like this R2008a version has compatibility issue with the box...
I tested it only with Matlab R2011a and R2011b.

If you don't need the Matlab Filter Box, modify the file scripts/win32-init_env_command.cmd. The last part of the file describes the build order (i.e. what part of the software you want to build).

comment the line :

Code: Select all

echo %OpenViBE_plugin_matlab% >> %OpenViBE_build_order%
with REM :

Code: Select all

REM echo %OpenViBE_plugin_matlab% >> %OpenViBE_build_order%
it should deactivate the compilation of the Matlab box, avoiding this error.
You may have to clear the cmake cache before build (delete the folder local-tmp)

In case you really need the Matlab filter Box, I'm afraid I can't do much about this right now.
I don't have older version of matlab to test, but I can plan some testing in the future if it's necessary.

Hope this helps !

Laurent
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

uday
Posts: 4
Joined: Wed Oct 26, 2011 6:11 am

Re: NMAKE : fatal error U1077

Post by uday »

Hi Laurent,

Thank you very much for your help. It really worked successfully and hope to get the solution for Matlab R2008a too soon.

Regards,
Uday

Post Reply