I'm running Windows 7 64-bit and attempting to build a 64-bit version of Hugin. I've come across a linker error trying to build PTBatcher:
Batch.obj : error LNK2019: unresolved external symbol "class PTBatcherGUI & __cdecl wxGetApp(void)" (?wxGetApp@@YAAEAVPTBatcherGUI@@XZ) referenced in function "public: void __cdecl Batch::OnProcessTerminate(class wxProcessEvent &)" (?OnProcessTerminate@Batch@@QEAAXAEAVwxProcessEvent@@@Z) I'm trying to build changeset 5459 using Visual Studio Express 2010. I've built Hugin on this setup before, but it's been a few months, and I didn't encounter this problem then. This seems to have something to do with wxWidgets, which I'm not too familiar with. It seems Batch.obj can't find the wxGetApp() function in PTBatcherGUI. The function wxGetApp() is declared external using a macro in PTBatcherGUI.h. There seems to be a similar setup in LensCalFrame.cpp and LensCalApp.h, but they don't have a problem compiling and linking, perhaps because they're in the same project. PTBatcher and PTBatcherGUI are two different projects, maybe that has something to do with the error? So, if anyone else out there is building 64-bit versions of Hugin on Windows, let me know if you get this same error. Thanks. -Jeff -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
