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 26-07-2011, 14:24   #46
Registered User

Join Date: Jul 2011
Location: Germany
Boat: C&C 25
Posts: 17
Re: OpenCPN Version 2.4 Release Candidate 720

Hi Dave,

Quote:
Originally Posted by bdbcat View Post
Hi there....

Before I pull the trigger, lets have one more smoke test.
Compiles on all current versions of opensuse and starts up on at least opensue 11.4/X86_64

Will be available soon on my repo.

regards
Steffen
steffenp is offline   Reply With Quote
Old 26-07-2011, 16:18   #47
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
Re: OpenCPN Version 2.4 Release Candidate 720

Quote:
Originally Posted by nohal View Post
Just one thing left: Did you here from SethDart lately? We should either update the logbook plugin to the latest git code to have a version working with 2.5.0 or temporarily remove it from PlugIns | Official OpenCPN Homepage
Hi Pavel,

I updated i386 version 3 days ago but could not get 2.4.720 to compile on my Ubuntu 11.04 amd64 VM

Code:
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `GpxDocument::~GpxDocument()':
gpxdocument.cpp:(.text+0x1b2): undefined reference to `TiXmlString::nullrep_'
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `GpxDocument::~GpxDocument()':
gpxdocument.cpp:(.text+0x1e2): undefined reference to `TiXmlString::nullrep_'
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `GpxSimpleElement::GpxSimpleElement(wxString const&, wxString const&)':
gpxdocument.cpp:(.text+0x18d7): undefined reference to `TiXmlString::assign(char const*, unsigned long)'
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `TiXmlDocument::~TiXmlDocument()':
gpxdocument.cpp:(.text._ZN13TiXmlDocumentD2Ev[_ZN13TiXmlDocumentD5Ev]+0x12): undefined reference to `TiXmlString::nullrep_'
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `TiXmlDocument::~TiXmlDocument()':
gpxdocument.cpp:(.text._ZN13TiXmlDocumentD0Ev[_ZN13TiXmlDocumentD5Ev]+0x12): undefined reference to `TiXmlString::nullrep_'
collect2: ld returned 1 exit status
Dave, this may be related to reported failure to install to 11.04
That patch allowed me to compile cleanly:

Code:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5ec9233..6218453 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -325,9 +325,12 @@ SET(SRC_TINYXML
       )
 
 IF(TINYXML_FOUND)
+    message (STATUS "Building with tinyxml includes")
     INCLUDE_DIRECTORIES(${TINYXML_INCLUDE_DIR})
+    ADD_DEFINITIONS(-DTIXML_USE_STL)
 ELSE(TINYXML_FOUND)
   SET(SRCS ${SRCS} ${SRC_TINYXML})
+    message (STATUS "tinyxml library not found")
 ENDIF(TINYXML_FOUND)
 
 
diff --git a/include/gpxdocument.h b/include/gpxdocument.h
index 949865d..a138aa9 100644
--- a/include/gpxdocument.h
+++ b/include/gpxdocument.h
@@ -29,7 +29,6 @@
 
 #include <wx/wx.h>
 #include <tinyxml.h>
-#include <tinystr.h>
 #include <stdio.h>
 
 const wxString GpxxColorNames[] = { _("Black"), _("DarkRed"), _("DarkGreen"), _("DarkYellow"), _("DarkBlue"), _("Da
diff --git a/include/navutil.h b/include/navutil.h
index 549ba14..07d05bc 100644
--- a/include/navutil.h
+++ b/include/navutil.h
@@ -44,7 +44,7 @@
 #include "bbox.h"
 #include "s52s57.h"
 #include "chcanv.h"
-#include "tinyxml.h"
+#include <tinyxml.h>
 #include "gpxdocument.h"
 
 extern bool LogMessageOnce(wxString &msg);
diff --git a/src/navutil.cpp b/src/navutil.cpp
index 982a034..72f6956 100644
--- a/src/navutil.cpp
+++ b/src/navutil.cpp
@@ -58,7 +58,7 @@
 #include "routeman.h"
 #include "s52utils.h"
 #include "chartbase.h"
-#include "tinyxml.h"
+#include <tinyxml.h>
 #include "gpxdocument.h"
 
 #ifdef USE_S57
The only required part is ADD_DEFINITIONS in CMakeLists.txt others are cosmetic.

Pavel, now all logbook plugins should work. Tested on all 4 platforms/arches
SethDart is offline   Reply With Quote
Old 26-07-2011, 16:44   #48
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN Version 2.4 Release Candidate 720

Sethdart....

OK, I pushed the small patch to CMakeLists.txt for 11.04/64.

In git speak, it happens after 2.5.0, but I think I will let it stand, and not bump the Release to 2.5.1.....Just a slight imperfection....

Dave
bdbcat is online now   Reply With Quote
Old 26-07-2011, 22:54   #49
Registered User

Join Date: May 2011
Posts: 847
Looks good here on windows 7, didnt have time to put it onto Ubuntu here, no bandwidth for the download. Well done!

There is glitch with the GE plugin. The status bar at the bottom of the GE window is overwritten by the OCPN status bar. This was probably the case before but I have only just started playing with GE so I'll mention this in a GE thread
Littlechay is offline   Reply With Quote
Old 27-07-2011, 12:06   #50
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 Version 2.4 Release Candidate 720

Dave..

I had constructed a lot of extra .xpm icons for the Mark Properties box but since the new OCPN version they are all gone. I have re-entered them in both 'icons' as well as 'User icons' sub-directories together with the standard icons but they do not show up?

What could be the problem?

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 27-07-2011, 17:42   #51
Registered User

Join Date: Sep 2006
Location: Keswick, ON Canada
Boat: Islander 36
Posts: 82
Re: OpenCPN Version 2.4 Release Candidate 720

I tried to install ver 2.3.1 on SUSE 11.3 - 32bit the Fedora flavor using YAST. It calls for mesa-libGL. I have mesa-3D graphics library .....

Steffen you installed on SUSE ... any comments?? Thanks !!
Rodz is offline   Reply With Quote
Old 27-07-2011, 23:45   #52
Registered User

Join Date: Jul 2011
Location: Germany
Boat: C&C 25
Posts: 17
Re: OpenCPN Version 2.4 Release Candidate 720

Rodz,

I not really tried this old version but you may find prebuild binaries somewhere in the buildservice.

Version 2.5.0 builds without problems on opensuse or you use my packages on OBS here: 1-Klick-Installation (Opensuse 11.3)
I can not test for 11.3, reports welcome

regards Steffen
steffenp 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Version 2.4 Release Candidate 714 bdbcat OpenCPN 45 22-07-2011 05:58
OpenCPN Version 2.4 Beta Build 628 bdbcat OpenCPN 63 15-07-2011 18:17
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31
OpenCPN Version 2.4 Beta Build 708 bdbcat OpenCPN 34 12-07-2011 13:20

Advertise Here


All times are GMT -7. The time now is 08:24.


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.