erreur compiling 1.6.1

I’m trying to coimpile panda3D 1.6.1,
using mvc++ 2008 ( express and pro tested)

I’ get the following error

   Creating library built/lib/libp3direct.lib and object built/lib/libp3direct.exp
libdistributed_igate.obj : warning LNK4049: locally defined symbol ?Dtool_DCFile@@3UDtool_PyTypedObj
ect@@A (struct Dtool_PyTypedObject Dtool_DCFile) imported
libdistributed_igate.obj : warning LNK4049: locally defined symbol ?Dtool_DCClass@@3UDtool_PyTypedOb
ject@@A (struct Dtool_PyTypedObject Dtool_DCClass) imported
showbase_showBase.obj : error LNK2019: unresolved external symbol __imp__SystemParametersInfoA@16 re
ferenced in function "void __cdecl store_accessibility_shortcut_keys(void)" (?store_accessibility_sh
built/bin/libp3direct.dll : fatal error LNK1120: 1 unresolved externals

Does anyone have an idea where that can came from ?

delete your build directory. This error is mostlikey form you trying to compile 2 different checkouts of panda3d, VC++ screws up when you svn up, build and svn up and build again. Note GCC does not have this problem.

If it was a real error new version probably would fix it by now :wink:

Try compiling 1.6.2 this time. Treeform built the 1.6.2 source without errors.

thank for the answer.
With the 1.6.2 I do not need to recompile everything anymore ( since the dae2egg works now :slight_smile: )