Hi, I have newton SDK installed in the following directory : C:\Program Files\NewtonSDK\sdk And i cant get it linked up with visual studio. Here is a list of my included directories:
anyone know what i have done wrong?
Thanks in advance -BEN
Dont know that SDK and maybe they solved this different to other SDKs, but normally you have to add a folder lib to Libary files and Include to include files, you added the folder DLL. If that is correct in this SDK, try to push the directories up to the start of the list.
I've tried all sorts of different combinations i cant get it to work. The file names arent like Irrlicht's though here is the filenames:
1.Custom Joints.
2.DLL,
4.DLL_Double
5.LIB_MT
6.LIB_MT_DOUBLE
7.LIB_ST
8.LIB_ST_DOUBLE
also the newton.h file is in this directory aswell
Compiling...
main.cpp
C:\new\newton\main.cpp(2) : fatal error C1083: Cannot open include file: 'newton.h': No such file or directory
Error executing cl.exe.
this is'nt my code as i stated earlier, and i havent had any practice in newton as ... i've been trying to get it to work all day so i dont know if its the actual code or still a linker error.
i tried changing it and it hasnt worked .
but i tried just adding the newton.h into a peice of code and adding a newton parameter which does nothing and it compiled and it runs, so i think the error must just be in the code which the person has written. Thanks so mcuh for your help -BEN
this is'nt my code as i stated earlier, and i havent had any practice in newton as ... i've been trying to get it to work all day so i dont know if its the actual code or still a linker error.
-BEN
Have you told the project to link with newton.lib?
i just tried to compile the first tutorial it comes up with this error :
Compiling...
tutorial.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
c:\program files\newtonsdk\samples\tutorial_01_gettingstarted\stdafx.h(35) : fatal error C1083: Cannot open include file: 'Game.h': No such file or directory
Error executing cl.exe.
i must have to link like 5 things to it .... damn
-BEN
I'm wondering why the Newton tutorial is giving Irrlicht messages... Try reinstaiing the latest Newton SDK and try removing the extra folder paths from VC6.
i think i may know what the problem is, i think the folder is missin "stdafx.h" which should be in the newton folder. Could you send the code over then ill save it and see if it works then... thanks.
-BEN