Cruisers Forum
 


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-05-2012, 16:33   #46
Registered User

Join Date: May 2010
Posts: 49
Re: OpenCPN Runs on Embedded ARM

Hi ticki,
I am having trouble building OpenCPN on my (brand new) BeagleBoard xM.
I've searched and scratched my head a lot before posting. :-)
Any help is much appreciated.

root@beagleboard:~/opencpn/build# cmake ../
-- *** Build Architecture is armel
-- *** Staging to build opencpn 2.6.1718 ***
-- OpenGL not found...
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find wxWidgets (missing: wxWidgets_FOUND)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindwxWidgets.cmake:818 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:130 (FIND_PACKAGE)
bobmor99 is offline   Reply With Quote
Old 18-05-2012, 17:29   #47
Registered User

Join Date: May 2010
Posts: 49
Re: OpenCPN Runs on Embedded ARM

P.S. I am running the Angstrom Narcissus-generated Beagleboard validated Gnome image.
I have installed quite a few additional packages (via opkg) e.g. gcc, to get to where I'm stuck.
Apologies to all if this is not a valid Cruisers Forum topic.
bobmor99
aka Ox
bobmor99 is offline   Reply With Quote
Old 18-05-2012, 19:21   #48
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: OpenCPN Runs on Embedded ARM

bobmor...

Code:
Could NOT find wxWidgets (missing: wxWidgets_FOUND)
You need wxWidgets. It will probably need to be compiled from scratch from wxwidgets.org sources.

Dave
bdbcat is offline   Reply With Quote
Old 20-05-2012, 10:10   #49
Registered User

Join Date: Mar 2010
Posts: 24
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by bobmor99 View Post
P.S. I am running the Angstrom Narcissus-generated Beagleboard validated Gnome image.
I have installed quite a few additional packages (via opkg) e.g. gcc, to get to where I'm stuck.
Apologies to all if this is not a valid Cruisers Forum topic.
bobmor99
aka Ox
You have to Install the wxwidgets, you dont Need to Compile you can Download it ? See te thrad here : Index of /ticki

Also Install liebeglu via opkg install libglu .
See the threads bevore with Alu.

Best regards
Ticki
ticki is offline   Reply With Quote
Old 22-05-2012, 18:01   #50
Registered User

Join Date: May 2010
Posts: 49
Smile Re: OpenCPN Runs on Embedded ARM

Hi Ticki,
Thank you very much for your help. OpenCPN now runs very nicely on my Beagleboard -xM.
One very minor point (for other noobs like myself), to install libglu, you need a "1" at the end:
Code:
 opkg install libglu1
I also installed mesa - not sure if that was necessary.
Code:
opkg install mesa
bobmor99 is offline   Reply With Quote
Old 22-05-2012, 18:39   #51
Registered User

Join Date: May 2010
Posts: 49
Re: OpenCPN Runs on Embedded ARM

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

Code:
Could NOT find wxWidgets (missing: wxWidgets_FOUND)
You need wxWidgets. It will probably need to be compiled from scratch from wxwidgets.org sources.

Dave
Thanks Dave.
I managed to get wxwidgets compiled. I ran into some other confusion and shifted my focus to ticki's already rolled stuff. I'll try again to compile OpenCPN from scratch for the Beagleboard. If successful, I'll document the steps for other noobs like myself.
Cheers
bobmor99 is offline   Reply With Quote
Old 23-05-2012, 06:56   #52
Alu
Registered User

Join Date: May 2012
Posts: 8
Re: OpenCPN Runs on Embedded ARM

Hi bobmor99,

nice to hear that there are more beagleboard user.
Do you work with cm93 charts? If OCPN scans my cm93 folder than it hangs.

Alu
Alu is offline   Reply With Quote
Old 23-05-2012, 07:24   #53
Registered User

Join Date: May 2010
Posts: 49
Re: OpenCPN Runs on Embedded ARM

Hi Alu,
Quote:
nice to hear that there are more beagleboard user.
Do you work with cm93 charts? If OCPN scans my cm93 folder than it hangs.
CM93 (also know as vector or ENC) charts cause OCPN to hang. The raster charts work great.
I am not experienced enough to help nohal and ticki with the debugging. I need to learn to compile OCPN from scratch so I can add some debug stuff for the CM93 hangs.
Cheers
bobmor99 is offline   Reply With Quote
Old 23-05-2012, 16:30   #54
Registered User

Join Date: May 2010
Posts: 49
Re: OpenCPN Runs on Embedded ARM

I am hoping to better understand how to compile/(c)make OCPN on the Beagleboard.
(Back in the day, I compiled (and linked) stuff for a living but this collaborative internet development is equally amazing and confusing.)
At any rate, I have a couple of new sticking points.
1) cmake is down to a couple of complaints:
a)
Code:
-- Could NOT find TinyXML  (missing:  TINYXML_INCLUDE_DIR TINYXML_LIBRARIES)
along with
Code:
-- tinyxml library not found
b)
Code:
-- Gps library not found
2) make gets to 7% and then complains
Code:
[  7%] Building CXX object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o
In file included from /home/root/opencpn/include/navutil.h:46,
                 from /home/root/opencpn/src/garmin/jeeps/garmin_wrapper.h:32,
                 from /home/root/opencpn/src/garmin/jeeps/garmin_wrapper.cpp:22:
