A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by harkaz » Thu May 03, 2012 7:19 am
I tried to build the Newton Tutorials.sln VS 2008 project but build was terminated with the following linker error:
------ Build started: Project: Tutorial_101_GettingStarted, Configuration: Release Win32 ------
Compiling...
stdafx.cpp
Compiling...
TutorialCode.cpp
SoundManager.cpp
SceneManager.cpp
OpenGlUtil.cpp
main.cpp
Entity.cpp
CollectInputAndUpdateCamera.cpp
Generating Code...
Linking...
LIBCMT.lib(crt0init.obj) : warning LNK4098: defaultlib 'libcmtd.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
main.obj : error LNK2019: unresolved external symbol __imp__NewtonSetSolverModel referenced in function _SDL_main
main.obj : error LNK2019: unresolved external symbol __imp__NewtonSetWorldSize referenced in function _SDL_main
main.obj : error LNK2019: unresolved external symbol __imp__NewtonSetPlatformArchitecture referenced in function _SDL_main
main.obj : error LNK2019: unresolved external symbol __imp__NewtonCreate referenced in function _SDL_main
main.obj : error LNK2019: unresolved external symbol __imp__NewtonSetMemorySystem referenced in function _SDL_main
main.obj : error LNK2019: unresolved external symbol __imp__NewtonDestroy referenced in function "void __cdecl ShutDown(void)" (?ShutDown@@YAXXZ)
main.obj : error LNK2019: unresolved external symbol __imp__NewtonDestroyAllBodies referenced in function "void __cdecl ShutDown(void)" (?ShutDown@@YAXXZ)
main.obj : error LNK2019: unresolved external symbol __imp__NewtonUpdate referenced in function "void __cdecl AdvanceSimulation(int)" (?AdvanceSimulation@@YAXH@Z)
../bin/Win32/Tutorial_101_GettingStarted.exe : fatal error LNK1120: 8 unresolved externals
Tutorial_101_GettingStarted - 9 error(s), 1 warning(s)
========== Build: 6 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
-
harkaz
-
- Posts: 2
- Joined: Thu May 03, 2012 7:14 am
by FSA » Sat May 12, 2012 1:18 pm
Wich libarys have you link?
-

FSA
-
- Posts: 322
- Joined: Wed Dec 21, 2011 9:47 am
by harkaz » Tue May 15, 2012 8:05 am
The file Newtontutorials.sln is included in the newton-dynamics-2.35.rar file, subfolder \applications\tutorials
Command line :
CL Compiler:
/Od /I "./" /I "../Common" /I "../SDL/SDL-1.2.13/include" /I "../SDL/SDL_Mixer/include" /I "../../../packages" /I "../../../packages/dMath" /I "../../../packages/dScene" /I "../../../packages/dContainers" /I "../../../packages/dCustomJoints" /I "../../../packages/thirdParty/tinyxml" /I "../../../packages/thirdParty/glew/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_NEWTON_USE_LIB" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /Gm /EHsc /RTC1 /MTd /Yu"stdafx.h" /Fp"../Win32/Tutorial_101_GettingStarted/Debug\Tutorial_101_GettingStarted.pch" /Fo"../Win32/Tutorial_101_GettingStarted/Debug\\" /Fd"../Win32/Tutorial_101_GettingStarted/Debug\vc90.pdb" /W4 /nologo /c /Zi /TP /errorReport:prompt
Linker:
/OUT:"../bin/Win32/Tutorial_101_GettingStarted.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"../SDL/SDL-1.2.13/lib" /LIBPATH:"../SDL/SDL-1.2.13/lib/StartupD" /LIBPATH:"../SDL/SDL_Mixer/lib" /MANIFEST /MANIFESTFILE:"../Win32/Tutorial_101_GettingStarted/Debug\Tutorial_101_GettingStarted.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"../Win32/Tutorial_101_GettingStarted/Debug/Tutorial_101_GettingStarted.pdb" /SUBSYSTEM:CONSOLE /DYNAMICBASE:NO /MACHINE:X86 /ERRORREPORT:PROMPT GLu32.LIB opengl32.lib SDL.lib SDLmain.lib SDL_mixer.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "..\..\..\packages\projects\visualstudio_2008\win32\djointlibrary\debug\djointlibrary_d.lib" "..\..\..\packages\projects\visualstudio_2008\win32\dcontainers\debug\dcontainers_d.lib" "..\..\..\corelibrary_200\projets\windows\project_vs2008\win32\physics\debug\physics.lib" "..\..\..\corelibrary_200\projets\windows\project_vs2008\win32\core\debug\core.lib" "..\..\..\corelibrary_200\projets\windows\project_vs2008\win32\newton\debug\newton_d.lib" "..\..\..\packages\projects\visualstudio_2008\win32\dmath\debug\dmath_d.lib"
-
harkaz
-
- Posts: 2
- Joined: Thu May 03, 2012 7:14 am
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 2 guests