Newton and Visual studio 2005

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Newton and Visual studio 2005

Postby osknoes » Mon Sep 29, 2008 1:10 pm

Hi!

I'm new in Newton and I'm gonna develop a little car racing game (another one,
I know...).
Yesterday I tried to build (compile,...) the samples included in the Newton SDK
with Visual Studio 2005, but I can't get those working.
I search a little for something like a tutorial or a guide tour but I didn't
find anything, maybe was so late in the night ...

Some helpful info will be really appreciated!

Thanks for your time in advance!
osknoes
 
Posts: 4
Joined: Mon Sep 29, 2008 11:06 am

Re: Newton and Visual studio 2005

Postby Aphex » Mon Sep 29, 2008 5:33 pm

What errors are you getting?
Aphex
 
Posts: 144
Joined: Fri Jun 18, 2004 6:08 am
Location: UK

Re: Newton and Visual studio 2005

Postby osknoes » Mon Sep 29, 2008 6:32 pm

I tired in tow different computers.
In the first some errors within the compile process, like the libs are not included. Maybe I have to check more acurately and then i will tell you,
but in other computer I can compile without problems , but when i tried to run the vehicle sample, it started but just after a second it crash because there are smoe code error,.. I don't know exactly
osknoes
 
Posts: 4
Joined: Mon Sep 29, 2008 11:06 am

Re: Newton and Visual studio 2005

Postby jay3d » Tue Sep 30, 2008 9:18 am

osknoes wrote:Hi!

I'm new in Newton and I'm gonna develop a little car racing game (another one,
I know...).
Yesterday I tried to build (compile,...) the samples included in the Newton SDK
with Visual Studio 2005, but I can't get those working.
I search a little for something like a tutorial or a guide tour but I didn't
find anything, maybe was so late in the night ...

Some helpful info will be really appreciated!

Thanks for your time in advance!


Yeah it would be great if Julio added some 2005 sln file, i facing the same thing cuz the 3D application SDK i'm developing for comes with 2005 sln only

Thanks!
jay3d
 
Posts: 33
Joined: Sun Jul 13, 2008 11:51 am

Re: Newton and Visual studio 2005

Postby Julio Jerez » Tue Sep 30, 2008 9:38 am

you can just re open the 2003 project with VS2005. It should be converted withot any problems.
Also the 2003 libraries binarye are tranbparent, they will link even in GCC.
In fact I every time I create a project I use VS 2003 and then re open it with 2005 and 2008 to get it converted.

I can not release a 2005 project because I do not have a licence for VS2005, I only have a 2003 and 2008 licenses.
and given the animosoty aut ther agaisn Newton and me perosnally I can not take any chances using any product.
Julio Jerez
Moderator
Moderator
 
Posts: 11155
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton and Visual studio 2005

Postby jay3d » Tue Sep 30, 2008 3:25 pm

Thanks Julio I appreciate those information about 2003 project :D
jay3d
 
Posts: 33
Joined: Sun Jul 13, 2008 11:51 am

Re: Newton and Visual studio 2005

Postby osknoes » Tue Sep 30, 2008 3:33 pm

Thansk for all the info, but maybe its and old question...

But when I try to run the Vehicle sample I get this error:

Image

I get the same error in all the lines with this macro call (_ASSERTE)

Some ideas...
osknoes
 
Posts: 4
Joined: Mon Sep 29, 2008 11:06 am

Re: Newton and Visual studio 2005

Postby Andre » Sat Oct 04, 2008 4:37 pm

I have a problem : i installed Newton on Visual studio 2005 and i can't execute the demos it says application for reading only I'm kind of new at this anyone has an answer?

By the way i included the include and dll files in Visual studio.
Andre
 
Posts: 1
Joined: Sat Oct 04, 2008 4:11 pm

Re: Newton and Visual studio 2005

Postby Julio Jerez » Sun Oct 05, 2008 7:05 pm

to work with VS 2005 you needto use the 2003 project and libraries.

MS did not make VS2008 backwork compatible with VS2005, you can run executable if you install the redistribution but you can no develeop. This was MS choice for reasons that I do not undernstand.

BU if you use teh 2003 libraires tehy are compaitble with 2003, 2005, and 2008, in fact teh 2003 libraries even work with GCC. 2003 was the best version of VS and 2005 probably the worse.
Julio Jerez
Moderator
Moderator
 
Posts: 11155
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton and Visual studio 2005

Postby Rob » Sun Oct 05, 2008 9:41 pm

FYI, I've loaded SLN and VCPROJ files from 2008 to 2003 by changing the version number in the files from 9.0 to 7.0 (think 7.0, 7.1, 7.2 are valid, but can't recall for sure). They are text files, and can be edited in notepad. This means you should be able to load the files, and change the number 9.0 (for 2008) to 8.0 (for 2005), and I think there's just one instance of the version at the top of the files. I'd imagine that any options in newer versions would just be ignored in older ones, but not sure, all I did was compile and briefly test the compiled code from 2008 project loaded into 2003, so attempt at your own risk. If it does work, might save Julio some time in future.

I'm hoping it does work, because I have many projects to maintain and have just assumed it works cause it worked for me and a few others :).
Rob
 
Posts: 7
Joined: Tue May 23, 2006 6:28 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron