Hi all,
Im currently trying to set my program (which uses NGD-2.30) to work in a x64 machine. So everythink builds fine except for this error,
Error 1 error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' C:\Work\Repository\CoopDynSim\build\dMath_d.lib(dMatrix.obj)
which i guess has something to do with NGD libs. So i go to C:\...\NewtonWin-2.30\sdk\projects_vs2008 and the project is VS2009. However, and as i am using VS2010 i upgraded it to VS2010 and tried to each module (dContainers, dJointLibrary, dMath, dScene) to x64 (both debug and release) but i'm getting a bunch of errors.
Error 19 error MSB3073: The command "xcopy "x64/dContainers/Release_mt\dContainers_d.lib" "../X32/lib_vs9_mt/*.*" /F /Y
:VCEnd" exited with code 4. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113
Error 20 error MSB3073: The command "xcopy "x64/dContainers/Release_md\dContainers_d.lib" "../X32/lib_vs9_mt/*.*" /F /Y
:VCEnd" exited with code 4. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113
Error 8 error LNK1181: cannot open input file 'C:\Work\NewtonWin-2.30\sdk\projects_vs2008\Win32\dMath\Release_mt\dMath.lib' C:\Work\NewtonWin-2.30\sdk\projects_vs2008\LINK
Error 10 error LNK1181: cannot open input file 'C:\Work\NewtonWin-2.30\sdk\projects_vs2008\Win32\dMath\Release_mt\dMath.lib' C:\Work\NewtonWin-2.30\sdk\projects_vs2008\LINK
Error 14 error LNK1181: cannot open input file 'C:\Work\NewtonWin-2.30\sdk\projects_vs2008\Win32\dMath\Release_mt\dMath.lib' C:\Work\NewtonWin-2.30\sdk\projects_vs2008\LINK
Error 18 error LNK1181: cannot open input file 'C:\Work\NewtonWin-2.30\sdk\projects_vs2008\Win32\dMath\Release_mt\dMath.lib' C:\Work\NewtonWin-2.30\sdk\projects_vs2008\LINK
Error 1 error MSB3073: The command "xcopy "x64/dMath/Release_mt\dMath_d.lib" "../X32/lib_vs9_mt/*.*" /F /Y
:VCEnd" exited with code 4. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113
Error 2 error MSB3073: The command "xcopy "x64/dMath/Release_md\dMath_d.lib" "../X32/lib_vs9_mt/*.*" /F /Y
:VCEnd" exited with code 4. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113
Error 26 error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' C:\Work\NewtonWin-2.30\sdk\thirdParty\glew\build\vc6\x64\Release\obj\glew.obj 1
Error 30 error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' C:\Work\NewtonWin-2.30\sdk\thirdParty\glew\build\vc6\x64\Debug\obj\glew.obj 1
Error 31 error MSB3073: The command "xcopy "x64/tinyxml/Release_mt\tinyxml_d.lib" "../X32/lib_vs9_mt/*.*" /F /Y
:VCEnd" exited with code 4. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113
Error 32 error MSB3073: The command "xcopy "x64/tinyxml/Release_md\tinyxml_d.lib" "../X32/lib_vs9_mt/*.*" /F /Y
:VCEnd" exited with code 4. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113
Am i doing something wrong? Is this expected to work or should i try another approach?
Thanks in advance
Carlos