MagicSetEditor2 icon indicating copy to clipboard operation
MagicSetEditor2 copied to clipboard

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

Open aknight2015 opened this issue 3 years ago • 3 comments

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.

aknight2015 avatar Nov 18 '22 02:11 aknight2015

Try:

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

:)

mattiasb avatar Nov 18 '22 11:11 mattiasb

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 avatar Nov 18 '22 13:11 aknight2015

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

aknight2015 avatar Nov 18 '22 21:11 aknight2015