-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMAKE Libraries set to Not Found #7
Comments
Hi @tcputman #!/bin/bash
#
# Define how to build the libraries and executables:
BUILD_TYPE=Debug
Fortran_COMPILER=gfortran
LIBSUFFIX="so"
if [[ "$OSTYPE" == "linux-gnu" ]]; then
LIBSUFFIX="so"
elif [[ "$OSTYPE" == "darwin"* ]]; then
LIBSUFFIX="dylib"
elif [[ "$OSTYPE" == "CYGWIN"* ]]; then
LIBSUFFIX="dll"
elif [[ "$OSTYPE" == "MINGW"* ]]; then
LIBSUFFIX="dll"
fi This might work. It is untested, as I do not have Cygwin or MinGW installed. |
Hello Christopher,
Thank you for reaching out! I have not tried that yet. I will give it a
go! Enjoy your weekend.
Thanks,
Trevor
…On Fri, Jan 15, 2021 at 6:39 AM ckebschull ***@***.***> wrote:
Hi @tcputman <https://github.com/tcputman>
Thanks for the feedback. I have not applied the build script yet using
Cygwin.
It works using the Windows Subsystem for Linux though, where I have Ubuntu
installed. Did you try that yet?
Cheers,
Christopher
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOS6OORAN7R5BQBXRFHPCU3S2ASPRANCNFSM4VNPO5EA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
build.sh fails with the following error:
Creating OPI plugin
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBOPIFORTRAN
linked by target "neptune-opi" in directory /cygdrive/c/Users/putmatc1/Documents/Neptune/neptuneV3/neptune/src
LIBSLAM
linked by target "neptune-opi" in directory /cygdrive/c/Users/putmatc1/Documents/Neptune/neptuneV3/neptune/src
linked by target "neptune" in directory /cygdrive/c/Users/putmatc1/Documents/Neptune/neptuneV3/neptune/src
linked by target "neptune-sa" in directory /cygdrive/c/Users/putmatc1/Documents/Neptune/neptuneV3/neptune/src
linked by target "openmp-test-sa" in directory /cygdrive/c/Users/putmatc1/Documents/Neptune/neptuneV3/neptune/src
linked by target "neptune-valsent1b" in directory /cygdrive/c/Users/putmatc1/Documents/Neptune/neptuneV3/neptune/validation/sentinel-1b/src
find_library command in the src/CMakeLists.txt file is not returning the desired libraries (line 97). I have confirmed that the build.sh file is making the desired .so files in the lib/ directory. These .so files appear to trace to .dlls in OPI and libslam.
Here are the details for my build:
OS: Windows
Fortran compiler: gfortran
terminal: Cygwin
CMake: 3.14.5
Graphviz: 2.44.1
Any assistance is appreciated
The text was updated successfully, but these errors were encountered: