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 02-11-2022, 13:23   #1
Registered User

Join Date: Nov 2022
Posts: 2
Mac Build Error 5.7.1 openssl/err.h

When building from current source I get this error:
mongoose.h:1234:10: fatal error: 'openssl/err.h' file not found
the file libs/mongoose/CMakeLists.txt was changed recently and the openssl
library and include directories are now hard coded to:
message(STATUS "Mongoose: APPLE: Setting OpenSSL...")
target_include_directories(
MONGOOSE
PUBLIC /usr/local/opt/openssl@3/include
)
target_link_libraries(
MONGOOSE
PRIVATE /usr/local/opt/openssl@3/lib/libcrypto.3.dylib
/usr/local/opt/openssl@3/lib/libssl.3.dylib
These do not exist so build fails.
with building on system with macports all the needed include files are under /opt/local/libexec/openssl3/include
the libraries are under /opt/local/lib
the mongoose/CMakeList.txt from a week or so before does not have this
error. If I correct the paths everything builds fine. Not sure if this is the right place to post this
Thanks
mantar is offline   Reply With Quote
Old 03-11-2022, 07:05   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,394
Re: Mac Build Error 5.7.1 openssl/err.h

Mantar...


Welcome.
For OCPN build errors, the first step is to compare your logs and build environment to our canonical reference build found in the CircleCI build logs. These CI builds are performed on "bare metal" platforms, and so are a pretty reliable source. In addition, these build artifacts are destined to be the "official" OCPN release binaries.



Here is the latest build:
https://app.circleci.com/pipelines/g...81db/jobs/3648


In the script: "generic-build-macos.sh", you will see that we use "brew" for build dependencies. I suspect that there will be path differences for your build using macports.


Dave
.
bdbcat is offline   Reply With Quote
Old 03-11-2022, 09:31   #3
Registered User

Join Date: Nov 2022
Posts: 2
Re: Mac Build Error 5.7.1 openssl/err.h

Thanks Dave.
I've building OpenCPN for over a year now from current sources.
I just was wondering why all of a sudden there were changes made to

the libs/mongoose/CMakeLists.txt that broke the build for me.
I can edit the file and put the correct paths in and it builds fine.
Or I can revert to an earlier version of the file and it builds fine.
No big deal I'm just posting in case someone else has run across the same problem
mantar is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Older AC panel, err, confusion basssears Electrical: Batteries, Generators & Solar 20 14-06-2021 08:53
Error in Index Error calculation in Celestial Navigation plug-in MarkN OpenCPN 7 25-04-2020 10:33
W10 build error on cairo.h sailorF54 OpenCPN 13 23-02-2018 07:44
Err umm does "Mosaic Cleaner" contain Phosphoric acid? ErikFinn Construction, Maintenance & Refit 9 20-02-2017 09:02
New Since Last Time-ish, err ya ;p Arr AndrewSouth Meets & Greets 2 26-12-2010 10:21

Advertise Here


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


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.