Hi Jordi
Ok, I am on Windows XP 32-bit OS now and I need your help once again.
CMake is finding my compiler, VS8 but unfortunately it is finding the 64-bit
compiler. Is there a way to get CMake to use the 32-bit version of the
microsoft VS 8 development environment?
I believe I am supposed to be using the 32-bit compiler.
>From the user doc you spoke about, I installed ANT and used ant. I still got
>the exact same error message below.
I wish I could wait for the binaries to be available but I must also have the
source code as I will be developing against osgvp and I will need access to the
composite viewer java interface that osgvp provides. It is critical that I get
osgvp's java compositer viewer working the way I need for it to work in my
appliation both under linux and windows XP.
Thanks Jordi for your help. :) :)
generate:
[delete] Deleting: C:\Documents and
Settings\allen\Desktop\osgvp-2.2.0-SNAPSHOT-src\libosgvp\libjni-osgvp\target\targ
et_cmake\CMakeCache.txt
[exec] -- The C compiler identification is MSVC
[exec] -- The CXX compiler identification is MSVC
[exec] -- Check for CL compiler version
[exec] -- Check for CL compiler version - 1400
[exec] -- Check if this is a free VC compiler
[exec] -- Check if this is a free VC compiler - yes
[exec] -- Check CL platform
[exec] -- Check CL platform - 64 bit
[exec] -- Check for working C compiler: C:/Program Files/Microsoft Visual
Studio 8/VC/bin/cl.exe
[exec] -- Check for working C compiler: C:/Program Files/Microsoft Visual
Studio 8/VC/bin/cl.exe -- broken
[exec] CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:50 (MESSAGE):
[exec] The C compiler "C:/Program Files/Microsoft Visual Studio
8/VC/bin/cl.exe"
[exec] is not able to compile a simple test program.
[exec]
[exec] It fails with the following output:
[exec]
[exec] Change Dir: C:/Documents and
Settings/allen/Desktop/osgvp-2.2.0-SNAPSHOT-src/libosgvp/libjni-osgvp/target
/target_cmake/CMakeFiles/CMakeTmp
[exec]
[exec]
[exec]
[exec] Run Build Command:nmake /NOLOGO "cmTryCompileExec\fast"
[exec]
[exec] "c:\program files\microsoft visual studio 8\VC\bin\nmake.exe" -f
[exec] CMakeFiles\cmTryCompileExec.dir\build.make /nologo -L
[exec] CMakeFiles\cmTryCompileExec.dir\build
[exec]
[exec] "C:\Program Files\CMake 2.8\bin\cmake.exe" -E
cmake_progress_report
[exec] "C:\Documents and
[exec]
Settings\allen\Desktop\osgvp-2.2.0-SNAPSHOT-src\libosgvp\libjni-osgvp\target\target_cmake\CMakeFiles\CMake
Tmp\CMakeFiles"
[exec] 1
[exec]
[exec] Building C object
CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj
[exec]
[exec] C:\PROGRA~1\MID05A~1\VC\bin\cl.exe
[exec] @C:\DOCUME~1\allen\LOCALS~1\Temp\nm1052.tmp
[exec]
[exec] testCCompiler.c
[exec]
[exec] Linking C executable cmTryCompileExec.exe
[exec]
[exec] "C:\Program Files\CMake 2.8\bin\cmake.exe" -E vs_link_exe
[exec] C:\PROGRA~1\MID05A~1\VC\bin\cl.exe /nologo
[exec] @CMakeFiles\cmTryCompileExec.dir\objects1.rsp
[exec] @C:\DOCUME~1\allen\LOCALS~1\Temp\nm1053.tmp
[exec]
[exec] CMakeFiles\cmTryCompileExec.dir\testCCompiler.c.obj : fatal error
LNK1112:
[exec] module machine type 'X86' conflicts with target machine type 'x64'
[exec]
[exec] LINK Pass 1 failed. with 2
[exec]
[exec] NMAKE : fatal error U1077: '"C:\Program Files\CMake
2.8\bin\cmake.exe"' :
[exec] return code '0xffffffff'
[exec]
[exec] Stop.
[exec]
[exec] NMAKE : fatal error U1077: '"c:\program files\microsoft visual
studio
[exec] 8\VC\bin\nmake.exe"' : return code '0x2'
[exec]
[exec] Stop.
[exec]
[exec]
[exec]
[exec]
[exec] -- Configuring incomplete, errors occurred!
[exec]
[exec] CMake will not be able to correctly generate this project.
[exec] Call Stack (most recent call first):
[exec] CMakeLists.txt:1 (project)
[exec]
[exec]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while
executing this line:
C:\Documents and
Settings\allen\Desktop\osgvp-2.2.0-SNAPSHOT-src\build\scripts\depman-ant.xml:6:
The following error occ
urred while executing this line:
C:\Documents and
Settings\allen\Desktop\osgvp-2.2.0-SNAPSHOT-src\build\scripts\utilities.xml:30:
exec returned: 1
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Thu Feb 18 15:44:04 CST 2010
[INFO] Final Memory: 23M/494M
[INFO] ------------------------------------------------------------------------
C:\Documents and Settings\allen\Desktop\osgvp-2.2.0-SNAPSHOT-src>
Best regards,
Allen
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24383#24383
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org