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 04-08-2021, 18:23   #1
Registered User

Join Date: Aug 2021
Posts: 3
Compiling OpenCPN Source Code

Hi everyone, thanks for welcoming me to the community.

I am trying to compile the source code of OpenCPN from Github. I have been stuck on this for about 2 days now. I was wondering if anyone has managed to compile the source code and build the project in VS or CodeBlocks. I would really appreciate if anyone can guide me to the right direction or assist in compiling and building the project for either Visual Studio or Code Blocks.

Thank you kindly,

Nirav P.
nirav is offline   Reply With Quote
Old 05-08-2021, 00:01   #2
Registered User

Join Date: Aug 2021
Posts: 3
Re: Compiling OpenCPN Source Code

The problem I face is with Libusb. I can't past the error of LibUSB and can not actually compile the project. I would appreciate any help on this. Thanks.
nirav is offline   Reply With Quote
Old 05-08-2021, 05:21   #3
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,248
Re: Compiling OpenCPN Source Code

nirav..
I use to follow these advises:
https://opencpn.org/wiki/dokuwiki/do...piling_windows
Hakan is online now   Reply With Quote
Old 11-08-2021, 23:25   #4
Registered User

Join Date: Aug 2021
Posts: 3
Re: Compiling OpenCPN Source Code

Quote:
Originally Posted by Hakan View Post
nirav..
I use to follow these advises:
https://opencpn.org/wiki/dokuwiki/do...piling_windows

I tried both Hakan. For Linux and Windows. But the instruction for windows are outdated and doesn't seem to work. With Linux, the issue is with "LibUSB". Ran into a couple of errors that prevents from making a build.

With windows, I can not compile/ build due to wxwidget incompability. Did you run into any issue when you followed windows compilation?

Thanks,
Nirav
nirav is offline   Reply With Quote
Old 12-08-2021, 03:05   #5
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Compiling OpenCPN Source Code

Nirav...

The instructions for Windows are not outdated and do work. If followed. They are followed to the point by the CI builds and those builds are done for each single commit to the Git repository, so if they were outdated and did not work we would probably know that.

Same with Linux, but there slight nuances are possible based on your distribution and the way it packages the compile time dependencies.

If you have some problem, please post the exact errors you are getting and information about your environment in case of "Linux".
nohal is offline   Reply With Quote
Old 12-08-2021, 05:42   #6
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,248
Re: Compiling OpenCPN Source Code

Nirav...


Trust Nohal the excellent author of the instructions. And yes they do work well for me. Both for Win and Linux. But do carefully read and follow all words in the wiki. They all matters. No shortcuts.

Håkan
Hakan is online now   Reply With Quote
Reply

Tags
compile, development, enc, Error, 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
Working with OpenCPN source code on Linux egon.5004 OpenCPN 8 23-02-2016 03:16
What IDE use to edit openCPN source code zodd OpenCPN 17 17-05-2013 07:31
error compiling openCPN on ARM Chromebook / lUbuntu raring chris14679 OpenCPN 5 24-02-2013 20:25
Compiling OpenCPN - Error when trying to start X7JAY7X OpenCPN 12 19-06-2011 00:57
Compiling OpenCPN on Fedora 12 inSaNo OpenCPN 9 08-12-2009 04:09

Advertise Here


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


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.