A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by marcio89 » Wed Jun 23, 2010 10:41 pm
Hi guys, I'm new in this forum. I'm trying to do a simple example using newton and Artoolkit.
I already tried to use the Newton_Tutorials but I'm having some problems to introduce them in Artoolkit.
So my question is... How do I create, for example, 2 glutSolidCube and put collisions on them ?!
Sorry for my english and for the stupid question. Ty in advanced, Márcio.
-
marcio89
-
- Posts: 8
- Joined: Wed Jun 23, 2010 10:34 pm
by marcio89 » Thu Jun 24, 2010 10:25 am
Yep, but I'm having problems with those tutorials.
> Tutorial_101_GettingStarted.exe!GetWorkingFileName(const char * name=0x0045e464, char * outPathName=0x0012edd0) Line 351 + 0x6 bytes C++
Tutorial_101_GettingStarted.exe!LoadTexture(const char * filename=0x0045e464) Line 232 + 0x10 bytes C++
Tutorial_101_GettingStarted.exe!InitFont() Line 176 + 0xa bytes C++
Tutorial_101_GettingStarted.exe!InitGraphicsSystem(int width=800, int height=600) Line 646 C++
Tutorial_101_GettingStarted.exe!SDL_main(int argc=1, char * * argv=0x020823f0) Line 51 + 0xf bytes C++
Tutorial_101_GettingStarted.exe!main(int argc=1, char * * argv=0x020823f0) Line 246 + 0xd bytes C
Tutorial_101_GettingStarted.exe!__tmainCRTStartup() Line 266 + 0x19 bytes C
Tutorial_101_GettingStarted.exe!mainCRTStartup() Line 182 C
kernel32.dll!768e4911()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!776ce4b6()
ntdll.dll!776ce489()
-
marcio89
-
- Posts: 8
- Joined: Wed Jun 23, 2010 10:34 pm
by Julio Jerez » Thu Jun 24, 2010 11:45 am
you have to set the path right.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by marcio89 » Thu Jun 24, 2010 11:59 am
Which one ?
I thought it was just ready to run. I didn't change anything.
-
marcio89
-
- Posts: 8
- Joined: Wed Jun 23, 2010 10:34 pm
by Julio Jerez » Thu Jun 24, 2010 12:04 pm
It is ready to run from teh archve, if you move file then it will not find them
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by marcio89 » Thu Jun 24, 2010 1:57 pm
Did you already build it on VC++ 2008 express edition ?!
-
marcio89
-
- Posts: 8
- Joined: Wed Jun 23, 2010 10:34 pm
by Julio Jerez » Thu Jun 24, 2010 2:23 pm
the demo is build with VS2003 but it should just open in VS2008.
you need to set an enviroment variable to the Netwon SDK. and it should work
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Julio Jerez » Thu Jun 24, 2010 2:32 pm
first think you should try is running the compiled demos that comes with the Tutorial, they are in the folder: /bin/x32/*.exe
if that works, then open the project with your version of Visual stidio and set the Enviroment Variable to the Newton SDK, make sure the debug path points to the /bin/x32/*.exe
sometime VS losses the path to the debug folder when converting from an older to a newer version.
if that happen they the demo will crash searching for assets in the wrong directory.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by marcio89 » Thu Jun 24, 2010 4:20 pm
Ok, I did it ! Tks so much !
P.S: I'll be back with more questions. Hehehehehe. Tks a lot man !
-
marcio89
-
- Posts: 8
- Joined: Wed Jun 23, 2010 10:34 pm
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 0 guests