I’m trying to build the latest CVS with MSVC9 on Win x64 as a suite of static libs using LINK_ALL_STATIC=True. The build fails on both x86 and x64 with the output:
[ 10%] Linking executable built/bin/interrogate.exe
libp3dtool.lib(dtoolutil_composite.obj) : error LNK2019: unresolved external sym
bol __imp_SHGetSpecialFolderPathA referenced in function "public: static class F
ilename const & __cdecl Filename::get_home_directory(void)" (?get_home_directory
@Filename@@SAAEBV1@XZ)
built/bin/interrogate.exe : fatal error LNK1120: 1 unresolved externals
On another note, i’ve tried to build the maya 2010 plugin (bulding panda normally as dlls using makepanda.bat --everything). Everything gets built but the maya plugin.
I added support for it to makepanda when I added support for the runtime builds.
I didn’t know it shouldn’t have BUILDING_XYZ defined, I thought LINK_ALL_STATIC would take care of that. (I couldn’t find anything in ppremake that undefined it. TBH, it works for me like this.)
In this particular case, it’s just that interrogate.exe needs to be linked to shell32.dll. Interrogate is not compiled in the case of the runtime so that’s why I didn’t catch this before. I’ve just checked in a fix.