Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 08-03-2015, 03:06   #1
Registered User

Join Date: Mar 2012
Posts: 3
Problems Compiling Release Opencpn 4.0.0

Hi

I run SuSe 13.1 64bit, downloaded the latest version of Opencpn source with a view to compiling it, however it "barfs" appears to be complaining about a pointer not being declared.
I wonder if some one more cpp literate than myself could show me what I am doing wrong.

The following is the console output.

[4%] Building CXX object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o
/home/tonyd/OpenCPN-4.0.0-Source/src/garmin/jeeps/garmin_wrapper.cpp: In function ‘int Garmin_GPS_SendWaypoints(wxString&, RoutePointList*)’:
/home/tonyd/OpenCPN-4.0.0-Source/src/garmin/jeeps/garmin_wrapper.cpp:130:13: error: ‘wxRoutePointListNode’ was not declared in this scope
wxRoutePointListNode *node = wplist->Item(i);
^
/home/tonyd/OpenCPN-4.0.0-Source/src/garmin/jeeps/garmin_wrapper.cpp:130:35: error: ‘node’ was not declared in this scope
wxRoutePointListNode *node = wplist->Item(i);
^
/home/tonyd/OpenCPN-4.0.0-Source/src/garmin/jeeps/garmin_wrapper.cpp: In function ‘GPS_SWay** Garmin_GPS_Create_A200_Route(Route*, int, int*)’:
/home/tonyd/OpenCPN-4.0.0-Source/src/garmin/jeeps/garmin_wrapper.cpp:195:13: error: ‘wxRoutePointListNode’ was not declared in this scope
wxRoutePointListNode *node = wplist->Item(i-1);
^
/home/tonyd/OpenCPN-4.0.0-Source/src/garmin/jeeps/garmin_wrapper.cpp:195:35: error: ‘node’ was not declared in this scope
wxRoutePointListNode *node = wplist->Item(i-1);
^
/home/tonyd/OpenCPN-4.0.0-Source/src/garmin/jeeps/garmin_wrapper.cpp: In function ‘GPS_SWay** Garmin_GPS_Create_A201_Route(Route*, int, int*)’:
/home/tonyd/OpenCPN-4.0.0-Source/src/garmin/jeeps/garmin_wrapper.cpp:255:19: error: ‘wxRoutePointListNode’ was not declared in this scope
wxRoutePointListNode *node = wplist->Item((i-1)/2);
^
/home/tonyd/OpenCPN-4.0.0-Source/src/garmin/jeeps/garmin_wrapper.cpp:255:41: error: ‘node’ was not declared in this scope
wxRoutePointListNode *node = wplist->Item((i-1)/2);
^
CMakeFiles/GARMINHOST.dir/build.make:445: recipe for target 'CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o' failed
make[2]: *** [CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/GARMINHOST.dir/all' failed
make[1]: *** [CMakeFiles/GARMINHOST.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

Regards tonyd
cachaciero is offline   Reply With Quote
Old 08-03-2015, 15:04   #2
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Problems Compiling Release Opencpn 4.0.0

You have to install the correct wx dev packages to compile.
Have you all these packages installed?

Code:
$ zypper install git cmake gcc-c++ libstdc++-devel gtk2-devel wxWidgets-wxcontainer-devel gettext-runtime gettext-tool
From Compiling - Linux | Official OpenCPN Homepage

Thomas
cagney is offline   Reply With Quote
Old 09-03-2015, 02:42   #3
Registered User

Join Date: Mar 2012
Posts: 3
Re: Problems Compiling Release Opencpn 4.0.0

Hi cagney

Thanks for the pointer it was wxwidgets_container dev that was the problem, had wxwidgets dev not the container version, would have thought that the config stage should have identified that one :-).

wxwidgets_container_dev intalled and compiles fine, installs fine but doesn't run, complains about not finding the wxwidgets_container library........... more investigation methinks.


regards tonyd
cachaciero is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling OpenCPN in Windows useris OpenCPN 20 29-06-2013 08:45
error compiling openCPN on ARM Chromebook / lUbuntu raring chris14679 OpenCPN 5 24-02-2013 21:25
Compiling OpenCPN - Error when trying to start X7JAY7X OpenCPN 12 19-06-2011 01:57
Make - Problems (Compiling) schotenandi OpenCPN 2 10-10-2010 18:57
Compiling OpenCPN on Fedora 12 inSaNo OpenCPN 9 08-12-2009 05:09

Advertise Here


All times are GMT -7. The time now is 01:00.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.