apreiml/geniedat — comment on commit 4e4389982652c20e4e4df7094b4ddf0e1d13f689
File:  line 0
By Tapsa:

I got:

C:\Juttu\AGE\sources>cd build/

C:\Juttu\AGE\sources\build>cmake -DCMAKE_EXE_LINKER_FLAGS="-static-libstdc++ -st
atic-libgcc --disable-shared --enable-static" -DCMAKE_SHARED_LINKER_FLAGS="-stat
ic-libstdc++ -static-libgcc --disable-shared --enable-static" -G "MinGW Makefile
s" -DCMAKE_BUILD_TYPE:STRING=Debug -DwxWidgets_ROOT_DIR:PATH="C:\Cpp\wxWidgets"
-DBOOST_LIBRARYDIR:PATH="C:\Cpp\boost_libs" -DBOOST_ROOT:PATH="C:\Cpp\boost_1_47
_0" -DZLIB_LIBRARY:FILEPATH="C:\Cpp\zlib\libz.a" -DZLIB_INCLUDE_DIR:PATH="C:\Cpp
\zlib" ../
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: C:/Cpp/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/Cpp/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Cpp/MinGW/bin/g++.exe
-- Check for working CXX compiler: C:/Cpp/MinGW/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.47.0
-- Found the following Boost libraries:
-- iostreams
-- Found wxWidgets: TRUE
-- Found ZLIB: C:/Cpp/zlib/libz.a (found version "1.2.5")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

CMAKE_SHARED_LINKER_FLAGS

-- Build files have been written to: C:/Juttu/AGE/sources/build

C:\Juttu\AGE\sources\build>mingw32-make
Scanning dependencies of target geniedat
[ 1%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/Research.
cpp.obj
[ 3%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/Civ.cpp.o
bj
[ 5%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/TechageEf
fect.cpp.obj
[ 7%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/Techage.c
pp.obj
[ 9%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/TechTree.
cpp.obj
[ 11%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/Terrain.c
pp.obj
[ 12%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/TerrainBo
rder.cpp.obj
[ 14%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/GraphicAt
tackSound.cpp.obj
[ 16%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/GraphicDe
lta.cpp.obj
[ 18%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/Graphic.c
pp.obj
[ 20%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/SoundItem
.cpp.obj
[ 22%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/Sound.cpp
.obj
[ 24%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/PlayerCol
our.cpp.obj
[ 25%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/File.cpp.
obj
[ 27%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/TerrainPa
ssGraphic.cpp.obj
[ 29%] Building CXX object extern/geniedat/CMakeFiles/geniedat.dir/src/ISerializ
able.cpp.obj
C:\Juttu\AGE\sources\extern\geniedat\src\ISerializable.cpp: In member function '
std::string gdat::ISerializable::readString(size_t)':
C:\Juttu\AGE\sources\extern\geniedat\src\ISerializable.cpp:107:25: error: 'strnl
en' was not declared in this scope
mingw32-make[2]: *** [extern/geniedat/CMakeFiles/geniedat.dir/src/ISerializable.
cpp.obj] Error 1
mingw32-make[1]: *** [extern/geniedat/CMakeFiles/geniedat.dir/all] Error 2
mingw32-make: *** [all] Error 2

C:\Juttu\AGE\sources\build>PAUSE
Jatka painamalla mitä tahansa näppäintä . . .