Re: [hugin-ptx] Clean-up of the mess related to Windows specific preprocessor macros

2015-09-15 Thread Stefan Peter
Hi Jan On 15.09.2015 21:37, Jan Dubiec wrote: .. > I got a few linker errors similar to this one: > CMakeFiles/hugin.dir/objects.a(CPImagesComboBox.cpp.obj):CPImagesComboBox.cpp:(. > rdata$_ZTV17wxWindowWithItemsI11wxComboCtrl15wxItemContainerE[__ZTV17wxWindowWit > hItemsI11wxComboCtrl15wxItemCon

Re: [hugin-ptx] Clean-up of the mess related to Windows specific preprocessor macros

2015-09-15 Thread Jan Dubiec
On 2015-09-15 21:16, Stefan Peter wrote: > Dear idx > On 15.09.2015 16:22, jdx wrote: >> Hello, >> >> I am trying to build Hugin using MinGW-W64 > > Did you succeed? Not yet. I got a few linker errors similar to this one: CMakeFiles/hugin.dir/objects.a(CPImagesComboBox.cpp.obj):CPImagesComboBox.cp

Re: [hugin-ptx] Clean-up of the mess related to Windows specific preprocessor macros

2015-09-15 Thread Stefan Peter
Dear idx On 15.09.2015 16:22, jdx wrote: > Hello, > > I am trying to build Hugin using MinGW-W64 Did you succeed? I'm maintaining the nightly hugin builds over at https://launchpad.net/~hugin/+archive/ubuntu/nightly and, given the fact that I do not own a private, still supported windows license

[hugin-ptx] Clean-up of the mess related to Windows specific preprocessor macros

2015-09-15 Thread jdx
Hello, I am trying to build Hugin using MinGW-W64 and the attached patch is by-product of my work. Summary: * use _WIN32 instead of WIN32, _WINDOWS and __WINDOWS__ as it is "more portable" (see http://stackoverflow.com/questions/662084/whats-the-difference-between-the-win32-and-win32-defines-i