Build Error During Make Command
Hello, I am having mingw32-make: *** No targets specified and no makefile found. Stop. error after make command during the build process. My OS is Windows 64 bits and i am using MSYS2 MinGWx64 . During build, I executed these commands ;
git clone https://github.com/potassco/plasp.git
cd plasp
mkdir -p build/release
cd build/release
git submodule update --init --recursive
cmake ../.. -DCMAKE_BUILD_TYPE=Release
mingw32-make
After cmake command I got ;
-- Building for: Visual Studio 16 2019
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
-- The CXX compiler identification is MSVC 19.28.29913.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at lib/tokenize/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is MSVC 19.28.29913.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at lib/colorlog/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at lib/pddl/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_BUILD_TYPE
-- Build files have been written to: D:/Users/suuser/Desktop/Courses/Thesis/Planner/plasp/build/release
And after mingw32-make command I got ;
mingw32-make: *** No targets specified and no makefile found. Stop.
May you please help me about this problem ? Thanks. Genco Cosgun
Hi Genco,
sorry for the late reply. I tried compiling this myself and had the same errors as you. I needed to do a couple things to make this work.
First, I used the development branch so I recommend doing this aswell. Remember to do
git submodule init
git submodule update
before anything else.
Maybe this step is not neccesary for you but I had to go into the lib\cxxopts\include\cxxopts.cpp file and add
#include <limits>
Then, for the cmake command use:
cmake ../.. -DCMAKE_BUILD_TYPE=Release -G"MinGW Makefiles"
Finally, compiling with mingw-32-make worked
Hi @Genco2,
could you confirm if the solution I provided worked for you?
Thank you, Klaus
Hello, thanks a lot for your answer. Due to my close deadline of thesis, I had to use another planner. However I will try your answer asap and response here. Also i am sorry for my late reply. If you wish, you may close this issue, I am sorry that i kept you waiting. Genco Cosgun