/home/root/opencpn/include/chcanv.h:148: error: 'GLuint' does not name a type

...

/home/root/opencpn/include/chartbase.h:322: error: expected ',' or '...' before '&' token
/home/root/opencpn/include/chartbase.h:323: error: ISO C++ forbids declaration of 'wxGLContext' with no type
make[2]: *** [CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o] Error 1
make[1]: *** [CMakeFiles/GARMINHOST.dir/all] Error 2
make: *** [all] Error 2
Regarding tinyxml, I downloaded and unzipped it. Then (per readme) did a make clean, followed by a make. I can't find any sort of tinyxml.lib.

Regarding libgps, I could only find libgps19 or lesser via opkg. I know there are concerns about v19 vs. v20 but my brain is full at the moment.

Many thanks in advance.
bobmor99 is offline   Reply With Quote
Old 24-05-2012, 09:33   #55
Registered User

Join Date: Mar 2010
Posts: 24
Re: OpenCPN Runs on Embedded ARM

hi bobmoor,
my way was the following:
i createt virtual machine with xubuntu.
the i installed the Narcissus SDK for the Beagleboard XM.
i installed the cmake and cmake gui
then cross-compiled all required librarys which are not available in Angstrom (wxwidgets 2.8 , tinyxml) and added it to the sdk.
then compiled opencpn with cmake.
then installed all librarys and opencpn wich i compiled by self manuall
if you like to compile it on Beagleboard directly you must compile all by self and install, or if available you must install the "dev" versions, so that all header-files also available.
the complete way to do all here, is i think not the way , the most interestet user only like to install.
I am at the moment underway , so in two weeks i back home and i upload all.

regards
ticki
ticki is offline   Reply With Quote
Old 24-05-2012, 20:03   #56
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,422
Re: OpenCPN Runs on Embedded ARM

Can someone report the performance difference for opengl on angstrom? Are you using the hdmi or parallel to and lcd? It's also possible to output to a vnc session or something with terrible performance.
seandepagnier is offline   Reply With Quote
Old 25-05-2012, 11:38   #57
Registered User

Join Date: May 2010
Posts: 49
Re: OpenCPN Runs on Embedded ARM

I am just using an HDMI monitor and am very happy with the performance.
bobmor99 is offline   Reply With Quote
Old 01-02-2013, 07:24   #58
Registered User

Join Date: Jan 2013
Location: London UK
Boat: Elizabethan 33
Posts: 4
Re: OpenCPN Runs on Embedded ARM

Ahoy there Trition Yawl - did you manage to get OpenCPN working on your Trim Slice? I have just got one for the express purpose of using OpenCPN only to find that the standard (natty/precise) versions of OpenCPN is not compatible with the ARM based Trim Slice. I have no programming skills so doubt whether I will be able to compile from source code. Any suggestions or hints from anyone gratefully received.

Thanks Tom
tomfb630 is offline   Reply With Quote
Old 01-02-2013, 11:00   #59
Registered User

Join Date: Jan 2013
Location: London UK
Boat: Elizabethan 33
Posts: 4
Re: opencpn runs on embedded ARM

Anyone able to update this link?- It does not work.

Whoops that is the link pasted by Nohal re Tikk's ARM stuff

Thanks

tom
tomfb630 is offline   Reply With Quote
Old 08-02-2013, 09:58   #60
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: OpenCPN Runs on Embedded ARM

Because the arm architecture is similar between your android tablets, 'pi' and Beagleboards - and because you are using Debian, Ubuntu and other Linux flavors that utilize apt, aptitude and dpkg , I have a few useful hints.

Package names vary depending upon your flavor of choice. So, when following installation instructions for OpenCPN or any other program you may encounter 'file not found' issues when trying to satisfy dependencies.

The * (asterisk) can be very useful in these situations. For example, if you are getting 'file not found results when trying to install wxgtk with apt, try this: 'apt-get install wx* Fedora's yum package manager is much more robust when using the wild card * as in the wx example above, but you will get a long list of packages beginning with 'wx'. Your task will be to scan through them until you locate the appropriate package name and version you want to install.

I prefer Fedora in part because of the yum package manager. If I receive a message when launching a program from a shell that a shared library such as something.so.6 cannot be found, in yum I can simply download the library package containing 'something.so.6' thusly: 'yum install something.so.6' This will download the package containing 'something.so.6' and any dependencies.

Unfortunately the stable arm version of Fedora 17 is for the armV5tel architecture, but still compatible with armV7 cpus. I have used the android apk called Linux Deploy to install this Fedora arm version to my Motorola Xoom. OpenCpn installed into Fedora without any problem. I am still however trying to get zyGrib installed with buttons.. It installs, but lacks icon buttons.

armido
armido 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
Open CPN and Google Earth bgrimwade OpenCPN 19 09-12-2011 15:32
OpenCPN Version 2.5 Release bdbcat OpenCPN 86 02-09-2011 18:14
OpenCPN Stops Running BobLarkin OpenCPN 2 30-08-2011 23:38
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31

Advertise Here


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


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.