Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 26-05-2012, 12:24   #1
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
chartdb.cpp issue compiling for Xoom armel

Compiling from OpenCpn-2.5.0-Source. Fails at chartdb.cpp included in pkg. and latest chartdb.cpp edited only four days ago downloaded from sourceforge.

Output:

object CMakeFiles/opencpn.dir/src/bbox.cpp.o
[ 50%] Building CXX object CMakeFiles/opencpn.dir/src/ocpn_pixel.cpp.o
[ 51%] Building CXX object CMakeFiles/opencpn.dir/src/chartdb.cpp.o
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:5:20: warning: extra tokens at end of #ifndef directive
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:7:27: warning: extra tokens at end of #include directive
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:9:22: warning: extra tokens at end of #include directive
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:11:20: warning: extra tokens at end of #include directive
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:15:16: warning: extra tokens at end of #ifdef directive
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:85: error: stray '#' in program
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:85: error: stray '#' in program
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:87:16: warning: extra tokens at end of #ifdef directive
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:271:16: warning: extra tokens at end of #ifdef directive
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:277:16: warning: extra tokens at end of #ifdef directive
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:271:1: error: unterminated #ifdef
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:87:1: error: unterminated #ifdef
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:15:1: error: unterminated #ifdef
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:5:1: error: unterminated #ifndef
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:19: error: expected initializer before '*' token
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp: In member function 'bool ChartDB::LoadBinary(wxString*, ArrayOfCDI&)':
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:55: error: a function-definition is not allowed here before '{' token
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:517: error: expected '}' at end of input
make[2]: *** [CMakeFiles/opencpn.dir/src/chartdb.cpp.o] Error 1
make[1]: *** [CMakeFiles/opencpn.dir/all] Error 2
make: *** [all] Error 2
root@Galoula-ARMEL:/home/Downloads#
__________________

__________________
armido is offline   Reply With Quote
Old 26-05-2012, 13:39   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: chartdb.cpp issue compiling for Xoom armel

armido....

Looks like a bad download.

Try again.
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 26-05-2012, 15:23   #3
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: chartdb.cpp issue compiling for Xoom armel

Dave,

Saved this page - http://opencpn.git.sourceforge.net/g...c313c03b24b440

Make output:

[ 39%] Built target S57ENC
[ 39%] i18n: Done.
[ 48%] Built target i18n
[ 50%] Building CXX object CMakeFiles/opencpn.dir/src/chartdb.cpp.o
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp: In member function 'void ChartDB::PurgeCache()':
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:176: error: 'class ChartCanvas' has no member named 'PurgeGLCanvasChartCache'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp: At global scope:
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:183: error: no 'void ChartDB::ClearCacheInUseFlags()' member function declared in class 'ChartDB'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:193: error: no 'void ChartDB::PurgeCacheUnusedCharts(bool)' member function declared in class 'ChartDB'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp: In member function 'int ChartDB::BuildChartStack(ChartStack*, float, float)':
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:317: error: 'struct ChartTableEntry' has no member named 'GetGroupArray'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:319: error: 'struct ChartTableEntry' has no member named 'GetGroupArray'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:362: error: 'GetpChartTableEntry' was not declared in this scope
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:371: error: 'struct ChartTableEntry' has no member named 'GetpFileName'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:371: error: 'struct ChartTableEntry' has no member named 'GetpFileName'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp: At global scope:
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:437: error: no 'bool ChartDB::IsChartInGroup(int, int)' member function declared in class 'ChartDB'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp: In member function 'ChartBase* ChartDB::OpenChartUsingCache(int, ChartInitFlag)':
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:732: error: 'class CacheEntry' has no member named 'b_in_use'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:746: error: 'class CacheEntry' has no member named 'b_in_use'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:810: error: 'class ChartCanvas' has no member named 'PurgeGLCanvasChartCache'
make[2]: *** [CMakeFiles/opencpn.dir/src/chartdb.cpp.o] Error 1
make[1]: *** [CMakeFiles/opencpn.dir/all] Error 2
make: *** [all] Error 2
__________________
armido is offline   Reply With Quote
Old 26-05-2012, 15:28   #4
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: chartdb.cpp issue compiling for Xoom armel

