Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-08-2013, 06:53   #1
Registered User

Join Date: Aug 2013
Posts: 3
Opencpn 3.2 Installation problem openSUSE

Hello, I am Antonio
I have a problem with the installation on Linux openSUSE 12.3 in the OpenCPN. I have downloaded and run the operations below:

git clone-b master https://github.com/OpenCPN/OpenCPN.git
mkdir build
cd build
cmake .. /

result of cmake below:

-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- *** Build Architecture is x86_64
-- *** Staging to build opencpn 3.3.721 ***
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so
-- Found OpenGL...
-- Lib: /usr/lib64/libGLU.so/usr/lib64/libGL.so/usr/lib64/libSM.so/usr/lib64/libICE.so/usr/lib64/libX11.so/usr/lib64/libXext.so
-- Include: /usr/include
-- Found wxWidgets: TRUE
-- Found wxWidgets...
-- -L/usr/local/lib64;-pthread;;;-lwx_baseu-2.9;-lwx_gtk2u_core-2.9;-lwx_baseu_net-2.9;-lwx_baseu_xml-2.9;-lwx_gtk2u_html-2.9;-lwx_gtk2u_adv-2.9;-lwx_gtk2u_aui-2.9;-lwx_gtk2u_gl-2.9
--
-- *** Staging to build opencpn ***
-- *** Will install to /usr/local ***
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.4.11")
-- Found GTK2_GTK: /usr/lib64/libgtk-x11-2.0.so
-- Found GTK2
-- Portaudio Not Found...
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.1")
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
-- Found TinyXML: /usr/include
-- Building with tinyxml includes
-- S57 ENC support: enabled
-- Garmin Host Mode support: enabled
--
-- *** Staging to build PlugIns ***
--
-- *** Staging to build dashboard_pi ***
-- *** Staging to build grib_pi ***
-- Writing spec file...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sist01/Downloads/OpenCPN/build

make


