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

Building failed in Clion - error in CMakeLists.txt #355

Open
SSSelektronik opened this issue Jan 8, 2025 · 0 comments
Open

Building failed in Clion - error in CMakeLists.txt #355

SSSelektronik opened this issue Jan 8, 2025 · 0 comments

Comments

@SSSelektronik
Copy link

SSSelektronik commented Jan 8, 2025

When trying to build the project, getting the following error -
====================[ Build | abc | Debug ]=====================================
/snap/clion/310/bin/cmake/linux/x64/bin/cmake --build /mnt/nvme0n1p3/Users/sherl/abc/cmake-build-debug --target abc -j 6
[0/1] Re-running CMake...
make: *** No rule to make target 'cmake_info'. Stop.
-- Make output:
CMake Error at CMakeLists.txt:87 (extract_var):
extract_var Function invoked with incorrect arguments for function named:
extract_var

CMake Error at CMakeLists.txt:88 (extract_var):
extract_var Function invoked with incorrect arguments for function named:
extract_var

CMake Error at CMakeLists.txt:89 (extract_var):
extract_var Function invoked with incorrect arguments for function named:
extract_var

CMake Error at CMakeLists.txt:90 (extract_var):
extract_var Function invoked with incorrect arguments for function named:
extract_var

-- Configuring incomplete, errors occurred!
FAILED: build.ninja
/snap/clion/310/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/mnt/nvme0n1p3/Users/sherl/abc -B/mnt/nvme0n1p3/Users/sherl/abc/cmake-build-debug
ninja: error: rebuilding 'build.ninja': subcommand failed


Building using 'make' in terminal is working fine, but since clion doesn't support debug in makefile, I had to use cmake in clion for debugging purpose.

@SSSelektronik SSSelektronik changed the title Building failed in Clion - erro in CMakeLists.txt Building failed in Clion - error in CMakeLists.txt Jan 8, 2025
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