[hugin-ptx] Re: Trying to build hugin under native mingw
tennevin yves wrote: I have been trying to build hugin under native mingw, I am trying first with hugin7.0 source, since it's supposed to compile. I managed to compile the dependencies Now I am getting some errors when wxWidget is invoved in the make. getting errors like `wxConvISO8859_1' was not declared in this scope Anyone know how to fix it (or to have an idea of what is exactly the problem)? Maybe its a wxWidgets ANSI vs UNICODE build problem. Hugin should be build and linked against wxWidgets compiled with unicode support. ciao Pablo Y. tennevin / esby -- Make buildlog $ make [ 9%] Built target huginANN [ 19%] Built target huginvigraimpex [ 22%] Built target huginlevmar [ 24%] Built target huginjhead [ 24%] Built target huginlensdb [ 55%] Built target huginbase [ 55%] Built target open_file [ 56%] Built target align_image_stack [ 57%] Built target autooptimiser [ 57%] Built target fulla [ 58%] Built target nona [ 59%] Built target pto2mk [ 59%] Built target tca_correct [ 60%] Built target vig_optimize [ 62%] Built target matchpoint [ 65%] Built target hugin_hdrmerge [ 66%] Building CXX object src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/PTWXDlg.obj In file included from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/common/utils.h:27, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/panoinc.h:70, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/base_wx/PTWXDlg.cpp:28: c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/utils.h: In function `Target hugin_utils::lexical_cast(Source)': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/utils.h:233: error: `wxConvISO8859_1' was not declared in this scope In file included from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/common/stl_utils.h:36, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/panoinc.h:72, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/base_wx/PTWXDlg.cpp:28: c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h: In function `typename Map::mapped_type map_get(Map, const typename Map::key_type)': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h:95: error: `wxConvISO8859_1' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h: In function `const typename Map::mapped_type const_map_get(const Map, const typename Map::key_type)': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h:107: error: `wxConvISO8859_1' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h: In function `typename Map::mapped_type map_get(Map, const char*)': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h:120: error: `wxConvISO8859_1' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h: In function `const typename Map::mapped_type const_map_get(const Map, const char*)': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h:132: error: `wxConvISO8859_1' was not declared in this scope In file included from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/PanoramaData.h:37, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/Panorama.h:28, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/Panorama.h:27, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/panoinc.h:77, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/base_wx/PTWXDlg.cpp:28: c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h: In member function `void HuginBase::SrcPanoImage::setRadialDistortion(const std::vectordouble, std::allocatordouble )': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:170: error: `wxConvISO8859_1' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:170: error: `wxString' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:170: error: `wxLogFatalError' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h: In member function `void HuginBase::SrcPanoImage::setRadialDistortionRed(const std::vectordouble, std::allocatordouble )': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:178: error: `wxConvISO8859_1' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:178: error: `wxString' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:178: error: `wxLogFatalError' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h: In member function
[hugin-ptx] Re: Trying to build hugin under native mingw
Still getting the same error. Do I need to build msw or universal? I actually built msw with unicode. Uses that to install it; (minimal worked.) cd wxWidget* mkdir build-release cd build-release ../configure --with-msw --enable-release --enable-unicode -disable-shared --prefix=/mingw make make install cd samples/minimal make ./minimal.exe Pablo d'Angelo a écrit : tennevin yves wrote: I have been trying to build hugin under native mingw, I am trying first with hugin7.0 source, since it's supposed to compile. I managed to compile the dependencies Now I am getting some errors when wxWidget is invoved in the make. getting errors like `wxConvISO8859_1' was not declared in this scope Anyone know how to fix it (or to have an idea of what is exactly the problem)? Maybe its a wxWidgets ANSI vs UNICODE build problem. Hugin should be build and linked against wxWidgets compiled with unicode support. ciao Pablo Y. tennevin / esby -- Make buildlog $ make [ 9%] Built target huginANN [ 19%] Built target huginvigraimpex [ 22%] Built target huginlevmar [ 24%] Built target huginjhead [ 24%] Built target huginlensdb [ 55%] Built target huginbase [ 55%] Built target open_file [ 56%] Built target align_image_stack [ 57%] Built target autooptimiser [ 57%] Built target fulla [ 58%] Built target nona [ 59%] Built target pto2mk [ 59%] Built target tca_correct [ 60%] Built target vig_optimize [ 62%] Built target matchpoint [ 65%] Built target hugin_hdrmerge [ 66%] Building CXX object src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/PTWXDlg.obj In file included from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/common/utils.h:27, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/panoinc.h:70, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/base_wx/PTWXDlg.cpp:28: c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/utils.h: In function `Target hugin_utils::lexical_cast(Source)': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/utils.h:233: error: `wxConvISO8859_1' was not declared in this scope In file included from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/common/stl_utils.h:36, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/panoinc.h:72, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/base_wx/PTWXDlg.cpp:28: c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h: In function `typename Map::mapped_type map_get(Map, const typename Map::key_type)': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h:95: error: `wxConvISO8859_1' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h: In function `const typename Map::mapped_type const_map_get(const Map, const typename Map::key_type)': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h:107: error: `wxConvISO8859_1' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h: In function `typename Map::mapped_type map_get(Map, const char*)': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h:120: error: `wxConvISO8859_1' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h: In function `const typename Map::mapped_type const_map_get(const Map, const char*)': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h:132: error: `wxConvISO8859_1' was not declared in this scope In file included from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/PanoramaData.h:37, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/Panorama.h:28, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/Panorama.h:27, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/panoinc.h:77, from c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/base_wx/PTWXDlg.cpp:28: c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h: In member function `void HuginBase::SrcPanoImage::setRadialDistortion(const std::vectordouble, std::allocatordouble )': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:170: error: `wxConvISO8859_1' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:170: error: `wxString' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:170: error: `wxLogFatalError' was not declared in this scope c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h: In member function `void HuginBase::SrcPanoImage::setRadialDistortionRed(const std::vectordouble, std::allocatordouble )': c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:178: error: