Beginner problem - unable to compile Hello World example

Something weird is going on with your project. I compared all files to mine and the library import is in different places. Gogg or me should send you a working vc++ project. Will do that when I have time tonight

Hi again.
I took a fresh look at your project.

look at all the libraries you use, is this your intention ?:
libconverter.lib
libcvscopy.lib
libdaeegg.lib
libdxf.lib
libdxfegg.lib
libpalettizer.lib
libeggbase.lib
libeggcharbase.lib
libflt.lib
libfltegg.lib
libimagebase.lib
liblwo.lib
liblwoegg.lib
libmaya2008.lib
libmaya2009.lib
libmaya6.lib
libmaya65.lib
libmaya7.lib
libmaya8.lib
libmaya85.lib
libmayaegg2008.lib
libmayaegg2009.lib
libmayaegg6.lib
libmayaegg65.lib
libmayaegg7.lib
libmayaegg8.lib
libmayaegg85.lib
libp3direct.lib
libp3dtool.lib
libp3dtoolconfig.lib
libp3fmod_audio.lib
libp3framework.lib
libp3glstuff.lib
libp3heapq.lib
libp3mayaloader2008.lib
libp3mayaloader6.lib
libp3mayaloader65.lib
libp3mayaloader7.lib
libp3mayaloader8.lib
libp3mayaloader85.lib
libp3openal_audio.lib
libp3ptloader.lib
libp3pystub.lib
libp3vision.lib
libp3windisplay.lib
libpanda.lib
libpandaai.lib
libpandadx8.lib
libpandadx9.lib
libpandaegg.lib
libpandaexpress.lib
libpandafx.lib
libpandagl.lib
libpandaode.lib
libpandaphysics.lib
libpandaphysx.lib
libpandaskel.lib
libpandatoolbase.lib
libprogbase.lib
libpstatserver.lib
libpvrml.lib
libtinydisplay.lib
libvrmlegg.lib
libxfile.lib
libxfileegg.lib

Doesn’t seem right to me.

I’ll make you a simple vc project you can use.

Er, actually, you should always compile in Release mode when you build with the Panda libraries as provided on this site, because they are also built in Release mode, and you can mix-and-match Release and Debug builds in the same C++ project.

David

My mistake ! I see I’m tired :wink:
I’ll edit it all. How could I mix that up. need vacation…
Thanks for pointing that out.

Err, “and you can mix-and-match” should be “can’t”, right ? confusing material.

Er, right, sorry. That should have been “can’t”. What a silly language is English, that such a simple typo can invert the whole sense of a sentence. :stuck_out_tongue:

David

indeed :laughing:

Bouke, I have PM’ed you the link to my default project.
Cheers.

Thanks guys i’m going to check the project now, I didnt always have all of those librarys included, but I decided to try and include all of them just in case one was missing in the tutorial.

#edit

I tried to run your default setup, but it says it cant open any of the files found in the solutions explorer and when I try to run it i get cant open Python25.lib Is there something I have to include in the actual panda library folder?

The project I gave you is for 1.6.2
If I remember correctly, Python25.dll is included in 1.7, so my guess is that you still have 1.7 installed.
Check your system path;
open a command prompt (cmd) and type:
path

Should give paths to Panda and Panda’s Python folder.
If not, change it back.

(Start->Settings->Control panel
->System->[Advanced]->Environment Variables->

At System variables, choose Variable ‘Path’ and click edit.

It should look something like
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Panda3D-1.6.2\python;C:\Panda3D-1.6.2\bin

Edit the line (also remove links to 1.7) and hit [OK]
You might need to reboot after that.
Good luck.

Hmm. I also made you a new project. Some information I tried to delete, remains in it. Just redownload the project ( same link).

XD it works thank you so much for this. I’m not the programmer so I am extremely new at this sort of thing i’m the art guy. I was just looking around for a 3ds max friendly game engine and wanted to get it all working before I handed it off to the programmer. Thanks :smiley:

You’re welcome :wink: