Skip to content
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

Build failure due to weird cmake generated targets #36

Open
gl-yziquel opened this issue Sep 8, 2023 · 0 comments
Open

Build failure due to weird cmake generated targets #36

gl-yziquel opened this issue Sep 8, 2023 · 0 comments

Comments

@gl-yziquel
Copy link

I've been building quite a few opencog projects lately. This is the first where the usual mkdir build && cd build && cmake .. && make doesn't work. Here is the output:

minime@virtucon ~/h/c/learn (master)> mkdir build
minime@virtucon ~/h/c/learn (master)> cd build/
minime@virtucon ~/h/c/l/build (master)> ls
minime@virtucon ~/h/c/l/build (master)> cmake ..
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Guile (3.0.7 >= 2.2.2) was found.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/minime/home/cellar/learn/build
minime@virtucon ~/h/c/l/build (master)> make
Built target COPY_TO_LOAD_PATH_IN_BUILD_DIR_FROM__home_minime_home_cellar_learn_fake
Built target COPY_TO_LOAD_PATH_IN_BUILD_DIR_FROM__home_minime_home_cellar_learn_scm

Weird things: 1. it skips finding the cc and c++ compilers. 2. the autogenerated target names are out of whack and not interpolated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant