Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 18-09-2012, 08:24   #91
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OpenCPN Beta Version 3.1.915 Released

Quote:
Originally Posted by SethDart View Post
Thomas, can you check this patch:
Code:
diff --git a/src/options.cpp b/src/options.cpp
index 46b86aa..65947a6 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -194,7 +194,6 @@ BEGIN_EVENT_TABLE( options, wxDialog )
     EVT_BUTTON( xID_OK, options::OnXidOkClick )
     EVT_BUTTON( wxID_CANCEL, options::OnCancelClick )
     EVT_BUTTON( ID_BUTTONFONTCHOOSE, options::OnChooseFont )
-    EVT_LISTBOOK_PAGE_CHANGED(ID_NOTEBOOK, options::OnPageChange)
     EVT_CHOICE( ID_CHOICE_NMEA, options::OnNMEASourceChoice )
     EVT_COMBOBOX( ID_CHOICE_NMEA, options::OnNMEASourceChoice )
     EVT_RADIOBOX(ID_RADIOBOX, options::OnDisplayCategoryRadioButton )
@@ -1440,6 +1439,8 @@ void options::CreateControls()
     pSettingsCB1 = pDebugShowStat;
 
     SetColorScheme( (ColorScheme) 0 );
+
+    m_pListbook->Connect( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, wxListbookEventHandler( options::OnPageChange ), NULL, this );
 }
 
 void options::SetColorScheme( ColorScheme cs )

The patch works! No crash!
What about testing this on Win?

Thomas
cagney is offline   Reply With Quote
Old 18-09-2012, 08:32   #92
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Re: OpenCPN Beta Version 3.1.915 Released

Jesper..

Just started the Win version you posted which immediately aborted hitting the Tools button.

Quote:
11:27:20 AM: Initializing Chart E:\CHARTS\USA\GREAT LAKES\BSB_ROOT\14500\14500_1.KAP
11:30:00 AM: LOGBOOK: 2012-09-18 14:30:00 UTC DR Lat -23.44410 Lon -45.07490
11:30:47 AM: PlugInManager: Deactivating PlugIn: C:\NEW ITAUTEC BACKUP\System_OS\INSTALLED PROGRAMS\OpenCPN\plugins/dashboard_pi.dll
11:30:47 AM: PlugInManager: Deactivating PlugIn: C:\NEW ITAUTEC BACKUP\System_OS\INSTALLED PROGRAMS\OpenCPN\plugins/gecomapi_win32_pi16_v09_pi.dll
11:30:47 AM: [GECOMAPI] GE plugin - OnShow event
11:30:47 AM: [GECOMAPI] GE initialization requested
11:30:47 AM: [GECOMAPI] Initializing GE
11:30:47 AM: [GECOMAPI] We survived CoCreateInstance
11:30:48 AM: [GECOMAPI] We survived waiting for IsInitialized
11:30:49 AM: [GECOMAPI] GE Initialized, attaching to the window
11:30:49 AM: [GECOMAPI] Attaching/detaching to GE window requested
11:30:49 AM: [GECOMAPI] Attaching to the GE window
11:30:49 AM: [GECOMAPI] GE resize requested
11:30:49 AM: [GECOMAPI] Resizing GE
11:30:49 AM: [GECOMAPI] GE resized
11:30:49 AM: [GECOMAPI] GE window attached/detached
11:30:49 AM: [GECOMAPI] Destroying the GE plugin window
11:30:49 AM: [GECOMAPI] Going to close GE
11:30:49 AM: [GECOMAPI] Closing GE requested
11:30:49 AM: [GECOMAPI] Closing GE
Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 18-09-2012, 10:03   #93
Registered User

Join Date: Jan 2010
Location: Montevideo, Uruguay
Posts: 242
Re: OpenCPN Beta Version 3.1.915 Released

A install from source in a different system (also debian 6 but amd64) produces a crash when I press the "tools" icon consistently, even if I remove the old configuration.

If I run it "as is" in the debugger, it crashes here:

Program received signal SIGSEGV, Segmentation fault.
0x00000000005d2d3f in wxItemContainer::Append (this=0x7ffff60ee5a4, item=...)
at /usr/include/wx-2.8/wx/ctrlsub.h:99
99 { return DoAppend(item); }

#0 0x00000000005d2d3f in wxItemContainer::Append (this=0x7ffff60ee5a4,
item=...) at /usr/include/wx-2.8/wx/ctrlsub.h:99
#1 0x0000000000637f3d in options::OnPageChange (this=0x7fffffffd640,
event=...) at /usr/local/src/OpenCPN/src/options.cpp:2351
#2 0x00007ffff7b6ec40 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEn tryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#3 0x00007ffff7b6fc14 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#4 0x00007ffff7b6fcf7 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/libwx_baseu-2.8.so.0
#5 0x00007ffff7744dd9 in wxWindowBase::TryParent(wxEvent&) ()
from /usr/lib/libwx_gtk2u_core-2.8.so.0
#6 0x00007ffff76cac47 in wxBookCtrlBase:oSetSelection(unsigned long, int) ()
from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7 0x00007ffff77679ab in wxListbook::InsertPage(unsigned long, wxWindow*, wxString const&, bool, int) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8 0x00000000006218d7 in options::CreatePanel (this=0x7fffffffd640, title=...)
at /usr/local/src/OpenCPN/src/options.cpp:307
#9 0x0000000000631ece in options::CreateControls (this=0x7fffffffd640)
at /usr/local/src/OpenCPN/src/options.cpp:1406
#10 0x0000000000621020 in options (this=0x7fffffffd640, parent=0x19dafd0,
id=-1, caption=..., pos=..., size=..., style=536877120)
at /usr/local/src/OpenCPN/src/options.cpp:228
---Type <return> to continue, or q <return> to quit---
#11 0x00000000004ecd03 in MyFrame:oOptionsDialog (this=0x19dafd0)
at /usr/local/src/OpenCPN/src/chart1.cpp:3752
#12 0x00000000004eadf7 in MyFrame::OnToolLeftClick (this=0x19dafd0, event=...)
at /usr/local/src/OpenCPN/src/chart1.cpp:3242
#13 0x00007ffff7b6ec40 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEn tryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#14 0x00007ffff7b6fc14 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#15 0x00007ffff7b6fcf7 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/libwx_baseu-2.8.so.0
#16 0x00007ffff7b6fc80 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/libwx_baseu-2.8.so.0
#17 0x00007ffff7744dd9 in wxWindowBase::TryParent(wxEvent&) ()
from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x00007ffff7b6f098 in wxEvtHandler::ProcessPendingEvents() ()
from /usr/lib/libwx_baseu-2.8.so.0
#19 0x00007ffff7ae13c9 in wxAppConsole::ProcessPendingEvents() ()
from /usr/lib/libwx_baseu-2.8.so.0
#20 0x00007ffff76c72fb in wxAppBase::ProcessIdle() ()
from /usr/lib/libwx_gtk2u_core-2.8.so.0
#21 0x00007ffff762b463 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0x00007ffff63506f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007ffff6354568 in ?? () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#24 0x00007ffff6354a75 in g_main_loop_run () from /lib/libglib-2.0.so.0
#25 0x00007ffff59386b7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x00007ffff7642408 in wxEventLoop::Run() ()
from /usr/lib/libwx_gtk2u_core-2.8.so.0
#27 0x00007ffff76c718b in wxAppBase::MainLoop() ()
from /usr/lib/libwx_gtk2u_core-2.8.so.0
#28 0x00007ffff7b1563c in wxEntry(int&, wchar_t**) ()
from /usr/lib/libwx_baseu-2.8.so.0
#29 0x00000000004de074 in main (argc=1, argv=0x7fffffffe3c8)
at /usr/local/src/OpenCPN/src/chart1.cpp:716


Thanks
dpons is offline   Reply With Quote
Old 18-09-2012, 11:10   #94
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: OpenCPN Beta Version 3.1.915 Released

I think this problem is caused by the visual c++ optimizer.

Crashes consistently occurred with release builds but never with debug builds. The problem is options.cpp line 307.

When optimization was turned off for the release builds, the problem disappeared.

Builds from the Master do not show this problem.

Chuck
ChuckSK is offline   Reply With Quote
Old 18-09-2012, 11:37   #95
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: OpenCPN Beta Version 3.1.915 Released

OK, the Options Window crash is now understood, so we don't need any more logs or reports. SethDart has fixed it and committed to master.

For those who are curious, the problem was related to the way the wxWidgets event manager processed events. It was sometimes telling our code to change tab in the Options window too early, when the window was only half way through being created. This randomly affected all platforms, although it seems it was more visible on Windows.

Random problems like this can sometimes be really hard to find, thanks to all for helping out in locating it quickly. I hope we can put out a new version soon which will work better for everyone.
JesperWe is offline   Reply With Quote
Old 18-09-2012, 12:36   #96
Registered User

Join Date: Jul 2009
Location: The Netherlands
Boat: Koopmans, 33 ft cutter
Posts: 170
Re: OpenCPN Beta Version 3.1.915 Released

Same problem as Torre win7 starter x86, update from previous beta. O works fine on win7 home premium x64.
Zoef is offline   Reply With Quote
Old 18-09-2012, 15:52   #97
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN Beta Version 3.1.915 Released

sbfreddie...

re:
Code:
Thomas:
Would you be willing to share your secrets with me for building the Mac OS version of OpenCPN?  The instructions on the O web page do not work for me.

