When you compile the libs from source, you need to use one of the provided build-systems: makepanda, or ppremake. You can’t just compile the files, otherwise, you miss stuff like dtool_config.h.
It does look like you’re missing a lib file, but since I don’t know what you’re compiling or linking, I don’t know what file it is.
Thanks for the reply. I was trying to compile the last example of the C++ tutorial: panda3d.org/manual/index.php/U … _%28CXX%29
The first example compiled fine (the blank window).
Well, I can tell you that most of the symbols named above appear in libpanda.lib (with the exception of the interval symbols like CInterval::_type_handle, which appear in libp3direct.lib).
Are you absolutely certain you have both of those libs included? If so, maybe there’s some other problem with your compilation flags. For instance, if you have the wrong BUILDING_DLL variable defined, these values will be compiled as if they should be found locally, rather than being imported from a DLL, which will cause undefined references of this nature.
It’s also possible that you’re using the wrong version of the MSVC compiler–you have to use the same version that built the Panda lib files. I think different versions of the compiler mangled the C++ names in different ways, causing link incompatibilities of this nature (but the different compiler versions aren’t cross-compatible for other reasons too).
Nice to see you on this forum (I remember you from LE forum).
Honestly, try Panda with Python - it’s pleasure
Don’t mess with C++ unless you have something really hard to compute: Panda is definitely Python-oriented. It has native support for this language (not plug-in, not some superficial quick-and-dirty wrapper).
Hey just wanted to let you know I solved the issue with these linker errors. I was having the same problem with a test program I was trying to compile fully as C++. What it turned out to be was you need to add two preprocessor definitions on the compiler for the project. The definitions are WIN32 and WIN32_VC once added your C++ program should link properly.