Scanning dependencies of target GARMINHOST
[ 0%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsapp.c.o
[ 0%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpscom.c.o
[ 0%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmath.c.o
[ 1%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmem.c.o
[ 1%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsprot.c.o
[ 1%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsread.c.o
[ 1%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice.c.o
[ 2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_ser.c.o
[ 2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_usb.c.o
[ 2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsrqst.c.o
[ 3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpssend.c.o
[ 3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsserial.c.o
[ 3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsutil.c.o
[ 3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbread.c.o
[ 5%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbsend.c.o
[ 5%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbcommon.c.o
[ 5%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper_utils.c.o
[ 5%] Building CXX object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o
Linking CXX static library libGARMINHOST.a
[ 5%] Built target GARMINHOST
Scanning dependencies of target NMEA0183
[ 6%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/latlong.cpp.o
[ 6%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/long.cpp.o
[ 6%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/nmea0183.cpp.o
[ 7%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/response.cpp.o
[ 7%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rmb.cpp.o
[ 7%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/sentence.cpp.o
[ 7%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/talkerid.cpp.o
[ 8%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rmc.cpp.o
[ 8%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hexvalue.cpp.o
[ 8%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/lat.cpp.o
[ 8%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/expid.cpp.o
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/wpl.cpp.o
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rte.cpp.o
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdt.cpp.o
[ 11%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdg.cpp.o
[ 11%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdm.cpp.o
[ 11%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gll.cpp.o
[ 11%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/vtg.cpp.o
[ 12%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gga.cpp.o
[ 12%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gsv.cpp.o
[ 12%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/GPwpl.cpp.o
[ 12%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/apb.cpp.o
Linking CXX static library libNMEA0183.a
[ 12%] Built target NMEA0183
Scanning dependencies of target S57ENC
[ 13%] Building CXX object CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o
[ 13%] Building CXX object CMakeFiles/S57ENC.dir/src/s52plib.cpp.o
[ 13%] Building CXX object CMakeFiles/S57ENC.dir/src/s52utils.cpp.o
[ 15%] Building CXX object CMakeFiles/S57ENC.dir/src/s57chart.cpp.o
/home/sist01/Downloads/OpenCPN/src/s57chart.cpp: In member function ‘void s57chart::CreateSENCRecord(OGRFeature*, FILE*, int, S57Reader*)’:
/home/sist01/Downloads/OpenCPN/src/s57chart.cpp:4838:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
[ 15%] Building CXX object CMakeFiles/S57ENC.dir/src/cm93.cpp.o
[ 15%] Building CXX object CMakeFiles/S57ENC.dir/src/mygeom.cpp.o
[ 15%] Building C object CMakeFiles/S57ENC.dir/src/tri.c.o
[ 16%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddffielddefn.cpp.o
[ 16%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddfmodule.cpp.o
[ 16%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddfrecord.cpp.o
[ 16%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddfsubfielddefn.cpp.o
[ 17%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddffield.cpp.o
[ 17%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddfutils.cpp.o
[ 17%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ddfrecordindex.cpp.o
[ 18%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_conv.cpp.o
[ 18%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_csv.cpp.o
[ 18%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_error.cpp.o
[ 18%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_findfile.cpp.o
[ 20%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_minixml.cpp.o
[ 20%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_path.cpp.o
[ 20%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_string.cpp.o
[ 20%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_vsisimple.cpp.o
[ 21%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cplgetsymbol.cpp.o
[ 21%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ograssemblepolygon.cpp.o
[ 21%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrcurve.cpp.o
[ 22%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrfeature.cpp.o
[ 22%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrfeaturedefn.cpp.o
[ 22%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrfielddefn.cpp.o
[ 22%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrgeometry.cpp.o
[ 23%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrgeometrycollection.cpp.o
[ 23%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrgeometryfactory.cpp.o
[ 23%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrlinearring.cpp.o
[ 25%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrlinestring.cpp.o
[ 25%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrmultilinestring.cpp.o
[ 25%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrmultipoint.cpp.o
[ 25%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrmultipolygon.cpp.o
[ 26%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrpoint.cpp.o
[ 26%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrpolygon.cpp.o
[ 26%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrs57datasource.cpp.o
[ 26%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrlayer.cpp.o
[ 27%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrs57layer.cpp.o
[ 27%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrutils.cpp.o
[ 27%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/s57classregistrar.cpp.o
[ 28%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/s57featuredefns.cpp.o
[ 28%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/s57reader.cpp.o
[ 28%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/gdal_misc.cpp.o
Linking CXX static library libS57ENC.a
[ 28%] Built target S57ENC
Scanning dependencies of target i18n
[ 28%] i18n [opencpn_ca_ES]: Created mo file.
[ 28%] i18n [opencpn_cs_CZ]: Created mo file.
[ 28%] i18n [opencpn_da_DK]: Created mo file.
[ 28%] i18n [opencpn_de_DE]: Created mo file.
[ 30%] i18n [opencpn_es_ES]: Created mo file.
[ 30%] i18n [opencpn_fr_FR]: Created mo file.
[ 30%] i18n [opencpn_it_IT]: Created mo file.
[ 31%] i18n [opencpn_nl_NL]: Created mo file.
[ 31%] i18n [opencpn_pl_PL]: Created mo file.
[ 31%] i18n [opencpn_ru_RU]: Created mo file.
[ 31%] i18n [opencpn_sv_SE]: Created mo file.
[ 32%] i18n [opencpn_et_ET]: Created mo file.
[ 32%] i18n [opencpn_pt_PT]: Created mo file.
[ 32%] i18n [opencpn_pt_BR]: Created mo file.
[ 32%] i18n [opencpn_nb_NO]: Created mo file.
[ 33%] i18n [opencpn_tr_TR]: Created mo file.
[ 33%] i18n [opencpn_fi_FI]: Created mo file.
[ 33%] i18n [opencpn_el_GR]: Created mo file.
[ 35%] i18n [opencpn_zh_TW]: Created mo file.
[ 35%] i18n [opencpn_hu_HU]: Created mo file.
[ 35%] i18n [opencpn_gl_ES]: Created mo file.
[ 36%] i18n: Done.
[ 36%] Built target i18n
Scanning dependencies of target opencpn
[ 37%] Building CXX object CMakeFiles/opencpn.dir/src/chart1.cpp.o
/home/sist01/Downloads/OpenCPN/src/chart1.cpp: In member function ‘virtual bool MyApp::OnInit()’:
/home/sist01/Downloads/OpenCPN/src/chart1.cpp:1279:96: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
/home/sist01/Downloads/OpenCPN/src/chart1.cpp: In member function ‘void MyFrame::OnFrameTimer1(wxTimerEvent&)’:
/home/sist01/Downloads/OpenCPN/src/chart1.cpp:4778:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
/home/sist01/Downloads/OpenCPN/src/chart1.cpp:4788:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
/home/sist01/Downloads/OpenCPN/src/chart1.cpp:4797:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
/home/sist01/Downloads/OpenCPN/src/chart1.cpp:4805:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
/home/sist01/Downloads/OpenCPN/src/chart1.cpp:4813:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
[ 37%] Building CXX object CMakeFiles/opencpn.dir/src/bbox.cpp.o
[ 37%] Building CXX object CMakeFiles/opencpn.dir/src/ocpn_pixel.cpp.o
[ 37%] Building CXX object CMakeFiles/opencpn.dir/src/ocpndc.cpp.o
[ 38%] Building CXX object CMakeFiles/opencpn.dir/src/chartdb.cpp.o
[ 38%] Building CXX object CMakeFiles/opencpn.dir/src/chartdbs.cpp.o
/home/sist01/Downloads/OpenCPN/src/chartdbs.cpp: In member function ‘bool ChartDatabase::Read(const wxString&)’:
/home/sist01/Downloads/OpenCPN/src/chartdbs.cpp:770:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
[ 38%] Building CXX object CMakeFiles/opencpn.dir/src/chartimg.cpp.o
[ 40%] Building CXX object CMakeFiles/opencpn.dir/src/chcanv.cpp.o
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp: In member function ‘bool ChartCanvas::CheckEdgePan(int, int, bool)’:
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp:4981:29: warning: ‘bool wxMouseState::LeftDown() const’ is deprecated (declared at /usr/local/include/wx-2.9/wx/mousestate.h:130) [-Wdeprecated-declarations]
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp: In member function ‘void ChartCanvas::CanvasPopupMenu(int, int, int)’:
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp:6316:79: warning: ‘wxString wxMenuItemBase::GetLabel() const’ is deprecated (declared at /usr/local/include/wx-2.9/wx/menuitem.h:183) [-Wdeprecated-declarations]
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp: In member function ‘void ChartCanvas::OnPaint(wxPaintEvent&)’:
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp:8274:49: warning: ‘void wxDC::SetClippingRegion(const wxRegion&)’ is deprecated (declared at /usr/local/include/wx-2.9/wx/dc.h:997) [-Wdeprecated-declarations]
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp:8367:46: warning: ‘void wxDC::SetClippingRegion(const wxRegion&)’ is deprecated (declared at /usr/local/include/wx-2.9/wx/dc.h:997) [-Wdeprecated-declarations]
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp: In function ‘int InitScreenBrightness()’:
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp:10033:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp: In function ‘void DimeControl(wxWindow*, wxColour, wxColour, wxColour, wxColour, wxColour, wxColour, wxColour)’:
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp:10411:47: error: ‘class wxBitmapComboBox’ has no member named ‘GetTextCtrl’
/home/sist01/Downloads/OpenCPN/src/chcanv.cpp:10412:46: error: ‘class wxBitmapComboBox’ has no member named ‘GetTextCtrl’
make[2]: *** [CMakeFiles/opencpn.dir/src/chcanv.cpp.o] Error 1
make[1]: *** [CMakeFiles/opencpn.dir/all] Error 2
make: *** [all] Error 2

Can anyone help me. thanks.
__________________

__________________
Bolina48 is offline   Reply With Quote
Old 05-08-2013, 07:42   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: Opencpn 3.2 Installation problem openSUSE

Bolina48....

We currently use wxWidgets 2.8 for linux builds. I suggest you try that first.

The error in your log definitely relates to a 2.8/2.9 difference.

Good Luck
Dave
__________________

__________________
bdbcat is online now   Reply With Quote
Old 06-08-2013, 02:05   #3
Registered User

Join Date: Aug 2013
Posts: 3
Re: Opencpn 3.2 Installation problem openSUSE

Hello Dave
thanks for your response.
I uninstalled the version 2.95 of wxWidgest and installed the version 2.8.12 but unfortunately I had no luck.
Maybe I do something wrong?
under the RESULT OF THE cmake and make of OpenCPN.

Thank you for your help.

cmake .. /

- *** Build Architecture is x86_64
- *** Staging to build 3.3.721 opencpn ***
- Looking for XOpenDisplay in / usr/lib64/libX11.so ;/ usr/lib64/libXext.so
- Looking for XOpenDisplay in / usr/lib64/libX11.so ;/ usr/lib64/libXext.so - found
- Looking for gethostbyname
- Looking for gethostbyname - found
- Looking for connect
- Looking for connect - found
- Looking for remove
- Looking for remove - found
- Looking for shmat
- Looking for shmat - found
- Looking for IceConnectionNumber in ICE
- Looking for IceConnectionNumber in ICE - found
- Found X11: / usr/lib64/libX11.so
- Found OpenGL: / usr/lib64/libGL.so
- Found OpenGL ...
- Lib:
- Includes: / usr / include
- Found wxWidgets: TRUE
- Found wxWidgets ...
-
-
- Staging to build opencpn *** ***
- *** Will install to / usr / local ***
- Found Freetype: / usr/lib64/libfreetype.so (found version "2.4.11")
- Found GTK2_GTK: / usr/lib64/libgtk-x11-2.0.so
- Found GTK2
- Not Found Portaudio ...
- Found Gettext: / usr / bin / msgmerge (found version "0.18.1")
- Found BZip2: / usr/lib64/libbz2.so (found version "1.0.6")
- Looking for BZ2_bzCompressInit in / usr/lib64/libbz2.so
- Looking for BZ2_bzCompressInit in / usr/lib64/libbz2.so - found
- Found ZLIB: / usr/lib64/libz.so (found version "1.2.7")
- Found TinyXML: / usr / include
- Building with TinyXML includes
- S57 ENC support: enabled
- Garmin Host Mode support: enabled
-
- Staging to build PlugIns *** ***
-
- Staging to build dashboard_pi *** ***
- Staging to build grib_pi *** ***
- Writing spec file ...
- Configuring done
- Generating done
- Build files written to Have Been: / home/sist01/Downloads/OpenCPN/build


lcnltest :/ # make home/sist01/Downloads/OpenCPN/build
Scanning dependencies of target GARMINHOST
[0%] Building CXX object CMakeFiles / GARMINHOST.dir / src / garmin / jeeps / garmin_wrapper.cpp.o
In file included from / home/sist01/Downloads/OpenCPN/include/chcanv.h: 49:0,
from / home/sist01/Downloads/OpenCPN/include/navutil.h: 46,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.h: 32,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.cpp: 22:
/ Home/sist01/Downloads/OpenCPN/include/glChartCanvas.h: 39:30: error: invalid use of incomplete type 'class wxGLCanvas'
In file included from / home/sist01/Downloads/OpenCPN/include/chcanv.h: 39:0,
from / home/sist01/Downloads/OpenCPN/include/navutil.h: 46,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.h: 32,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.cpp: 22:
/ Home/sist01/Downloads/OpenCPN/include/ocpndc.h: 54:7: error: forward declaration of 'class wxGLCanvas'
In file included from / home/sist01/Downloads/OpenCPN/include/chcanv.h: 49:0,
from / home/sist01/Downloads/OpenCPN/include/navutil.h: 46,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.h: 32,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.cpp: 22:
/ Home/sist01/Downloads/OpenCPN/include/glChartCanvas.h: 46:23: error: 'wxGLContext' has not declared Been
/ Home/sist01/Downloads/OpenCPN/include/glChartCanvas.h: 69:7: error: 'wxGLContext' does not name a type
/ Home/sist01/Downloads/OpenCPN/include/glChartCanvas.h: 103:7: error: 'GLuint' does not name a type
/ Home/sist01/Downloads/OpenCPN/include/glChartCanvas.h: 104:7: error: 'GLuint' does not name a type
/ Home/sist01/Downloads/OpenCPN/include/glChartCanvas.h: 106:7: error: 'GLenum' does not name a type
/ Home/sist01/Downloads/OpenCPN/include/glChartCanvas.h: 107:7: error: 'GLuint' does not name a type
/ Home/sist01/Downloads/OpenCPN/include/glChartCanvas.h: 108:7: error: 'GLuint' does not name a type
/ Home/sist01/Downloads/OpenCPN/include/glChartCanvas.h: In member function 'void glChartCanvas :: SetContext (int *)':
/ Home/sist01/Downloads/OpenCPN/include/glChartCanvas.h: 46:48: error: 'm_pcontext' was not declared in this scope
In file included from / home/sist01/Downloads/OpenCPN/include/navutil.h: 46:0,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.h: 32,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.cpp: 22:
/ Home/sist01/Downloads/OpenCPN/include/chcanv.h: At global scope:
/ Home/sist01/Downloads/OpenCPN/include/chcanv.h: 534:7: error: 'wxGLContext' does not name a type
In file included from / home/sist01/Downloads/OpenCPN/include/chartdbs.h: 37:0,
from / home/sist01/Downloads/OpenCPN/include/navutil.h: 49,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.h: 32,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.cpp: 22:
/ Home/sist01/Downloads/OpenCPN/include/chartbase.h: 174:47: error: 'wxGLContext' does not name a type
/ Home/sist01/Downloads/OpenCPN/include/chartbase.h: 174:60: error: ISO C + + forbids declaration of 'GLC' with no type [-fpermissive]
In file included from / home/sist01/Downloads/OpenCPN/include/chartdbs.h: 37:0,
from / home/sist01/Downloads/OpenCPN/include/navutil.h: 49,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.h: 32,
from / home/sist01/Downloads/OpenCPN/src/garmin/jeeps/garmin_wrapper.cpp: 22:
/ Home/sist01/Downloads/OpenCPN/include/chartbase.h: 276:47: error: 'wxGLContext' does not name a type
/ Home/sist01/Downloads/OpenCPN/include/chartbase.h: 276:60: error: ISO C + + forbids declaration of 'GLC' with no type [-fpermissive]
/ Home/sist01/Downloads/OpenCPN/include/chartbase.h: 325:53: error: 'wxGLContext' does not name a type
/ Home/sist01/Downloads/OpenCPN/include/chartbase.h: 325:66: error: ISO C + + forbids declaration of 'GLC' with no type [-fpermissive]
make [2]: *** [CMakeFiles / GARMINHOST.dir / src / garmin / jeeps / garmin_wrapper.cpp.o] Error 1
make [1]: *** [CMakeFiles / GARMINHOST.dir / all] Error 2
make: *** [all] Error 2
__________________
Bolina48 is offline   Reply With Quote
Old 06-08-2013, 10:17   #4
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: Opencpn 3.2 Installation problem openSUSE

Bolina48...

Where did the wxWidgets 2.8 come from? It appears to not be built with OpenGL support enabled....

Code:
/ Home/sist01/Downloads/OpenCPN/include/glChartCanvas.h: 39:30: error: invalid use of incomplete type 'class wxGLCanvas'
Dave
__________________
bdbcat is online now   Reply With Quote
Old 07-08-2013, 03:46   #5
Registered User

Join Date: Aug 2013
Posts: 3
Re: Opencpn 3.2 Installation problem openSUSE

hello Dave
I managed to install opencpn 3.2. I used the packet manager opensuse YAST after adding the repository of opencpn. Everything was simple using yast. We now feature everything well. I used the CM93 cards that use the same Windows environment simply by copying them into the Linux environment.
I'm sorry but I did not realize that there was a repository for openSUSE. Thank you very much for your time.
Regards Antonio
__________________
Bolina48 is offline   Reply With Quote
Reply

Tags
enc, installation, opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 09:14.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.