dragonforce
dragonforce copied to clipboard
Failing compilation
-- Configuring done
CMake Warning (dev) at CMakeLists.txt:7 (add_executable):
Policy CMP0003 should be set before this line. Add code such as
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "bruter" links to some libraries for which the linker must
search:
rt, ssl, crypto
and other libraries with known full path:
/opt/tools/WIFI/dragonforce/libutil.a
CMake is adding directories in the second list to the linker search path in
case they are needed to find libraries from the first list (for backwards
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
more information.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /opt/tools/WIFI/dragonforce
Consolidate compiler generated dependencies of target util
[ 38%] Built target util
Consolidate compiler generated dependencies of target bruter
[ 46%] Building CXX object CMakeFiles/bruter.dir/timingresults.cpp.o
/opt/tools/WIFI/dragonforce/timingresults.cpp: In constructor ‘PasswordSignature::PasswordSignature(const char*)’:
/opt/tools/WIFI/dragonforce/timingresults.cpp:413:14: error: ‘runtime_error’ is not a member of ‘std’
413 | throw std::runtime_error("Could not open signature file");
| ^~~~~~~~~~~~~
make[2]: *** [CMakeFiles/bruter.dir/build.make:118: CMakeFiles/bruter.dir/timingresults.cpp.o] Errore 1
make[1]: *** [CMakeFiles/Makefile2:113: CMakeFiles/bruter.dir/all] Errore 2