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

Can't build in Linux using cmake as there is no build directory #167

Open
aknight2015 opened this issue Nov 18, 2022 · 3 comments
Open

Can't build in Linux using cmake as there is no build directory #167

aknight2015 opened this issue Nov 18, 2022 · 3 comments

Comments

@aknight2015
Copy link

aknight2015@penguin:~/Programs/MagicSetEditor2$ cmake build -DCMAKE_BUILD_TYPE=Release CMake Error: The source directory "/home/aknight2015/Programs/MagicSetEditor2/build" does not exist. Specify --help for usage, or press the help button on the CMake GUI.

@mattiasb
Copy link

Try:

aknight2015@penguin:~/Programs/MagicSetEditor2$ mkdir build && cmake build -DCMAKE_BUILD_TYPE=Release

:)

@aknight2015
Copy link
Author

Sooooooo.
aknight2015@penguin:~/Programs/MagicSetEditor2$ mkdir build aknight2015@penguin:~/Programs/MagicSetEditor2$ cmake build -DCMAKE_BUILD_TYPE=Release CMake Error: The source directory "/home/aknight2015/Programs/MagicSetEditor2/build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI.
What do I need to copy into the build directory, besides CMakeLists.txt

@aknight2015
Copy link
Author

I tried copying CMakeLists.txt into the build folder.

`aknight2015@penguin:~/Programs/MagicSetEditor2$ cmake build -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- 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
-- Found wxWidgets: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0;-lwx_baseu_net-3.0;-lwx_gtk3u_html-3.0 (found suitable version "3.0.5", minimum required is "3")
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake:141 (find_package):
Could not find a package configuration file provided by "boost_regex"
(requested version 1.74.0) with any of the following names:

boost_regexConfig.cmake
boost_regex-config.cmake

Add the installation prefix of "boost_regex" to CMAKE_PREFIX_PATH or set
"boost_regex_DIR" to a directory containing one of the above files. If
"boost_regex" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake:258 (boost_find_component)
/usr/share/cmake-3.18/Modules/FindBoost.cmake:448 (find_package)
CMakeLists.txt:9 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/aknight2015/Programs/MagicSetEditor2/CMakeFiles/CMakeOutput.log".`

CMakeOutput.log

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

2 participants