Closed rgleason closed 9 years ago
Although "ocpndc.h" is referenced in several OpenCPN modules it isn't really needed in the reference list for this program. I deleted it and the plug-in compiled fine. My compiler doesn't show a reference for the header file so I don't really know where it is or isn't. Maybe it's virtual.
----- Original Message ----- From: "Rick Gleason" notifications@github.com To: "cowelld/tackandlay_pi" tackandlay_pi@noreply.github.com Sent: Thursday, February 05, 2015 8:09 AM Subject: [tackandlay_pi] Need a file called 'ocpndc.h' to compile (#3)
Tried again after git fetch and git pull with new files downloaded. Same problem. Do I have this file available with Opencpn src?
Build FAILED. "C:\Data-Dart\Up-Soft\Navigation\o-plugin\tackandlay_pi\build\ALL_BUILD.vcxproj" (default target) (1) -> "C:\Data-Dart\Up-Soft\Navigation\o-plugin\tackandlay_pi\build\tackandlay_pi.vcxp roj" (default target) (3) -> (ClCompile target) -> c:\data-dart\up-soft\navigation\o-plugin\tackandlay_pi\src\tackandlay_pi.h(34) : fatal error C1083: Cannot open include file: 'ocpndc.h': No such file or direc tory [C:\Data-Dart\Up-Soft\Navigation\o-plugin\tackandlay_pi\build\tackandlay_pi .vcxproj] 0 Warning(s) 1 Error(s)
Reply to this email directly or view it on GitHub: https://github.com/cowelld/tackandlay_pi/issues/3
For Windows complle In the file tackandlay_pi.h Line 34 change with "//"
// #include "ocpndc.h"
Then copy opencpn.lib for version 4.0 to the /build directory and it will then complie from the /build directory with
cmake .. cmake --build . cmake --build . --config release cpack leaving an executable
Thank you Dave.
Actually you do not need the file. You just need to comment out its inclusion in src/tackandlay_pi.h Line 34
Tried again after git fetch and git pull with new files downloaded. Same problem. Do I have this file available with Opencpn src?