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 28-12-2020, 14:53   #1
Registered User

Join Date: Dec 2020
Posts: 3
Compile on armv7h

I have a arm-based touchscreen PC that I'd like to use, and was expecting this work work as it's similar to the pi. But I get a compile error:

==> ERROR: opencpn is not available for the 'armv7h' architechure.

Has anybody troubleshot this with any luck yet, or is it a known limitation of opencpn?

Thanks in advance!
apampe is offline   Reply With Quote
Old 28-12-2020, 15:18   #2
Registered User

Join Date: Dec 2020
Posts: 134
Re: Compile on armv7h

Are you really compiling it from source?

Where did you get the source code? What compiler are you using?
KompetentKrew is offline   Reply With Quote
Old 28-12-2020, 15:34   #3
Registered User

Join Date: Dec 2020
Posts: 3
Re: Compile on armv7h

I'm using arch on a TS-7990 (embeddarm.com).

Compiling the package from Arch User Repository: https://aur.archlinux.org/packages/opencpn/

which uses sources from:
https://github.com/OpenCPN/OpenCPN/a...e_5.2.4.tar.gz

Compiles with cmake and gcc/g++ (from the "makepkg" package management script)


I believe this error is coming from the compiler itself, not the AUR package management script. I'll try to compile without the package script to verify that tonight.
apampe is offline   Reply With Quote
Old 29-12-2020, 05:40   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: Compile on armv7h

Find Mgrouch's repository for touchscreen
https://www.cruisersforum.com/forums...en-244005.html
rgleason is online now   Reply With Quote
Old 29-12-2020, 06:16   #5
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
Re: Compile on armv7h

Quote:
Originally Posted by apampe View Post
I believe this error is coming from the compiler itself, not the AUR package management script. I'll try to compile without the package script to verify that tonight.
This comes from the AUR package management script, because the PKGBUILD file in AUR contains
Code:
arch=('x86_64' 'aarch64')
It has nothing to do with the compiler or OpenCPN itself.
nohal is offline   Reply With Quote
Old 29-12-2020, 18:08   #6
Registered User

Join Date: Dec 2020
Posts: 3
Re: Compile on armv7h

Ah yes I was far off, and jumpy to post wanting to get a practical perspective and join the forums here as I am a new boat owner and learning a lot lately.


I have added my armv7h architecture to the PKGCONFIG, corrected a few .h includes with the libraries: pango glib harfbuzz. Then I had to disable the msse2 compile flag, which I'm unsure of the consequences but it is continuing to compile.... slowly....



I wish I would have seen the other thread mentioned! I'll be sure to respond over there if I get this setup working.
apampe is offline   Reply With Quote
Reply


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
How to compile opencpn codes on Windows 7, not use Visual Studio 2010 bailizi OpenCPN 1 18-07-2012 02:40
Can Someone Help Compile on Raspberry Pi ? jimseng OpenCPN 11 06-07-2012 16:24
make package from a fresh compile: about files right?? manuprenlair OpenCPN 8 11-06-2012 22:44
Compile for Arm processor jimseng OpenCPN 6 28-04-2012 00:18
Fedora Compile Link Error oystercatcher OpenCPN 4 16-12-2010 15:37

Advertise Here


All times are GMT -7. The time now is 11:12.


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.