Thanks,
Freddie
What parts of the O web page Mac build instructions do not work for you?
These days CMake script is pretty good for 32 bit carbon. I am just doing:

Get the O source tree

$cd opencpn
$mkdir build_carbon
$cd build_carbon
$cmake -DPREFIX=/Users/dsr/tmp ..
$make
$make install
$make create-dmg

I would love to have a corroborating builder for the Mac Beta releases. Let me know how I can help you move forward.

Dave
bdbcat is offline   Reply With Quote
Old 18-09-2012, 17:42   #98
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 175
Images: 1
Send a message via Skype™ to sbfreddie
Re: OpenCPN Beta Version 3.1.915 Released

Quote:
Originally Posted by bdbcat View Post
sbfreddie...

re:
Code:
Thomas:
Would you be willing to share your secrets with me for building the Mac OS version of OpenCPN?  The instructions on the O web page do not work for me.

Thanks,
Freddie
What parts of the O web page Mac build instructions do not work for you?
These days CMake script is pretty good for 32 bit carbon. I am just doing:

Get the O source tree

$cd opencpn
$mkdir build_carbon
$cd build_carbon
$cmake -DPREFIX=/Users/dsr/tmp ..
$make
$make install
$make create-dmg

I would love to have a corroborating builder for the Mac Beta releases. Let me know how I can help you move forward.

Dave
Dave:

At first I just tried using my build script which is just like yours except I point to differend places for the build than you. I received multiple errors concerning wxwidgets. It seems I have wxwidgets 2.9.4 installed in my PATH for other programs (GNURadio mostly) so all the errors so far are related to wxwidgets 2.9.4 conflicting with O. It was also complaining about not being able to find gettext, but I figured out how to fix that by giving cmake the proper pointers to find what it was looking for. But now I'm stuck trying to get Cmake to accept the pointer to the build of wxwidgets 2.8.12. Nothing I can do seems to be able to convince Cmake not to look in /usr/local/bin for the wxwidgets installation. I even tried using the Cmake GUI (2.8-9), but have not been able to convince Cmake that the installation is were I want it to look for it. I found another thread you were involved in that said the findwxwidgets module is broke but I have not found a way around it.

BTW I'm on 10.7.4 (Lion), but I also have another disk with 10.6.8 (Snow Leopard).
I would sure like to be able to corroborate a Mac build also. This PowerMac can build really fast cause of its massive horsepower.

Thanks,
Freddie
sbfreddie is offline   Reply With Quote
Old 20-09-2012, 10:50   #99
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN Beta Version 3.1.915 Released

Freddie...

OK, lets work on this.
We eventually want to move O to wx2.9, and then 3.0 whenever it appears. At one point in the past we could compile and run with 2.9, but that was long ago and far away. I've since lost my 2.9 build environment.

Lets look at your build log errors, and see what we have to do to the O source to conditionally compile for wx2.9.

Dave
bdbcat is offline   Reply With Quote
Old 20-09-2012, 11:40   #100
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 175
Images: 1
Send a message via Skype™ to sbfreddie
Re: OpenCPN Beta Version 3.1.915 Released

Dave:
Here is the build log for 3.1.919 using wxwidgets 2.9.4:

