Newton in VS 2010

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Newton in VS 2010

Postby en51nm » Thu May 17, 2012 4:11 pm

Hi,
Just trying to get started with Newton - I've downloaded the most recent Newton Build from the google SVN and I'm trying to get it setup with VS 2010 (Windows 7) to run with Irrlicht. However, I'm having some trouble getting the C:\Newton\coreLibrary_200\projets\windows\project_vs2010\newton.sln to compile. I get an error:

Unable to start program 'C:\Users\Nick\Documents\Newton\coreLibrary_200\projets\windows\project_vs2010\newton_d.lib'. The specified file is unrecognised or unsupported binary format.

I get the same error in the Library_300 and I can't get the tutorials to build because I don't know where to specify my include and library folders.

Any help getting me up and running would be great. Thanks in advance.
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Newton in VS 2010

Postby Julio Jerez » Thu May 17, 2012 4:48 pm

you need to open C:\Newton\coreLibrary_300\projets\windows\project_vs2010\newton.sln
the 200 projects are still in the archive for reference to some stuff that had not beib converetx to core 300.

try open this solution
C:../applications\demosSandbox\projects\visualStudio_2010/demosSandbox.sln
and it should compile everything without errrs or warnings.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton in VS 2010

Postby en51nm » Fri May 18, 2012 3:20 am

Julio Jerez wrote:try open this solution
C:../applications\demosSandbox\projects\visualStudio_2010/demosSandbox.sln
and it should compile everything without errrs or warnings.


Thanks for getting back to me so quickly. The above compiles successfully (as before) but I still get a similar "unrecognised or unsupported library" - this time for "ai_d.lib".

If VS 2010 is the problem, I'm more than happy to switch to an alternative (free) IDE that is compatible with Windows 7 and is known to work with Irrlicht and Newton.
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Newton in VS 2010

Postby Julio Jerez » Fri May 18, 2012 6:58 am

how can you get that, no one get that problem.
are you missing the build targets?
I am confused, can you tell me the step you are doing?
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton in VS 2010

Postby en51nm » Fri May 18, 2012 10:27 am

There are no include or lib folders so I'm not sure how to setup the build directories for VS 2010. Is there any documentation on implementation of the most recent build for VS2010? Sorry to be a pain but I've honestly tried everything I can think of.
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Newton in VS 2010

Postby Julio Jerez » Fri May 18, 2012 10:54 am

Newton does no nee include folders, you only include one header file for eth engine
the path to that file is this
C:...\coreLibrary_300\source\newton
if you are make a dll you need to copy the dll to your folder,
if you are using as static library you can set these path in your project

../../../../coreLibrary_300/source/ai
../../../../coreLibrary_300/source/newton
../../../../packages
../../../../packages/dMath
../../../../packages/dScene
../../../../packages/dAILibrary
../../../../packages/dContainers
../../../../packages/dCustomJoints
../../../../packages/thirdParty/tinyxml
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton in VS 2010

Postby en51nm » Sun May 20, 2012 4:36 pm

Thanks for the info. I'll give it a try tomorrow and let you know how it goes, I really appreciate the help.

I've got one question, before I spend a huge amount more time trying to get Newton running. One of the reasons I'm keen to use Newton is to help with doing accurate mesh-vs-mesh collision detection. Does Newton have predefined functions to make real time mesh-vs-mesh collision detection possible?

Thanks again for the help.
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Newton in VS 2010

Postby Julio Jerez » Sun May 20, 2012 5:01 pm

newton does not have mesh / mesh collision detection.
core 300 does have convex decomposition of a mesh, try running the sandbox demo and luanch the simple convex decomposition demo.
there are some models that are decomposed into a compound collision shape, there are simple and complex models.
see if this is enough for what you want.
if it is not then I am afraid you are out of luck, I do not want to mislead into think that the engine will do that soon, newton does not supports
that funtionality and I have not plan to add that to core 300 anytime soon.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest