Cruisers Forum

Join CruisersForum Today

Thread Tools Search this Thread Rate Thread Display Modes
Old 19-10-2012, 20:29   #1
Registered User

Join Date: Oct 2012
Posts: 1
Compile troubles w/ 3.1.919

I have been attempting compile tip but am coming unstuck with a wxWidgets class reference:
[ 25%] Building CXX object CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o
In file included from /Users/chris/src/OpenCPN/src/s52cnsy.cpp:40:
/Users/chris/src/OpenCPN/include/s52plib.h:421: error: wxGCDC has not been declared
/Users/chris/src/OpenCPN/include/s52plib.h:437: error: ISO C++ forbids declaration of wxGCDC with no type
/Users/chris/src/OpenCPN/include/s52plib.h:437: error: expected ; before * token
make[2]: *** [CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o] Error 1
make[1]: *** [CMakeFiles/S57ENC.dir/all] Error 2
make: *** [all] Error 2
OpenCPN is ver 3.1.919 (tip)
wxWidgets is 2.9.3 (have also tried 2.8.something, and 2.9.4)

platform is OSX Lion/code 4.4.1

and I have been following the guidance at Compiling - Mac OS X | Official OpenCPN Homepage and in the INSTALL file in the source directory.

Any help would be warmly appreciated.

I want to make some changes to help My 70yr old father skipper see some details more easily, also get the route manager working better with the Garmin 126,128.

Other ideas:
* real time proximity and depth checking when planning routes.
* batch waypoint rename to rename all the waypoints in a route

pouakai is offline   Reply With Quote
Old 20-10-2012, 03:15   #2
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Compile troubles w/ 3.1.919

Please see here for the solution:
JesperWe is offline   Reply With Quote

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

Advertise Here

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

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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.