Dave,

Downloaded page from: http://opencpn.git.sourceforge.net/g...c313c03b24b440

make output:

[ 39%] Built target S57ENC
[ 39%] i18n: Done.
[ 48%] Built target i18n
[ 50%] Building CXX object CMakeFiles/opencpn.dir/src/chartdb.cpp.o
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp: In member function 'void ChartDB::PurgeCache()':
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:176: error: 'class ChartCanvas' has no member named 'PurgeGLCanvasChartCache'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp: At global scope:
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:183: error: no 'void ChartDB::ClearCacheInUseFlags()' member function declared in class 'ChartDB'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:193: error: no 'void ChartDB::PurgeCacheUnusedCharts(bool)' member function declared in class 'ChartDB'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp: In member function 'int ChartDB::BuildChartStack(ChartStack*, float, float)':
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:317: error: 'struct ChartTableEntry' has no member named 'GetGroupArray'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:319: error: 'struct ChartTableEntry' has no member named 'GetGroupArray'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:362: error: 'GetpChartTableEntry' was not declared in this scope
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:371: error: 'struct ChartTableEntry' has no member named 'GetpFileName'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:371: error: 'struct ChartTableEntry' has no member named 'GetpFileName'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp: At global scope:
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:437: error: no 'bool ChartDB::IsChartInGroup(int, int)' member function declared in class 'ChartDB'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp: In member function 'ChartBase* ChartDB::OpenChartUsingCache(int, ChartInitFlag)':
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:732: error: 'class CacheEntry' has no member named 'b_in_use'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:746: error: 'class CacheEntry' has no member named 'b_in_use'
/home/Downloads/OpenCPN-2.5.0-Source/src/chartdb.cpp:810: error: 'class ChartCanvas' has no member named 'PurgeGLCanvasChartCache'
make[2]: *** [CMakeFiles/opencpn.dir/src/chartdb.cpp.o] Error 1
make[1]: *** [CMakeFiles/opencpn.dir/all] Error 2

Thanks
Armido
make: *** [all] Error 2
__________________
armido is offline   Reply With Quote
Old 26-05-2012, 17:39   #5
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: chartdb.cpp issue compiling for Xoom armel

Armido....

The sourceforge git repo reflects the current state of the Beta program, and builds fine when fully updated. We are currently at 2..6.1723

I think you have a mixed build environment going. Some 2.5 code, some 2.6.

I recommend that you start from scratch by cloning the sourceforge git repo into a clean directory, and trying the build again.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 27-05-2012, 08:57   #6
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: chartdb.cpp issue compiling for Xoom armel

Dave,

Took your recommendation to git a fresh source download. Output:

CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbread.c.o
[ 6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbsend.c.o
[ 6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbcommon.c.o
[ 6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper_utils.c.o
[ 7%] Building CXX object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o
In file included from /home/Downloads4/opencpn/include/navutil.h:45,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.h:32,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
/home/Downloads4/opencpn/include/chcanv.h:147: error: 'GLuint' does not name a type
/home/Downloads4/opencpn/include/chcanv.h: In constructor 'emboss_data::emboss_data()':
/home/Downloads4/opencpn/include/chcanv.h:140: error: 'gltexind' was not declared in this scope
/home/Downloads4/opencpn/include/chcanv.h: At global scope:
/home/Downloads4/opencpn/include/chcanv.h:564: error: invalid use of incomplete type 'struct wxGLCanvas'
/home/Downloads4/opencpn/include/ocpndc.h:50: error: forward declaration of 'struct wxGLCanvas'
/home/Downloads4/opencpn/include/chcanv.h:622: error: 'GLuint' does not name a type
/home/Downloads4/opencpn/include/chcanv.h:623: error: 'GLuint' does not name a type
/home/Downloads4/opencpn/include/chcanv.h:625: error: 'GLenum' does not name a type
/home/Downloads4/opencpn/include/chcanv.h:626: error: 'GLuint' does not name a type
/home/Downloads4/opencpn/include/chcanv.h:627: error: 'GLuint' does not name a type
In file included from /home/Downloads4/opencpn/include/chartdbs.h:39,
from /home/Downloads4/opencpn/include/navutil.h:48,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.h:32,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
/home/Downloads4/opencpn/include/chartbase.h:177: error: ISO C++ forbids declaration of 'wxGLContext' with no type
/home/Downloads4/opencpn/include/chartbase.h:177: error: expected ',' or '...' before '&' token
In file included from /home/Downloads4/opencpn/include/chartdbs.h:39,
from /home/Downloads4/opencpn/include/navutil.h:48,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.h:32,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
/home/Downloads4/opencpn/include/chartbase.h:272: error: ISO C++ forbids declaration of 'wxGLContext' with no type
/home/Downloads4/opencpn/include/chartbase.h:272: error: expected ',' or '...' before '&' token
/home/Downloads4/opencpn/include/chartbase.h:321: error: ISO C++ forbids declaration of 'wxGLContext' with no type
/home/Downloads4/opencpn/include/chartbase.h:321: error: expected ',' or '...' before '&' token
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
root@Galoula-ARMEL:/home/Downloads4/build
__________________
armido is offline   Reply With Quote
Old 27-05-2012, 09:13   #7
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: chartdb.cpp issue compiling for Xoom armel

armido...
You are missing the needed OpenGL includes defining the GL* numeric types now. have a look for glext.h on your system. The dependencies are listed on Compiling - Linux | Official OpenCPN Homepage

Pavel
__________________
nohal is online now   Reply With Quote
Old 27-05-2012, 16:32   #8
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: chartdb.cpp issue compiling for Xoom armel

Pavel,

Needed to run cmake with -i option to enter correct location for OpenGL /usr/include/GL. Other packages as well, especially X11...

Compile is still failing though. Output:

xdocument.cpp.o
[ 60%] Building CXX object CMakeFiles/opencpn.dir/src/scrollingdialog.cpp.o
Linking CXX executable opencpn
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `GpxDocument::~GpxDocument()':
gpxdocument.cpp.text+0x1028): undefined reference to `TiXmlString::nullrep_'
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `GpxDocument::~GpxDocument()':
gpxdocument.cpp.text+0x106c): undefined reference to `TiXmlString::nullrep_'
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `GpxDocument::~GpxDocument()':
gpxdocument.cpp.text+0x10b0): undefined reference to `TiXmlString::nullrep_'
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `GpxSimpleElement::GpxSimpleElement(wxString const&, wxString const&)':
gpxdocument.cpp.text+0x1494): undefined reference to `TiXmlString::assign(char const*, unsigned int)'
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `GpxSimpleElement::GpxSimpleElement(wxString const&, wxString const&)':
gpxdocument.cpp.text+0x1adc): undefined reference to `TiXmlString::assign(char const*, unsigned int)'
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `TiXmlDocument::~TiXmlDocument()':
gpxdocument.cpp.text._ZN13TiXmlDocumentD2Ev[TiXmlDocument::~TiXmlDocument()]+0x3c): undefined reference to `TiXmlString::nullrep_'
collect2: ld returned 1 exit status
make[2]: *** [opencpn] Error 1

Thanks,
armido
make[1]: *** [CMakeFiles/opencpn.dir/all] Error 2
make: *** [all] Error 2
__________________
armido is offline   Reply With Quote
Old 27-05-2012, 17:32   #9
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: chartdb.cpp issue compiling for Xoom armel

Armido...

You need tinyxml. cmake looks for a version of tinyxml already available on your system. If not found, it builds the tinyxml source included in OpenCPN.

Check you cmake output, looking for references to tinyxml.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 28-05-2012, 12:35   #10
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: chartdb.cpp issue compiling for Xoom armel

I am certain all dependencies have been satisfied. I am not certain however cmake has found and correctly assigned paths. For example, cmake assigns /usr/glib-2.0 for the path to gobject.h. Looks to me like it should be /usr/glib-2.0/gobject though. I changed /usr/include/gtk-2.0 to /usr/include/gtk-2.0/gtk and it produced an error. So, I am reluctant to make changes here. A conondrum...

Using a fresh git download produces:

[ 6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper_utils.c.o
[ 7%] Building CXX object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o
In file included from /home/Downloads4/opencpn/include/navutil.h:45,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.h:32,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
/home/Downloads4/opencpn/include/chcanv.h:147: error: 'GLuint' does not name a type
/home/Downloads4/opencpn/include/chcanv.h: In constructor 'emboss_data::emboss_data()':
/home/Downloads4/opencpn/include/chcanv.h:140: error: 'gltexind' was not declared in this scope
/home/Downloads4/opencpn/include/chcanv.h: At global scope:
/home/Downloads4/opencpn/include/chcanv.h:564: error: invalid use of incomplete type 'struct wxGLCanvas'
/home/Downloads4/opencpn/include/ocpndc.h:50: error: forward declaration of 'struct wxGLCanvas'
/home/Downloads4/opencpn/include/chcanv.h:622: error: 'GLuint' does not name a type
/home/Downloads4/opencpn/include/chcanv.h:623: error: 'GLuint' does not name a type
/home/Downloads4/opencpn/include/chcanv.h:625: error: 'GLenum' does not name a type
/home/Downloads4/opencpn/include/chcanv.h:626: error: 'GLuint' does not name a type
/home/Downloads4/opencpn/include/chcanv.h:627: error: 'GLuint' does not name a type
In file included from /home/Downloads4/opencpn/include/chartdbs.h:39,
from /home/Downloads4/opencpn/include/navutil.h:48,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.h:32,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
/home/Downloads4/opencpn/include/chartbase.h:177: error: ISO C++ forbids declaration of 'wxGLContext' with no type
/home/Downloads4/opencpn/include/chartbase.h:177: error: expected ',' or '...' before '&' token
In file included from /home/Downloads4/opencpn/include/chartdbs.h:39,
from /home/Downloads4/opencpn/include/navutil.h:48,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.h:32,
from /home/Downloads4/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
/home/Downloads4/opencpn/include/chartbase.h:272: error: ISO C++ forbids declaration of 'wxGLContext' with no type
/home/Downloads4/opencpn/include/chartbase.h:272: error: expected ',' or '...' before '&' token
/home/Downloads4/opencpn/include/chartbase.h:321: error: ISO C++ forbids declaration of 'wxGLContext' with no type
/home/Downloads4/opencpn/include/chartbase.h:321: error: expected ',' or '...' before '&' token
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
root@Galoula-ARMEL:/home/Downloads4/opencpn/build#

Befuddled
Thanks
Armido
__________________
armido is offline   Reply With Quote
Old 28-05-2012, 14:59   #11
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: chartdb.cpp issue compiling for Xoom armel

Armido...

You are back to missing opengl.

We really are not getting enough information to help you debug.

Try

Code:
cmake -D CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE ..
Show us the output from cmake as well as make.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 29-05-2012, 07:11   #12
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: chartdb.cpp issue compiling for Xoom armel

root@Galoula-ARMEL:/home/Downloads5/opencpn/build# cmake -D CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE /home/Downloads5/opencpn
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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 armel
-- *** Staging to build opencpn 2.6.1723 ***
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/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/lib/libX11.so
-- Found OpenGL...
-- Lib: /usr/lib/libGLU.so/usr/lib/libGL.so/usr/lib/libSM.so/usr/lib/libICE.so/usr/lib/libX11.so/usr/lib/libXext.so
-- Include: /usr/include
-- Found wxWidgets: TRUE
--
-- *** Staging to build opencpn ***
-- *** Will install to /usr/local ***
-- Found GTK2_GTK: /usr/lib/libgtk-x11-2.0.so
-- Found GTK2
-- Found BZip2: /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found
-- Found ZLIB: /usr/include
-- Found TinyXML: /usr/include
-- GPSD Library support: enabled
-- Found gps: /usr/lib/libgps.so
-- Building with libgps includes
-- GPS library include location is /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/Downloads5/opencpn/build
root@Galoula-ARMEL:/home/Downloads5/opencpn/build# make
/usr/bin/cmake -H/home/Downloads5/opencpn -B/home/Downloads5/opencpn/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/Downloads5/opencpn/build/CMakeFiles /home/Downloads5/opencpn/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/home/Downloads5/opencpn/build'
make -f CMakeFiles/GARMINHOST.dir/build.make CMakeFiles/GARMINHOST.dir/depend
make[2]: Entering directory `/home/Downloads5/opencpn/build'
cd /home/Downloads5/opencpn/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/Downloads5/opencpn /home/Downloads5/opencpn /home/Downloads5/opencpn/build /home/Downloads5/opencpn/build /home/Downloads5/opencpn/build/CMakeFiles/GARMINHOST.dir/DependInfo.cmake --color=
Scanning dependencies of target GARMINHOST
make[2]: Leaving directory `/home/Downloads5/opencpn/build'
make -f CMakeFiles/GARMINHOST.dir/build.make CMakeFiles/GARMINHOST.dir/build
make[2]: Entering directory `/home/Downloads5/opencpn/build'
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 0%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsapp.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsapp.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsapp.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 0%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpscom.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpscom.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpscom.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles 1
[ 1%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmath.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmath.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsmath.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 1%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmem.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmem.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsmem.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 1%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsprot.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsprot.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsprot.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles 2
[ 2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsread.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsread.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsread.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsdevice.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_ser.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_ser.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsdevice_ser.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles 3
[ 3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_usb.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_usb.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsdevice_usb.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsrqst.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsrqst.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsrqst.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpssend.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpssend.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpssend.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles 4
[ 5%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsserial.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsserial.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsserial.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 5%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsutil.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsutil.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsutil.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 5%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbread.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbread.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsusbread.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles 5
[ 6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbsend.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbsend.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsusbsend.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbcommon.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbcommon.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/gpsusbcommon.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles
[ 6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper_utils.c.o
/usr/bin/gcc -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper_utils.c.o -c /home/Downloads5/opencpn/src/garmin/jeeps/garmin_wrapper_utils.c
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles 6
[ 7%] Building CXX object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o
/usr/bin/c++ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -pthread -isystem /usr/local/lib/wx/include/gtk2-ansi-release-2.8 -isystem /usr/local/include/wx-2.8 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o -c /home/Downloads5/opencpn/src/garmin/jeeps/garmin_wrapper.cpp
In file included from /home/Downloads5/opencpn/include/navutil.h:45,
from /home/Downloads5/opencpn/src/garmin/jeeps/garmin_wrapper.h:32,
from /home/Downloads5/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
/home/Downloads5/opencpn/include/chcanv.h:147: error: 'GLuint' does not name a type
/home/Downloads5/opencpn/include/chcanv.h: In constructor 'emboss_data::emboss_data()':
/home/Downloads5/opencpn/include/chcanv.h:140: error: 'gltexind' was not declared in this scope
/home/Downloads5/opencpn/include/chcanv.h: At global scope:
/home/Downloads5/opencpn/include/chcanv.h:564: error: invalid use of incomplete type 'struct wxGLCanvas'
/home/Downloads5/opencpn/include/ocpndc.h:50: error: forward declaration of 'struct wxGLCanvas'
/home/Downloads5/opencpn/include/chcanv.h:622: error: 'GLuint' does not name a type
/home/Downloads5/opencpn/include/chcanv.h:623: error: 'GLuint' does not name a type
/home/Downloads5/opencpn/include/chcanv.h:625: error: 'GLenum' does not name a type
/home/Downloads5/opencpn/include/chcanv.h:626: error: 'GLuint' does not name a type
/home/Downloads5/opencpn/include/chcanv.h:627: error: 'GLuint' does not name a type
In file included from /home/Downloads5/opencpn/include/chartdbs.h:39,
from /home/Downloads5/opencpn/include/navutil.h:48,
from /home/Downloads5/opencpn/src/garmin/jeeps/garmin_wrapper.h:32,
from /home/Downloads5/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
/home/Downloads5/opencpn/include/chartbase.h:177: error: ISO C++ forbids declaration of 'wxGLContext' with no type
/home/Downloads5/opencpn/include/chartbase.h:177: error: expected ',' or '...' before '&' token
In file included from /home/Downloads5/opencpn/include/chartdbs.h:39,
from /home/Downloads5/opencpn/include/navutil.h:48,
from /home/Downloads5/opencpn/src/garmin/jeeps/garmin_wrapper.h:32,
from /home/Downloads5/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
/home/Downloads5/opencpn/include/chartbase.h:272: error: ISO C++ forbids declaration of 'wxGLContext' with no type
/home/Downloads5/opencpn/include/chartbase.h:272: error: expected ',' or '...' before '&' token
/home/Downloads5/opencpn/include/chartbase.h:321: error: ISO C++ forbids declaration of 'wxGLContext' with no type
/home/Downloads5/opencpn/include/chartbase.h:321: error: expected ',' or '...' before '&' token
make[2]: *** [CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o] Error 1
make[2]: Leaving directory `/home/Downloads5/opencpn/build'
make[1]: *** [CMakeFiles/GARMINHOST.dir/all] Error 2
make[1]: Leaving directory `/home/Downloads5/opencpn/build'
make: *** [all] Error 2
root@Galoula-ARMEL:/home/Downloads5/opencpn/build#
__________________
armido is offline   Reply With Quote
Old 29-05-2012, 07:42   #13
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: chartdb.cpp issue compiling for Xoom armel

Reinstalled WxWidgets-2.9.3 from source. New output:

s5/opencpn/build /home/Downloads5/opencpn/build /home/Downloads5/opencpn/build/CMakeFiles/S57ENC.dir/DependInfo.cmake --color=
Scanning dependencies of target S57ENC
make[2]: Leaving directory `/home/Downloads5/opencpn/build'
make -f CMakeFiles/S57ENC.dir/build.make CMakeFiles/S57ENC.dir/build
make[2]: Entering directory `/home/Downloads5/opencpn/build'
/usr/bin/cmake -E cmake_progress_report /home/Downloads5/opencpn/build/CMakeFiles 14
[ 18%] Building CXX object CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o
/usr/bin/c++ -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DUSE_GLU_TESS -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DTIXML_USE_STL -DUSE_S57 -DUSE_GARMINHOST -pthread -isystem /usr/local/lib/wx/include/gtk2-unicode-2.9 -isystem /usr/local/include/wx-2.9 -I/home/Downloads5/opencpn/include -I/home/Downloads5/opencpn/src -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/Downloads5/opencpn/src/nmea0183 -I/home/Downloads5/opencpn/src/mygdal -I/home/Downloads5/opencpn/src/garmin/jeeps -Wall -Wno-unused -fexceptions -rdynamic -g -fno-strict-aliasing -o CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o -c /home/Downloads5/opencpn/src/s52cnsy.cpp
In file included from /home/Downloads5/opencpn/src/s52cnsy.cpp:42:
/home/Downloads5/opencpn/include/s52plib.h:413: error: 'wxGCDC' has not been declared
/home/Downloads5/opencpn/include/s52plib.h:429: error: ISO C++ forbids declaration of 'wxGCDC' with no type
/home/Downloads5/opencpn/include/s52plib.h:429: error: expected ';' before '*' token
make[2]: *** [CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o] Error 1
make[2]: Leaving directory `/home/Downloads5/opencpn/build'
make[1]: *** [CMakeFiles/S57ENC.dir/all] Error 2
make[1]: Leaving directory `/home/Downloads5/opencpn/build'
make: *** [all] Error 2
__________________
armido is offline   Reply With Quote
Old 29-05-2012, 07:46   #14
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: chartdb.cpp issue compiling for Xoom armel

armido...
OpenCPN targets wxWidgets 2.8, not 2.9

Pavel
__________________
nohal is online now   Reply With Quote
Old 29-05-2012, 08:45   #15
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: chartdb.cpp issue compiling for Xoom armel

Armido....

There is some problem with your OpenGL installation. It finds the proper include file glCanvas.h, but the GLUint is not therein defined.

I suspect that your wxWidgets installation does not have OpenGL enabled......You may have to compile wxWidgets from scratch.

Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Reply

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 02:02.


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.