Quite right, sorry. After a load of warnings like those I just posted, the actual error is:
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `GpxDocument::~GpxDocument()':
gpxdocument.cpp:(.text+0x482): undefined reference to `TiXmlString::nullrep_'
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `GpxDocument::~GpxDocument()':
gpxdocument.cpp:(.text+0x4c2): undefined reference to `TiXmlString::nullrep_'
CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o: In function `GpxSimpleElement::GpxSimpleElement(wxString const&, wxString const&)':
gpxdocument.cpp:(.text+0x17d3): 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[_ZN13TiXmlDocumentD0Ev]+0x12): undefined reference to `TiXmlString::nullrep_'
collect2: error: ld returned 1 exit status
make[2]: *** [opencpn] Error 1
make[1]: *** [CMakeFiles/opencpn.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
I don't have any GPS devices installed so maybe that is the problem?
Search Criteria
Package Details: opencpn 5.10.2-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/opencpn.git (read-only, click to copy) |
---|---|
Package Base: | opencpn |
Description: | Open Source Chart Plotting / Marine Navigation |
Upstream URL: | http://opencpn.org |
Licenses: | GPL2 |
Submitter: | None |
Maintainer: | cybuzuma |
Last Packager: | cybuzuma |
Votes: | 35 |
Popularity: | 0.000050 |
First Submitted: | 2009-07-08 14:25 (UTC) |
Last Updated: | 2025-04-18 21:11 (UTC) |
Dependencies (14)
- glew (glew-libepoxyAUR, glew-wayland-gitAUR, glew-gitAUR)
- glu (glu-gitAUR)
- libarchive (libarchive-gitAUR)
- libexif (libexif-gitAUR)
- libsndfile (libsndfile-gitAUR)
- portaudio
- rapidjson (rapidjson-gitAUR)
- tinyxml (tinyxml-gitAUR)
- webkit2gtk-4.1 (webkit2gtk-4.1-imgpasteAUR)
- wxsvg
- wxwidgets-gtk3 (wxwidgets-gtk3-gitAUR, wxwidgets-gtk3-lightAUR)
- cmake (cmake-gitAUR, cmake3AUR) (make)
- lsb-release (make)
- gpsd (optional) – GPS position support
Required by (8)
Sources (3)
myles commented on 2012-06-02 21:34 (UTC)
sredna commented on 2012-06-02 12:29 (UTC)
There is no error shown in the text below, just warnings. Could you please post the actual error?
myles commented on 2012-06-01 22:45 (UTC)
Build fails for me with linking errors:
[100%] Building CXX object CMakeFiles/opencpn.dir/src/scrollingdialog.cpp.o
Linking CXX executable opencpn
/usr/bin/ld: Warning: alignment 4 of symbol `gps_device_command' in libGARMINHOST.a(garmin_wrapper.cpp.o) is smaller than 16 in libGARMINHOST.a(gpsapp.c.o)
/usr/bin/ld: Warning: alignment 8 of symbol `gps_waypt_type' in libGARMINHOST.a(garmin_wrapper.cpp.o) is smaller than 16 in libGARMINHOST.a(gpsapp.c.o)
...etc...
has anyone built this recently?
sredna commented on 2010-12-31 12:03 (UTC)
OpenCPN 2.3.1 was released today. PKGBUILD at http://aur.pastebin.com/RQEjRgNq
sredna commented on 2010-12-18 09:48 (UTC)
functional PKGBUILD for OpenCPN 2.3.0: http://aur.pastebin.com/GiquhssF
sredna commented on 2010-08-20 19:33 (UTC)
Thank you :)
I use the 2.2 beta locally, which appearently works quite well, and contains quite some advantages over 2.1, so maybe it is worth providing a separate package for that? OpenCPN seems to be evolving quickly :)
<deleted-account> commented on 2010-08-20 19:02 (UTC)
Hey, I just updated the package. I had make a small change to the source URL but it built with no problems otherwise.
sredna commented on 2010-08-18 11:06 (UTC)
I have a PKGBUILD for v 2.1, could we update this?
http://aur.pastebin.com/0jMtfj7F
Pinned Comments
cybuzuma commented on 2022-09-29 08:33 (UTC) (edited on 2025-04-19 17:51 (UTC) by cybuzuma)
Please note that when using this package, you will not be able to use the Plugin Manager but have to install plugins via the aur or compile them yourself. If you need a plugin that is not in the aur, feel free to contact me for help.
If you added a plugin to an existing install before 5.10.2-3 or compiled a plugin yourself and can not see it in the plugin list, add the following to your
~/.opencpn/opencpn.conf
file (thanks to @zimm):You can find the correct name by looking at the files in
/usr/lib/opencpn
.If you encounter errors with plugins after an opencpn update, you might need to rebuild the affected plugin, for example using
makepkg -fi
.