Since I have uninstalled Visual Sudio Express 2008 and replaced it with Visual Studio 2008, OpenViBE's compilation script doesn't work anymore. When I launch win32-build.cmd the command line shell displays :
Code: Select all
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
_______________________________________________________________________
Configuring and building openvibe\trunc ...
-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
-- Using FREE VC TOOLS, NO DEBUG available
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe -- broken
CMake Error at C:/WORK/CodeSourceOpenViBE/OV_SVN/dependencies/cmake/cmake-2.6.2-win32-x86/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE): The C compiler "C:/Program Files/Microsoft SDKs/Windows/v6.0A/bin/cl.exe" is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/WORK/CodeSourceOpenViBE/OV_SVN/local-tmp/openvibe/trunc/CMakeFiles/CMakeTmp
Run Build Command:nmake /NOLOGO "cmTryCompileExec\fast"
"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f
CMakeFiles\cmTryCompileExec.dir\build.make /nologo -L
CMakeFiles\cmTryCompileExec.dir\build
C:\WORK\CodeSourceOpenViBE\OV_SVN\dependencies\cmake\cmake-2.6.2-win32-x86\bin\cmake.exe
-E cmake_progress_report
C:\WORK\CodeSourceOpenViBE\OV_SVN\local-tmp\openvibe\trunc\CMakeFiles\CMakeTmp
\CMakeFiles
1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj
C:\PROGRA~1\MICROS~4\Windows\v6.0A\bin\cl.exe
@C:\DOCUME~1\Marco\LOCALS~1\Temp\nm394.tmp
testCCompiler.c
Linking C executable cmTryCompileExec.exe
C:\PROGRA~1\MICROS~4\Windows\v6.0A\bin\cl.exe /nologo
@CMakeFiles\cmTryCompileExec.dir\objects.rsp
@C:\DOCUME~1\Marco\LOCALS~1\Temp\nm395.tmp
CMakeFiles\cmTryCompileExec.dir\testCCompiler.c.obj : fatal error LNK1112: type d'ordinateur module 'X86' en conflit avec le type d'ordinateur cible 'x64'
NMAKE : fatal error U1077:
'C:\PROGRA~1\MICROS~4\Windows\v6.0A\bin\cl.exe'á: code retour '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"'á: code retour '0x2'
Stop.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (PROJECT)
-- Configuring incomplete, errors occurred!
An error occured during building process
Appuyez sur une touche pour continuer...
I'm not familiar with compilation issues, so if you have any clue...
Thanks in advance !
Léo