Cruisers & Sailing Forums (http://www.cruisersforum.com/forums/)
-   OpenCPN (http://www.cruisersforum.com/forums/f134/)
-   -   Compile troubles w/ 3.1.919 (http://www.cruisersforum.com/forums/f134/compile-troubles-w-3-1-919-a-91339.html)

pouakai 19-10-2012 20:29

Compile troubles w/ 3.1.919
 
I have been attempting compile tip but am coming unstuck with a wxWidgets class reference:
Quote:

[ 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

Cheers,
P

JesperWe 20-10-2012 03:15

Re: Compile troubles w/ 3.1.919
 
Please see here for the solution:

http://www.cruisersforum.com/forums/...ml#post1041412


All times are GMT -7. The time now is 20:33.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.


ShowCase vBulletin Plugins by Drive Thru Online, Inc.