problem building tutorial

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

problem building tutorial

Postby gsaous » Sat Apr 24, 2010 2:33 pm

hi all, I am a starter here and I started by having problem opening the tutorial...
ok, i use visual studio 2003 and when i open the tutorial and i try to rebuild it, i get this error for each project(I'm writing only the first):

Tutorial_101_GettingStarted error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."

do you have any idea what's going wrong??
thanks a lot!!
gsaous
 
Posts: 22
Joined: Sat Apr 24, 2010 2:25 pm

Re: problem building tutorial

Postby gsaous » Sat Apr 24, 2010 2:51 pm

watching the output of the error i saw that the decription of the error is that:
Performing Pre-Build Event...
C:\NewtonTutorials\bin\x32\JointLibrary.dll -> C:\NewtonTutorials\bin\x32\JointLibrary.dll
File cannot be copied onto itself
0 File(s) copied
Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."

have you any ideas what to do?
thnx again
gsaous
 
Posts: 22
Joined: Sat Apr 24, 2010 2:25 pm

Re: problem building tutorial

Postby Julio Jerez » Sat Apr 24, 2010 4:42 pm

I keep hearing that people can no build the tutorials, and I think it is because they do not set the enviroment variable wher eto search fo teh newton libraries
In my systme I ste ot to this
    NEWTON_HOME=C:\Newton_200\NewtonSDK\sdk

Basically you nee to downloads the latest Newton SDK and set an enviromnet variable name NEWTON_HOME to point to wher eteh newton engoen an dSDK are in you disk.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: problem building tutorial

Postby Stucuk » Mon Apr 26, 2010 6:41 am

It would be better if the Tutorials came with the SDK, then there would be no need to set anything as everything would always be in the same relative folders.
User avatar
Stucuk
 
Posts: 801
Joined: Sat Mar 12, 2005 3:54 pm
Location: Scotland


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron