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::vector<double, 
>> std::allocator<double> >&)':
>> 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::vector<double, std::allocator<double> >&)':
>> 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 `void 
>> HuginBase::SrcPanoImage::setRadialDistortionBlue(const 
>> std::vector<double, std::allocator<double> >&)':
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:187:
>>  
>> 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:187:
>>  
>> error: `wxString' was not declared in this scope
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:187:
>>  
>> 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::setRadialVigCorrCoeff(const std::vector<double, 
>> std::allocator<double> >&)':
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:222:
>>  
>> 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:222:
>>  
>> error: `wxString' was not declared in this scope
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/SrcPanoImage.h:222:
>>  
>> error: `wxLogFatalError' was not declared in this scope
>> In file included 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/Panorama.h: In 
>> member function `virtual bool HuginBase::Panorama::isDirty() const':
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/Panorama.h:589: 
>> error: `wxConvISO8859_1' was not declared in this scope
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/Panorama.h:589: 
>> error: `wxString' was not declared in this scope
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/panodata/Panorama.h:589: 
>> error: `wxLogWarning' was not declared in this scope
>> In file included 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/hugin1/PT/Panorama.h: In member 
>> function `virtual void 
>> PT::PanoramaObserver::panoramaChanged(HuginBase::PanoramaData&)':
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/Panorama.h:180: error: 
>> `wxConvISO8859_1' was not declared in this scope
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/Panorama.h:180: error: 
>> `wxString' was not declared in this scope
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/Panorama.h:180: error: 
>> `wxLogWarning' was not declared in this scope
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/Panorama.h: In member 
>> function `virtual void 
>> PT::PanoramaObserver::panoramaImagesChanged(HuginBase::PanoramaData&, 
>> const HuginBase::UIntSet&)':
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/Panorama.h:192: error: 
>> `wxConvISO8859_1' was not declared in this scope
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/Panorama.h:192: error: 
>> `wxString' was not declared in this scope
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/Panorama.h:192: error: 
>> `wxLogWarning' was not declared in this scope
>> In file included from 
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/PanoCommand.h:28,
>>                  from 
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/panoinc.h:80,
>>                  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/huginapp/PanoCommand.h: 
>> In member function `virtual void 
>> HuginBase::PanoCommand<StringType>::undo()':
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/huginapp/PanoCommand.h:124: 
>> 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/panoinc.h:80,
>>                  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/hugin1/PT/PanoCommand.h: In member 
>> function `virtual bool 
>> PT::LoadPTProjectCmd::processPanorama(PT::Panorama&)':
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/PanoCommand.h:1240: 
>> error: `wxConvISO8859_1' was not declared in this scope
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/PanoCommand.h:1240: 
>> error: `wxString' was not declared in this scope
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/PanoCommand.h:1240: 
>> error: `wxLogError' 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*) [with Map = HuginBase::LensVarMap]':
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/PT/PanoCommand.h:1291:   
>> instantiated from here
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/hugin_utils/stl_utils.h:132:
>>  
>> error: expected primary-expression
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/huginapp/PanoCommand.h: 
>> In member function `void HuginBase::PanoCommand<StringType>::undo() 
>> [with StringType = std::string]':
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin1/base_wx/PTWXDlg.cpp:207:   
>> instantiated from here
>> c:/msys/1.0/home/keby/hugin-0.7.0/src/hugin_base/huginapp/PanoCommand.h:124: 
>> error: expected primary-expression
>> make[2]: *** [src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/PTWXDlg.obj] 
>> Error 1
>> make[1]: *** [src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/all] Error 2
>> make: *** [all] Error 2
>>
>>
>>     
>
>
> >
>
>
>   


--~--~---------~--~----~------------~-------~--~----~
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 hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Reply via email to