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 15-09-2023, 05:30   #1
Registered User
 
Schnapsy's Avatar

Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 245
Images: 3
dashboard_tactics_pi : fatal error LNK1181

I compile OpenCPN and some plugins without problem.

Yesterday, when trying to compile the dashboard_tactics_pi plugin, I got an error message: LINK: fatal error LNK1181: impossible to open the input file 'opencpn.lib'. (see illustration)

What do I need to modify or add to this plugin to be able to compile it?
Attached Thumbnails
Click image for larger version

Name:	fatal error2.jpg
Views:	27
Size:	287.6 KB
ID:	281025  
Schnapsy is offline   Reply With Quote
Old 15-09-2023, 07:16   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,639
Images: 2
Re: dashboard_tactics_pi : fatal error LNK1181

you need opencpn.lib and cmakelists.txt should have a path to it.


You do not say what version or repository you are using.


We are in the middle of a big transition so this may be related, but the master branch should work.
Is this Windows? What repos? What branch?


Why aren't you using the PIM version?
rgleason is offline   Reply With Quote
Old 16-09-2023, 01:51   #3
Registered User
 
Schnapsy's Avatar

Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 245
Images: 3
Re: dashboard_tactics_pi : fatal error LNK1181

Sorry Rick for responding late; I will try to clarify my approach.

Opencpn 5.8.4 on Win10.
Of course, I use the plugin manager.
The repo I use must be yours, it is at this address:
https://github.com/rgleason/dashboard_tactics_pi/

In this specific case, dashboard_tactics_pi, I simply want to modify/customize one or two plugin parameters.
I do this without any problem on other plugins, that's why I'm surprised by this error message...

Quote:
you need opencpn.lib and cmakelists.txt should have a path to it.
This is indeed what I understood by reading different threads on the forum, such as
https://www.cruisersforum.com/forums...ml#post3106699
https://www.cruisersforum.com/forums...ml#post2888946
https://www.cruisersforum.com/forums...ml#post2842074

However, I still haven't figured out how to do it, especially since in the "cmakelists.txt" file of my compilation, there is no trace of a path to opencpn.lib and I don't know where and how to write it.
Schnapsy is offline   Reply With Quote
Old 16-09-2023, 04:53   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,639
Images: 2
Re: dashboard_tactics_pi : fatal error LNK1181

I am not sure, but you don't specify a branch.
Normally for this plugin I use the mnt151-frontend2 branch.
but right now I have created a new branch called "streamline"


That branch uses a libs directory with

C:\Users\fcgle\source\dashboard_tactics_pi\libs\oc pn-api\msvc
which has opencpn.lib.


Please try that branch for now.

We are going to be re-configuring this plugin quite a lot in the next few weeks, so it will be changing.
rgleason is offline   Reply With Quote
Old 17-09-2023, 08:22   #5
Registered User
 
Schnapsy's Avatar

Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 245
Images: 3
Re: dashboard_tactics_pi : fatal error LNK1181

Quote:
We are going to be re-configuring this plugin quite a lot in the next few weeks, so it will be changing.
OK
After several unsuccessful attempts, I think I will wait, especially since there is no emergency...
Schnapsy is offline   Reply With Quote
Old 28-09-2023, 02:20   #6
Registered User
 
Schnapsy's Avatar

Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 245
Images: 3
Re: dashboard_tactics_pi : fatal error LNK1181

Quote:
Originally Posted by rgleason View Post
I am not sure, but you don't specify a branch.
Normally for this plugin I use the mnt151-frontend2 branch.
...
I didn't quite understand this explanation.
After a few nights of sleep and a little perspective, I confirm that the compilation works perfectly.
Thanks again
Schnapsy 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
Error in Index Error calculation in Celestial Navigation plug-in MarkN OpenCPN 7 25-04-2020 10:33
4 out of 5 Spinlock Deck Vests Failed in Fatal Accident Cpt Pat Health, Safety & Related Gear 52 15-10-2013 11:36
Suddenly Overboard: True Stories of Sailors in Fatal Trouble IslandHopper The Library 2 11-05-2013 14:17
Fatal Coast Guard Accident in San Diego clausont Cruising News & Events 24 23-08-2010 15:12
Fatal Collision GordMay Rules of the Road, Regulations & Red Tape 11 05-08-2010 15:10

Advertise Here


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


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.