Code:
********************************************************************************************
Building i386 OpenCPN...
Now configuring with cmake for Distribution i386 OpenCPN...
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 4.0.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- 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 i386
-- *** Staging to build OpenCPN 3.1.919 ***
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework  
-- Found OpenGL...
--     Lib: /System/Library/Frameworks/AGL.framework/System/Library/Frameworks/OpenGL.framework
--     Include: /System/Library/Frameworks/OpenGL.framework
-- Found wxWidgets: TRUE  
-- 
-- *** Staging to build OpenCPN  ***
-- *** Will install to /Users/freddie/Desktop/OpenCPN3.1.919/MacBuilds  ***
-- Found Freetype: /usr/X11R6/lib/libfreetype.dylib (found version "2.4.7") 
-- Found GTK2_GTK: /usr/local/lib/libgtk-x11-2.0.dylib  
-- Found GTK2
-- Found Gettext: /usr/local/Cellar/gettext/0.18.1.1/bin  
-- Found BZip2: /usr/lib/libbz2.dylib (found version "1.0.6") 
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib - found
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") 
-- Could NOT find TinyXML (missing:  TINYXML_INCLUDE_DIR TINYXML_LIBRARIES) 
-- GPSD Library support: enabled
-- Gps library not found
-- tinyxml library not found
-- 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: /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/buildi386
Configuring with cmake for Distribution of i386 OpenCPN was Successful...
********************************************************************************************
Now making for Distribution i386 OpenCPN...
Scanning dependencies of target i18n
[  0%] i18n [opencpn_ca_ES]: Created mo file.
make[2]: /usr/local/Cellar/gettext/0.18.1.1/bin: Permission denied
make[2]: *** [opencpn_ca_ES.mo] Error 1
make[1]: *** [CMakeFiles/i18n.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Scanning dependencies of target GARMINHOST
[  0%] [  0%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpscom.c.o
Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsapp.c.o
Scanning dependencies of target NMEA0183
[  1%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea.cpp.o
[  1%] clang: warning: argument unused during compilation: '-rdynamic'
Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmath.c.o
Scanning dependencies of target S57ENC
[  1%] Building CXX object CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[  1%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/latlong.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[  2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmem.c.o
[  2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsprot.c.o
[  2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsread.c.o
[  3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice.c.o
[  3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_ser.c.o
[  3%] [  3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_usb.c.o
Building CXX object CMakeFiles/S57ENC.dir/src/s52plib.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[  5%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsrqst.c.o
[  5%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpssend.c.o
[  5%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsserial.c.o
[  6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsutil.c.o
[  6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbread.c.o
[  6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbsend.c.o
[  7%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbcommon.c.o
[  7%] 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 /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/nmea.cpp:50:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/nmea.h:65:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/navutil.h:45:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chcanv.h:42:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chart1.h:316:10: warning: 'MyFrame::DoSetSize' hides overloaded virtual function [-Woverloaded-virtual]
    void DoSetSize(void);
         ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/osx/window.h:361:18: note: hidden overloaded virtual function 'wxWindow::DoSetSize' declared here
    virtual void DoSetSize(int x, int y,
                 ^
clang: warning: argument unused during compilation: '-rdynamic'
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52cnsy.cpp:39:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s57chart.h:50:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chcanv.h:42:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chart1.h:316:10: warning: 'MyFrame::DoSetSize' hides overloaded virtual function [-Woverloaded-virtual]
    void DoSetSize(void);
         ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/osx/window.h:361:18: note: hidden overloaded virtual function 'wxWindow::DoSetSize' declared here
    virtual void DoSetSize(int x, int y,
                 ^
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52cnsy.cpp:40:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s52plib.h:420:22: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
        void SetTargetGCDC( wxGCDC* gdc );
                            ^~~~~~
                            wxDC
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/prntbase.h:27:28: note: 'wxDC' declared here
class WXDLLIMPEXP_FWD_CORE wxDC;
                           ^
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52cnsy.cpp:40:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s52plib.h:436:2: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
        wxGCDC* targetGCDC;
        ^~~~~~
        wxDC
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/prntbase.h:27:28: note: 'wxDC' declared here
class WXDLLIMPEXP_FWD_CORE wxDC;
                           ^
1 warning and 2 errors generated.
make[2]: *** [CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[  7%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/long.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/nmea.cpp:4326:31: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                              wxLogMessage(_T("  and so CloseComPortPhysical"));
                              ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/log.h:1366:22: note: expanded from macro 'wxLogMessage'
#define wxLogMessage wxDO_LOG_IF_ENABLED(Message)
                     ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/log.h:1353:5: note: expanded from macro 'wxDO_LOG_IF_ENABLED'
    else                                                                      \
    ^
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:43:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s52plib.h:420:22: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
        void SetTargetGCDC( wxGCDC* gdc );
                            ^~~~~~
                            wxDC
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/dc.h:774:24: note: 'wxDC' declared here
class WXDLLIMPEXP_CORE wxDC : public wxObject
                       ^
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:43:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s52plib.h:436:2: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
        wxGCDC* targetGCDC;
        ^~~~~~
        wxDC
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/dc.h:774:24: note: 'wxDC' declared here
class WXDLLIMPEXP_CORE wxDC : public wxObject
                       ^
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:44:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s57chart.h:50:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chcanv.h:42:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chart1.h:316:10: warning: 'MyFrame::DoSetSize' hides overloaded virtual function [-Woverloaded-virtual]
    void DoSetSize(void);
         ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/osx/window.h:361:18: note: hidden overloaded virtual function 'wxWindow::DoSetSize' declared here
    virtual void DoSetSize(int x, int y,
                 ^
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:1782:9: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
        wxGCDC gdc( mdc );
        ^~~~~~
        wxDC
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/dc.h:774:24: note: 'wxDC' declared here
class WXDLLIMPEXP_CORE wxDC : public wxObject
                       ^
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:1782:16: error: calling a private constructor of class 'wxDC'
        wxGCDC gdc( mdc );
               ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/dc.h:1362:29: note: declared private here
    wxDECLARE_NO_COPY_CLASS(wxDC);
                            ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/defs.h:3296:9: note: expanded from macro 'wxDECLARE_NO_COPY_CLASS'
        classname(const classname&);            \
        ^
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:1807:9: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
        wxGCDC targetGcdc( targetDc );
        ^~~~~~
        wxDC
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/dc.h:774:24: note: 'wxDC' declared here
class WXDLLIMPEXP_CORE wxDC : public wxObject
                       ^
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:1807:16: error: calling a private constructor of class 'wxDC'
        wxGCDC targetGcdc( targetDc );
               ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/dc.h:1362:29: note: declared private here
    wxDECLARE_NO_COPY_CLASS(wxDC);
                            ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/defs.h:3296:9: note: expanded from macro 'wxDECLARE_NO_COPY_CLASS'
        classname(const classname&);            \
        ^
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:6035:5: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
    wxGCDC gdc( mdc );
    ^~~~~~
    wxDC
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/dc.h:774:24: note: 'wxDC' declared here
class WXDLLIMPEXP_CORE wxDC : public wxObject
                       ^
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:6035:12: error: calling a private constructor of class 'wxDC'
    wxGCDC gdc( mdc );
           ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/dc.h:1362:29: note: declared private here
    wxDECLARE_NO_COPY_CLASS(wxDC);
                            ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/defs.h:3296:9: note: expanded from macro 'wxDECLARE_NO_COPY_CLASS'
        classname(const classname&);            \
        ^
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:6663:22: error: variable has incomplete type 'void'
void RenderFromHPGL::SetTargetGCDC( wxGCDC* gdc )
                     ^
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:6663:37: error: use of undeclared identifier 'wxGCDC'
void RenderFromHPGL::SetTargetGCDC( wxGCDC* gdc )
                                    ^
[  8%] /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:6663:45: error: use of undeclared identifier 'gdc'
void RenderFromHPGL::SetTargetGCDC( wxGCDC* gdc )
                                            ^
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52plib.cpp:6663:50: error: expected ';' after top level declarator
void RenderFromHPGL::SetTargetGCDC( wxGCDC* gdc )
                                                 ^
                                                 ;
Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/nmea0183.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
1 warning and 12 errors generated.
make[2]: *** [CMakeFiles/S57ENC.dir/src/s52plib.cpp.o] Error 1
make[1]: *** [CMakeFiles/S57ENC.dir/all] Error 2
[  8%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/response.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/garmin/jeeps/garmin_wrapper.h:32:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/navutil.h:45:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chcanv.h:42:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chart1.h:316:10: warning: 'MyFrame::DoSetSize' hides overloaded virtual function [-Woverloaded-virtual]
    void DoSetSize(void);
         ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/osx/window.h:361:18: note: hidden overloaded virtual function 'wxWindow::DoSetSize' declared here
    virtual void DoSetSize(int x, int y,
                 ^
2 warnings generated.
[  8%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rmb.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/sentence.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/talkerid.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
1 warning generated.
Linking CXX static library libGARMINHOST.a
[ 10%] Built target GARMINHOST
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rmc.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 11%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hexvalue.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 11%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/lat.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 11%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/expid.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 12%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/wpl.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 12%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rte.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 12%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdt.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 14%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdg.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 14%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdm.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 14%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gll.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 15%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/vtg.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 15%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gga.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 15%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gsv.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 16%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/GPwpl.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
Linking CXX static library libNMEA0183.a
[ 16%] Built target NMEA0183
make: *** [all] Error 2


I have not been able to figure out the first problem with the "permission denied" in gettext. The finder says everyone has read/write privileges. Any ideas?

Thanks,
Freddie
sbfreddie is offline   Reply With Quote
Old 20-09-2012, 18:30   #101
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 175
Images: 1
Send a message via Skype™ to sbfreddie
Re: OpenCPN Beta Version 3.1.915 Released

Dave:
I have solved my previous problem with the first error, it seems I was not being specific enough to cmake to use the gettext msgmerge & msgfmt utilities.
Now with that fixed I still get these problems with wxwidgets 2.9.4:
Code:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s52plib.h:420:22: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
        void SetTargetGCDC( wxGCDC* gdc );
                            ^~~~~~
                            wxDC
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/prntbase.h:27:28: note: 'wxDC' declared here
class WXDLLIMPEXP_FWD_CORE wxDC;
These wxwidgets problems seem to be common thru several modules.

Here is the full build log:

Code:
********************************************************************************************
Building i386 OpenCPN...
Now configuring with cmake for Distribution i386 OpenCPN...
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 4.0.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- 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 i386
-- *** Staging to build OpenCPN 3.1.919 ***
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework  
-- Found OpenGL...
--     Lib: /System/Library/Frameworks/AGL.framework/System/Library/Frameworks/OpenGL.framework
--     Include: /System/Library/Frameworks/OpenGL.framework
-- Found wxWidgets: TRUE  
-- 
-- *** Staging to build OpenCPN  ***
-- *** Will install to /Users/freddie/Desktop/OpenCPN3.1.919/MacBuilds  ***
-- Found Freetype: /usr/X11R6/lib/libfreetype.dylib (found version "2.4.7") 
-- Found GTK2_GTK: /usr/local/lib/libgtk-x11-2.0.dylib  
-- Found GTK2
-- Found Gettext: /usr/local/Cellar/gettext/0.18.1.1/bin/msgmerge (found version "0.18.1") 
-- Found BZip2: /usr/lib/libbz2.dylib (found version "1.0.6") 
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib - found
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") 
-- Could NOT find TinyXML (missing:  TINYXML_INCLUDE_DIR TINYXML_LIBRARIES) 
-- GPSD Library support: enabled
-- Gps library not found
-- tinyxml library not found
-- 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: /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/buildi386
Configuring with cmake for Distribution of i386 OpenCPN was Successful...
********************************************************************************************
Now making for Distribution i386 OpenCPN...
Scanning dependencies of target i18n
[  0%] i18n [opencpn_ca_ES]: Created mo file.
[  1%] i18n [opencpn_cs_CZ]: Created mo file.
[  1%] i18n [opencpn_da_DK]: Created mo file.
[  1%] i18n [opencpn_de_DE]: Created mo file.
[  2%] i18n [opencpn_es_ES]: Created mo file.
[  2%] i18n [opencpn_fr_FR]: Created mo file.
[  2%] i18n [opencpn_it_IT]: Created mo file.
Scanning dependencies of target GARMINHOST
[  3%] [  3%] i18n [opencpn_nl_NL]: Created mo file.
Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsapp.c.o
[  3%] i18n [opencpn_pl_PL]: Created mo file.
[  3%] i18n [opencpn_ru_RU]: Created mo file.
[  5%] i18n [opencpn_sv_SE]: Created mo file.
[  5%] i18n [opencpn_et_ET]: Created mo file.
Scanning dependencies of target NMEA0183
[  5%] i18n [opencpn_pt_PT]: Created mo file.
[  6%] [  7%] i18n [opencpn_pt_BR]: Created mo file.
Building CXX object CMakeFiles/NMEA0183.dir/src/nmea.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[  7%] i18n [opencpn_nb_NO]: Created mo file.
Scanning dependencies of target S57ENC
[  7%] i18n [opencpn_tr_TR]: Created mo file.
[  8%] i18n [opencpn_fi_FI]: Created mo file.
[  8%] [  8%] Building CXX object CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o
i18n [opencpn_el_GR]: Created mo file.
clang: warning: argument unused during compilation: '-rdynamic'
[  8%] i18n [opencpn_zh_TW]: Created mo file.
[ 10%] i18n [opencpn_hu_HU]: Created mo file.
[ 10%] i18n [opencpn_gl_ES]: Created mo file.
[ 10%] i18n: Done.
[ 10%] Built target i18n
[ 10%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpscom.c.o
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/latlong.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 10%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmath.c.o
[ 11%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmem.c.o
[ 11%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsprot.c.o
[ 11%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/long.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 11%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsread.c.o
[ 12%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice.c.o
[ 12%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_ser.c.o
[ 12%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_usb.c.o
[ 14%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsrqst.c.o
[ 14%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpssend.c.o
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/nmea.cpp:50:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/nmea.h:65:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/navutil.h:45:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chcanv.h:42:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chart1.h:316:10: warning: 'MyFrame::DoSetSize' hides overloaded virtual function [-Woverloaded-virtual]
    void DoSetSize(void);
         ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/osx/window.h:361:18: note: hidden overloaded virtual function 'wxWindow::DoSetSize' declared here
    virtual void DoSetSize(int x, int y,
                 ^
[ 14%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsserial.c.o
[ 15%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsutil.c.o
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52cnsy.cpp:39:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s57chart.h:50:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chcanv.h:42:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chart1.h:316:10: warning: 'MyFrame::DoSetSize' hides overloaded virtual function [-Woverloaded-virtual]
    void DoSetSize(void);
         ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/osx/window.h:361:18: note: hidden overloaded virtual function 'wxWindow::DoSetSize' declared here
    virtual void DoSetSize(int x, int y,
                 ^
[ 15%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbread.c.o
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52cnsy.cpp:40:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s52plib.h:420:22: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
        void SetTargetGCDC( wxGCDC* gdc );
                            ^~~~~~
                            wxDC
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/prntbase.h:27:28: note: 'wxDC' declared here
class WXDLLIMPEXP_FWD_CORE wxDC;
                           ^
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/nmea.cpp:4326:31: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                              wxLogMessage(_T("  and so CloseComPortPhysical"));
                              ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/log.h:1366:22: note: expanded from macro 'wxLogMessage'
#define wxLogMessage wxDO_LOG_IF_ENABLED(Message)
                     ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/log.h:1353:5: note: expanded from macro 'wxDO_LOG_IF_ENABLED'
    else                                                                      \
    ^
[ 15%] In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/s52cnsy.cpp:40:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s52plib.h:436:2: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
        wxGCDC* targetGCDC;
        ^~~~~~
        wxDC
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/prntbase.h:27:28: note: 'wxDC' declared here
class WXDLLIMPEXP_FWD_CORE wxDC;
                           ^
Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbsend.c.o
1 warning and 2 errors generated.
[ 16%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbcommon.c.o
make[2]: *** [CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o] Error 1
make[1]: *** [CMakeFiles/S57ENC.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 17%] Scanning dependencies of target dashboard-i18n
Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/nmea0183.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 17%] dashboard-i18n [zh_TW]: Created mo file.
[ 17%] dashboard-i18n [cs]: Created mo file.
[ 17%] [ 17%] dashboard-i18n [da]: Created mo file.
Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper_utils.c.o
[ 19%] dashboard-i18n [de]: Created mo file.
[ 19%] dashboard-i18n [el_GR]: Created mo file.
[ 19%] [ 19%] dashboard-i18n [es]: Created mo file.
Building CXX object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 20%] dashboard-i18n [et]: Created mo file.
[ 20%] dashboard-i18n [fi_FI]: Created mo file.
[ 20%] dashboard-i18n [fr]: Created mo file.
[ 21%] dashboard-i18n [hu_HU]: Created mo file.
[ 21%] dashboard-i18n [it]: Created mo file.
[ 21%] dashboard-i18n [nb_NO]: Created mo file.
[ 23%] dashboard-i18n [nl]: Created mo file.
[ 23%] dashboard-i18n [pl]: Created mo file.
[ 23%] dashboard-i18n [pl_PL]: Created mo file.
[ 24%] dashboard-i18n [pt_BR]: Created mo file.
[ 24%] dashboard-i18n [pt_PT]: Created mo file.
[ 24%] dashboard-i18n [ru]: Created mo file.
[ 25%] dashboard-i18n [sv]: Created mo file.
[ 25%] dashboard-i18n [tr_TR]: Created mo file.
[ 26%] dashboard-i18n: Done.
[ 26%] Built target dashboard-i18n
[ 26%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/response.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 26%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rmb.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 28%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/sentence.cpp.o
2 warnings generated.
clang: warning: argument unused during compilation: '-rdynamic'
[ 28%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/talkerid.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 28%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rmc.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/src/garmin/jeeps/garmin_wrapper.h:32:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/navutil.h:45:
In file included from /Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chcanv.h:42:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/chart1.h:316:10: warning: 'MyFrame::DoSetSize' hides overloaded virtual function [-Woverloaded-virtual]
    void DoSetSize(void);
         ^
/usr/local/Cellar/wxmac/2.9.4.0/include/wx-2.9/wx/osx/window.h:361:18: note: hidden overloaded virtual function 'wxWindow::DoSetSize' declared here
    virtual void DoSetSize(int x, int y,
                 ^
[ 29%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hexvalue.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 29%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/lat.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 29%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/expid.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
1 warning generated.
Linking CXX static library libGARMINHOST.a
[ 29%] Built target GARMINHOST
[ 30%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/wpl.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 30%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rte.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 30%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdt.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 32%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdg.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 32%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdm.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 32%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gll.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 33%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/vtg.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
[ 33%] [ 33%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gsv.cpp.o
Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gga.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
clang: warning: argument unused during compilation: '-rdynamic'
[ 34%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/GPwpl.cpp.o
clang: warning: argument unused during compilation: '-rdynamic'
Linking CXX static library libNMEA0183.a
[ 34%] Built target NMEA0183
make: *** [all] Error 2
Hope you can make some sense of these errors, it seems that maybe a conflict of names somewhere?

Thanks,
Freddie
sbfreddie is offline   Reply With Quote
Old 20-09-2012, 19:28   #102
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN Beta Version 3.1.915 Released

freddie...

OK, lets ignore the warnings for now. The only hard error relates to the class wxGCDC. It is undefined in your build tree.

Code:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s52plib.h:420:22: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
        void SetTargetGCDC( wxGCDC* gdc );
This class exists in my documentation for wxWidgets 2.9, as well as of course 2.8. But maybe it does not exist for the Mac.

I can't find it in the wxWidgets source tree for cocoa, but I see it in the carbon tree. Maybe that's the problem.

I really don't understand the differences/implications for carbon vs cocoa. Can you tell me about that?

Dave
bdbcat is offline   Reply With Quote
Old 21-09-2012, 02:35   #103
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: OpenCPN Beta Version 3.1.915 Released

Quote:
Originally Posted by bdbcat View Post
I really don't understand the differences/implications for carbon vs cocoa. Can you tell me about that?
Dave
Carbon is 32-bit and Cocoa is 64-bit.

Gerhard
CarCode is online now   Reply With Quote
Old 21-09-2012, 04:19   #104
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Davao, Philippines
Posts: 1,776
Send a message via Skype™ to phiggins
Re: OpenCPN Beta Version 3.1.915 Released

Has anyone tried using Accelerated Graphics (OpenGL) mode with this version? When I do it no longer displays any charts. But I am using Windows 8 and there seems to be some issues using OpenGL with this windows version. Google earth also runs very slowly in OpenGL mode.

BTW I don't recommend going to Windows 8 unless you want to relearn everything you ever knew about windows, like how to shut it down, launch file explorer and many other things. After how great Win7 was, Windows 8 is big let down for me.
__________________
Paul,
" One moment you are running along, the next you are no more." Dean Spanley
phiggins is offline   Reply With Quote
Old 21-09-2012, 09:20   #105
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 175
Images: 1
Send a message via Skype™ to sbfreddie
Re: OpenCPN Beta Version 3.1.915 Released

Quote:
Originally Posted by bdbcat View Post
freddie...

OK, lets ignore the warnings for now. The only hard error relates to the class wxGCDC. It is undefined in your build tree.

Code:
/Users/freddie/Desktop/OpenCPN3.1.919/opencpn/include/s52plib.h:420:22: error: unknown type name 'wxGCDC'; did you mean 'wxDC'?
        void SetTargetGCDC( wxGCDC* gdc );
This class exists in my documentation for wxWidgets 2.9, as well as of course 2.8. But maybe it does not exist for the Mac.

I can't find it in the wxWidgets source tree for cocoa, but I see it in the carbon tree. Maybe that's the problem.

I really don't understand the differences/implications for carbon vs cocoa. Can you tell me about that?

Dave
Dave:
The Carbon libs go all the way back to Mac OS 7 and CarCode is correct they are all 32 bit. Apple has deprecated all the carbon libs, but they are still supported for now. But they have not been updated for many years now.
This Tidbit is the apple's developer website:

Code:
What Is Cocoa?

Cocoa is an application environment for both the OS X operating system and iOS, the operating system used on Multi-Touch devices such as iPhone, iPad, and iPod touch. It consists of a suite of object-oriented software libraries, a runtime system, and an integrated development environment.

This chapter expands on this definition, describing the purpose, capabilities, and components of Cocoa on both platforms. Reading this functional description of Cocoa is an essential first step for a developer trying to understand Cocoa.

The Cocoa Environment

Cocoa is a set of object-oriented frameworks that provides a runtime environment for applications running in OS X and iOS. Cocoa is the preeminent application environment for OS X and the only application environment for iOS. (Carbon is an alternative environment in OS X, but it is a compatibility framework with procedural programmatic interfaces intended to support existing OS X code bases.) Most of the applications you see in OS X and iOS, including Mail and Safari, are Cocoa applications. An integrated development environment called Xcode supports application development for both platforms. The combination of this development environment and Cocoa makes it easy to create a well-factored, full-featured application.

Introducing Cocoa
As with all application environments, Cocoa presents two faces; it has a runtime aspect and a development aspect. In its runtime aspect, Cocoa applications present the user interface and are tightly integrated with the other visible components of the operating system; in OS X, these include the Finder, the Dock, and other applications from all environments.

But it is the development aspect that is the more interesting one to programmers. Cocoa is an integrated suite of object-oriented software components—classes—that enables you to rapidly create robust, full-featured OS X and iOS applications. These classes are reusable and adaptable software building blocks; you can use them as-is or extend them for your specific requirements. Cocoa classes exist for just about every conceivable development necessity, from user-interface objects to data formatting. Where a development need hasn’t been anticipated, you can easily create a subclass of an existing class that answers that need.

Cocoa has one of the most distinguished pedigrees of any object-oriented development environment. From its introduction as NeXTSTEP in 1989 to the present day, it has been continually refined and tested (see “A Bit of History”). Its elegant and powerful design is ideally suited for the rapid development of software of all kinds, not only applications but command-line tools, plug-ins, and various types of bundles. Cocoa gives your application much of its behavior and appearance “for free,” freeing up more of your time to work on those features that are distinctive. (For details on what Cocoa offers, see “Features of a Cocoa Application.”)
I guess eventually O will have to migrate all the Carbon calls to Cocoa.

However I did an otools on all the dylibs in my wxwidgets 2.9.4 build and they are all 64 bits, this is a problem for a i386 (32 bit) build. I am going to see if I can build the wxwidgets libs for Universal (32 and 64 bit). I only use HomeBrew to install things I need.

Thanks,
Freddie
sbfreddie is offline   Reply With Quote
Reply

Tags
opencpn


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 09:35.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.