[Warzone2100-project] [Warzone 2100 Trac] #4754: can no build with cmake for VS 2017

2018-02-24 Thread Warzone 2100 Trac
#4754: can no build with cmake for VS 2017
-+-
Reporter:  alistar   |  Owner:
Type:  bug   | Status:  new
Priority:  normal|  Milestone:  unspecified
   Component:  other |Version:  unspecified
Operating System:  All/Non-Specific  |
-+-
 follow
 {{{
 Windows using MSVC

 You need Visual Studio 2015 or 2017 (recommended) CMake
 (https://cmake.org/) and QT 5.9.1 (https://www.qt.io/)
 Build dependencies are provided with vcpkg project from Microsoft. Run
 "get-dependencies.ps1" script from powershell in order to download source
 and build them.
 From now you can use cmake the canonical way or directly from Visual
 Studio 2017 ; the only requirement is to pass the
 CMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystem/vcpkg.cmake variable.
 The canonical way is the command 'cmake -H.
 -DCMAKE_TOOLCHAIN_FILE=vcpkg\scripts\buildsystem\vcpkg.cmake -Bbuild -G
 "Visual Studio 14 2015" '
 With VS2017 open the warzone 2100 folder, then "CMake menu > Change
 Cmake settings" will create a json file. There add
 "-DCMAKE_TOOLCHAIN_FILE=vcpkg\scripts\buildsystems\vcpkg.cmake" to
 cmakeCommandArgs.

 }}}

 and it always says error
 {{{
 CMake Error at
 D:/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137
 (message):
   Could NOT find PhysFS (missing: PHYSFS_LIBRARY PHYSFS_INCLUDE_DIR)
 Call Stack (most recent call first):
   D:/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377
 (_FPHSA_FAILURE_MESSAGE)
   D:/CMake/share/cmake-3.8/Modules/FindPhysFS.cmake:47
 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   vcpkg/scripts/buildsystems/vcpkg.cmake:252 (_find_package)
   lib/framework/CMakeLists.txt:3 (find_package)
 }}}

 all have been builded

 {{{
 The following packages are already installed:
 freetype[core]:x86-windows
 gettext[core]:x86-windows
 glew[core]:x86-windows
 harfbuzz[core]:x86-windows
 libiconv[core]:x86-windows
 libogg[core]:x86-windows
 libpng[core]:x86-windows
 libtheora[core]:x86-windows
 libvorbis[core]:x86-windows
 openal-soft[core]:x86-windows
 physfs[core]:x86-windows
 sdl2[core]:x86-windows
 zlib[core]:x86-windows
 Starting package 1/13: physfs:x86-windows
 Package physfs:x86-windows is already installed
 Elapsed time for package physfs:x86-windows: 334.7 us
 Starting package 2/13: openal-soft:x86-windows
 Package openal-soft:x86-windows is already installed
 Elapsed time for package openal-soft:x86-windows: 464.7 us
 Starting package 3/13: libvorbis:x86-windows
 Package libvorbis:x86-windows is already installed
 Elapsed time for package libvorbis:x86-windows: 324.2 us
 Starting package 4/13: libogg:x86-windows
 Package libogg:x86-windows is already installed
 Elapsed time for package libogg:x86-windows: 337 us
 Starting package 5/13: harfbuzz:x86-windows
 Package harfbuzz:x86-windows is already installed
 Elapsed time for package harfbuzz:x86-windows: 320.4 us
 Starting package 6/13: libiconv:x86-windows
 Package libiconv:x86-windows is already installed
 Elapsed time for package libiconv:x86-windows: 415.9 us
 Starting package 7/13: libtheora:x86-windows
 Package libtheora:x86-windows is already installed
 Elapsed time for package libtheora:x86-windows: 344.4 us
 Starting package 8/13: libpng:x86-windows
 Package libpng:x86-windows is already installed
 Elapsed time for package libpng:x86-windows: 341.8 us
 Starting package 9/13: sdl2:x86-windows
 Package sdl2:x86-windows is already installed
 Elapsed time for package sdl2:x86-windows: 332.9 us
 Starting package 10/13: glew:x86-windows
 Package glew:x86-windows is already installed
 Elapsed time for package glew:x86-windows: 316.3 us
 Starting package 11/13: freetype:x86-windows
 Package freetype:x86-windows is already installed
 Elapsed time for package freetype:x86-windows: 317.3 us
 Starting package 12/13: gettext:x86-windows
 Package gettext:x86-windows is already installed
 Elapsed time for package gettext:x86-windows: 317.3 us
 Starting package 13/13: zlib:x86-windows
 Package zlib:x86-windows is already installed
 Elapsed time for package zlib:x86-windows: 324 us

 }}}

 what is wrongs?  It build before good.

--
Ticket URL: 
Warzone 2100 Trac 
The Warzone 2100 Project
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Warzone2100-project mailing list
Warzone2100-project@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-project


[Warzone2100-project] buildbot success in Warzone2100 on master-nightly

2018-02-24 Thread buildbot
Build status: SUCCESS

Buildslave for this Build:bot-WZ-amd64-1
Complete logs for all build steps:http://buildbot.wz2100.net/builders/master-nightly/builds/1967
Build Reason:The SingleBranchScheduler scheduler named 'sched-master' triggered this build
Build Source Stamp:[branch master] 8ef4e306f364e873e8b3b75296e022e26ffb1089
Blamelist:past-due <30942300+past-...@users.noreply.github.com>

Recent Changes:

Repository:git://github.com/Warzone2100/warzone2100.git
Project:
Time:Sat Feb 24 21:33:47 2018
Changed by:past-due <30942300+past-...@users.noreply.github.com>
Comments:Fix buildbot build (lib/widget/Makefile.am)

FilesURL
lib/widget/Makefile.am:


Detailed log of last build step: http://buildbot.wz2100.net/builders/master-nightly/builds/1967/steps/shell_8/logs/stdio

Last 20 lines of "shell_8.stdio"



-The BuildBot


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Warzone2100-project mailing list
Warzone2100-project@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-project


[Warzone2100-project] buildbot failure in Warzone2100 on master-nightly

2018-02-24 Thread buildbot
Build status: FAILURE

Buildslave for this Build:bot-WZ-amd64-1
Complete logs for all build steps:http://buildbot.wz2100.net/builders/master-nightly/builds/1966
Build Reason:The SingleBranchScheduler scheduler named 'sched-master' triggered this build
Build Source Stamp:[branch master] fa6159796e1591759bf718464939087b706378f0
Blamelist:past-due <30942300+past-...@users.noreply.github.com>

Recent Changes:

Repository:git://github.com/Warzone2100/warzone2100.git
Project:
Time:Sat Feb 24 21:22:53 2018
Changed by:past-due <30942300+past-...@users.noreply.github.com>
Comments:Replace remaining QT signals / slots in Widgets
- Replace remaining uses of QT signals / slots in Widgets
- Replace remaining uses of QSignalMapper in Widgets
- Widgets no longer inherit from QObject
- Widgets no longer require QT moc

FilesURL
lib/widget/CMakeLists.txt:
lib/widget/Makefile.am:
lib/widget/bar.h:
lib/widget/button.cpp:
lib/widget/button.h:
lib/widget/editbox.h:
lib/widget/form.h:
lib/widget/label.h:
lib/widget/listwidget.cpp:
lib/widget/listwidget.h:
lib/widget/slider.h:
lib/widget/widgbase.h:
lib/widget/widget.vcxproj:
lib/widget/widget.vcxproj.filters:
macosx/Warzone.xcodeproj/project.pbxproj:
src/CMakeLists.txt:
src/Makefile.am:
src/multiint.cpp:
src/multiint.h:


Detailed log of last build step: http://buildbot.wz2100.net/builders/master-nightly/builds/1966/steps/compile_1/logs/stdio

Last 20 lines of "compile_1.stdio"
	mv -f $depbase.Tpo $depbase.Podepbase=`echo listwidget.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\	i686-w64-mingw32.static-g++ -DHAVE_CONFIG_H -I. -I../..  -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/SDL2  -Dmain=SDL_main   -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -I../../3rdparty -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtScript -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtCore -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include-g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/home/warzone2100/mxe_jan2018/us
 r/i686-w64-mingw32.static/include/harfbuzz -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/cairo -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/pixman-1  -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/libpng16 -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/freetype2 -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/glib-2.0 -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/lib/glib-2.0/include -mms-bitfields -DPCRE_STATIC   -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/freetype2   -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtScript -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtCore -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.stati
 c/qt5/include   -pipe -m32 -march=i686 -O2 -Os -g -gstabs -g3 -fno-exceptions -std=c++11 -fstack-protector -MT listwidget.o -MD -MP -MF $depbase.Tpo -c -o listwidget.o listwidget.cpp &&\	mv -f $depbase.Tpo $depbase.Podepbase=`echo slider.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\	i686-w64-mingw32.static-g++ -DHAVE_CONFIG_H -I. -I../..  -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/SDL2  -Dmain=SDL_main   -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -I../../3rdparty -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtScript -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/qt5/include/QtCore -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.s
 tatic/qt5/include-g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/harfbuzz -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/cairo -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/pixman-1  -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/libpng16 -I/home/warzone2100/mxe_jan2018/usr/i686-w64-mingw32.static/include/freetype2 

[Warzone2100-project] buildbot success in Warzone2100 on master-nightly

2018-02-24 Thread buildbot
Build status: SUCCESS

Buildslave for this Build:bot-WZ-amd64-1
Complete logs for all build steps:http://buildbot.wz2100.net/builders/master-nightly/builds/1964
Build Reason:forced: by IRC user  (privmsg): None
Build Source Stamp:HEAD
Blamelist:


Detailed log of last build step: http://buildbot.wz2100.net/builders/master-nightly/builds/1964/steps/shell_8/logs/stdio

Last 20 lines of "shell_8.stdio"



-The BuildBot


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Warzone2100-project mailing list
Warzone2100-project@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-project


[Warzone2100-project] buildbot failure in Warzone2100 on master-nightly

2018-02-24 Thread buildbot
Build status: FAILURE

Buildslave for this Build:bot-WZ-amd64-1
Complete logs for all build steps:http://buildbot.wz2100.net/builders/master-nightly/builds/1963
Build Reason:The SingleBranchScheduler scheduler named 'sched-master' triggered this build
Build Source Stamp:[branch master] 40cbef4930a61736c80c1e204eab8e3d59145edd
Blamelist:Per Inge Mathisen 

Recent Changes:

Repository:git://github.com/Warzone2100/warzone2100.git
Project:
Time:Sat Feb 24 12:59:25 2018
Changed by:Per Inge Mathisen 
Comments:Convert qtscript documentation into Markdown
This means we have to commit generated results into git,
however, the results are easier to maintain and become more
accessible.

Thanks for Forgon for assistance in improving the Markdown markup.

FilesURL
.gitignore:
Makefile.am:
README.md:
configure.ac:
data/base/script/campaign/libcampaign.js:
doc/Scripting.md:
doc/_javascript_.tex:
doc/js-campaign.md:
doc/js-events.md:
doc/js-functions.md:
doc/js-globals.md:
doc/js-objects.md:
macosx/README.md:
macosx/configs/fetchscripts/SetupPrebuiltComponents-Docs.sh:
src/qtscript.cpp:
src/qtscriptfuncs.cpp:


Detailed log of last build step: http://buildbot.wz2100.net/builders/master-nightly/builds/1963/steps/shell_9/logs/stdio

Last 20 lines of "shell_9.stdio"



-The BuildBot


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Warzone2100-project mailing list
Warzone2100-project@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-project