← Back to team overview

hugin-devs team mailing list archive

[Bug 811864] Re: PTBatcherGUI annoying window handling

 

Yuval

I think the following changeset is breaking the compile of PTBatcher?
Changeset: 5427 (04e6287fb38a) * add option to PTBatcherGUI to quit application at the end of the batch

On Windows, with wxWidget 2.8.11 and Visual Studio 2009 I get the
following compiler time error:

36>Linking...
36>Batch.obj : error LNK2019: unresolved external symbol "class PTBatcherGUI & __cdecl wxGetApp(void)" (?wxGetApp@@YAAAVPTBatcherGUI@@XZ) referenced in function "public: void __thiscall Batch::OnProcessTerminate(class wxProcessEvent &)" (?OnProcessTerminate@Batch@@QAEXAAVwxProcessEvent@@@Z)
36>C:\HuginSDKLatest\builds\src\hugin1\ptbatcher\Release\PTBatcher.exe : fatal error LNK1120: 1 unresolved externals
36>Build log was saved at "file://c:\HuginSDKLatest\builds\src\hugin1\ptbatcher\PTBatcher.dir\Release\BuildLog.htm"

In short Batch.cpp is used in both PTBatcher and PTBatcherGUI but
wxGetApp() is only defined in the GUI project.

I assume this just needs to be conditionised out, but I can't immedaite
see an appropaite way to.

Regards
Stephen

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/811864

Title:
  PTBatcherGUI annoying window handling

Status in Hugin - Panorama Tools GUI:
  In Progress

Bug description:
  With 2011.2.0 the old <Stich Now!> is gone, I am using PTBatcherGUI
  instead.

  The window handling is very annoying. The main autobatcher window and
  the progress window are automatically if switch to another virtual
  desktop and back again.

  It would also be very nice if closing the hugin apllication would
  close (the not manually started) PTBatcherGUI instance, too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/811864/+subscriptions


References