Building Panda3D with OpenGL ES using Cygwin and MSVC9. Log

Hello.

Could you help me out with the following linker errors?


link /nologo /DLL  /DEBUG  /MAP /MAPINFO:EXPORTS /fixed:no /incremental:no /stack:4194304 /NODEFAULTLIB:LIBCI.LIB /NOD:MFC80.LIB /NOD:libcmtd /NOD:libc /NODEFAULTLIB:MSVCRTD.LIB /OPT:REF /NODEFAULTLIB:LIBCMT.LIB  /OUT:"Opt3-Cygwin\libframework.dll" Opt3-Cygwin/framework_framework_composite1.obj  /LIBPATH:"..\..\metalibs\panda\Opt3-Cygwin" /LIBPATH:"..\..\metalibs\pandaexpress\Opt3-Cygwin" /LIBPATH:"C:\panda3d-1.7.0\lib" /LIBPATH:"C:\Python26\libs" /LIBPATH:"C:\Python26\libs" libpanda.lib libpandaexpress.lib libdtoolconfig.lib libdtool.lib ws2_32.lib wsock32.lib
   Creating library Opt3-Cygwin\libframework.lib and object Opt3-Cygwin\libframework.exp
framework_framework_composite1.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class DisplayRegion * __thiscall GraphicsOutput::make_mono_display_region(class LVecBase4f const &)" (__imp_?make_mono_display_region@GraphicsOutput@@QAEPAVDisplayRegion@@ABVLVecBase4f@@@Z) referenced in function "public: class NodePath __thiscall WindowFramework::get_render_2d(void)" (?get_render_2d@WindowFramework@@QAE?AVNodePath@@XZ)
framework_framework_composite1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall Texture::do_unlock_and_reload_ram_image(bool)" (?do_unlock_and_reload_ram_image@Texture@@MAEX_N@Z)
framework_framework_composite1.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall Texture::do_can_reload(void)" (?do_can_reload@Texture@@MAE_NXZ)
framework_framework_composite1.obj : error LNK2001: unresolved external symbol "public: virtual class PointerTo<class TextFont> __thiscall StaticTextFont::make_copy(void)const " (?make_copy@StaticTextFont@@UBE?AV?$PointerTo@VTextFont@@@@XZ)
framework_framework_composite1.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class DisplayRegion * __thiscall GraphicsOutput::make_display_region(class LVecBase4f const &)" (__imp_?make_display_region@GraphicsOutput@@QAEPAVDisplayRegion@@ABVLVecBase4f@@@Z) referenced in function "protected: class GraphicsOutput * __thiscall WindowFramework::open_window(class WindowProperties const &,int,class GraphicsEngine *,class GraphicsPipe *,class GraphicsStateGuardian *)" (?open_window@WindowFramework@@IAEPAVGraphicsOutput@@ABVWindowProperties@@HPAVGraphicsEngine@@PAVGraphicsPipe@@PAVGraphicsStateGuardian@@@Z)
Opt3-Cygwin\libframework.dll : fatal error LNK1120: 5 unresolved externals
make[1]: *** [Opt3-Cygwin/libframework.dll] Error 96
make[1]: Leaving directory `/cygdrive/c/panda3d-1.7.0/panda/src/framework'
make: *** [framework] Error 2

colinn@colinn-PC /cygdrive/c/panda3d-1.7.0/panda
$ nm metalibs/panda/Opt3-Cygwin/libpanda.lib | grep do_unlock_and_reload_ram_image
00000000 T ?do_unlock_and_reload_ram_image@Texture@@IAEX_N@Z
00000000 I __imp_?do_unlock_and_reload_ram_image@Texture@@IAEX_N@Z

libpanda.lib is in the library list, and (in example) do_unlock_and_reload_ram_image@Texture is a symbol in that lib. So I’m guessing this is some abstract function? Any tips before I start going through the code more thoroughly?