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
NMAKE : fatal error U1077
NMAKE : fatal error U1077
Last edited by uday on Thu Oct 27, 2011 8:18 am, edited 2 times in total.
Re: NMAKE : fatal error U1077
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
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
Re: NMAKE : fatal error U1077
Hi,
Kindly find the attachment for the build log.
Uday
Kindly find the attachment for the build log.
Uday
- Attachments
-
- openvibe.txt
- (13.98 KiB) Downloaded 416 times
Re: NMAKE : fatal error U1077
---------------
Last edited by uday on Thu Oct 27, 2011 8:03 am, edited 2 times in total.
Re: NMAKE : fatal error U1077
Hi uday and welcome on board !
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 :
with REM :
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
Here is the error.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'
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%
Code: Select all
REM echo %OpenViBE_plugin_matlab% >> %OpenViBE_build_order%
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
Re: NMAKE : fatal error U1077
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
Thank you very much for your help. It really worked successfully and hope to get the solution for Matlab R2008a too soon.
Regards,
Uday