-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add CMake, reformat README.md, rename examples and remove relative include paths #46
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't able to build.
Running cmake . && cmake --build .
in the root directory I get:
[ 63%] Linking C executable puttrain
/usr/bin/ld: libadikted/libadikted.so: undefined reference to `ceil'
/usr/bin/ld: libadikted/libadikted.so: undefined reference to `acos'
/usr/bin/ld: libadikted/libadikted.so: undefined reference to `sin'
/usr/bin/ld: libadikted/libadikted.so: undefined reference to `sqrt'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/puttrain.dir/build.make:87: puttrain] Error 1
make[1]: *** [CMakeFiles/Makefile2:177: CMakeFiles/puttrain.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
When I run it in the libadikted
folder it builds and links just fine.
Trying to tun the command from the mapslang
folder gives me:
-- The C compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for one of the modules 'slang'
-- Checking for one of the modules 'libadikted'
CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:707 (message):
None of the required 'libadikted' found
Call Stack (most recent call first):
CMakeLists.txt:27 (pkg_search_module)
-- Configuring incomplete, errors occurred!
See also "/home/dotted/ADiKtEd/mapslang/CMakeFiles/CMakeOutput.log".
I've added extra standard C libs to the root directory now. |
Continued in #48 |
No description provided.