Page 3 of 3

PostPosted: Wed Nov 20, 2013 03:55
by jojoa1997
if someone would tell me how to cross compile from linux to windows i would love to help but the gen in util doesnt work.

PostPosted: Wed Nov 20, 2013 13:05
by evorios
== How i compile this fork ==

== My System ==
Windows XP SP3
MSVC9.0 (2008)

== Libs ==
OpenAL 1.1
curl-7.32.0
freetype-2.5.0.1
gettext 0.14.4
irrlicht-1.8
leveldbwin 1.20
libogg-1.3.1
libvorbis-1.3.3
LuaJIT-2.0.2
zlib-1.2.8

[spoiler=my CMakeCache.txt]
Code: Select all
# This is the CMakeCache file.
# For build in directory: c:/Work/git/minetest/minetest_next2
# It was generated by CMake: C:/devutils/cmake/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Build client
BUILD_CLIENT:BOOL=ON

//Build server
BUILD_SERVER:BOOL=OFF

//For backwards compatibility, what version of CMake commands and
// syntax should this version of CMake try to support.
CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4

//Build type: Debug or Release
CMAKE_BUILD_TYPE:STRING=Release

//Semicolon separated list of supported configuration types, only
// supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything
// else will be ignored.
CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo

//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING= /DWIN32 /D_WINDOWS /W3 /GR /EHsc

//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=/D_DEBUG /MDd /Zi /Ob0 /Od /RTC1

//Flags used by the compiler during release minsize builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /D NDEBUG

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /D NDEBUG

//Flags used by the compiler during Release with Debug Info builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /D NDEBUG

//Libraries linked by defalut with all C++ applications.
CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib

//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING= /DWIN32 /D_WINDOWS /W3

//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=/D_DEBUG /MDd /Zi /Ob0 /Od /RTC1

//Flags used by the compiler during release minsize builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /D NDEBUG

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /D NDEBUG

//Flags used by the compiler during Release with Debug Info builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /D NDEBUG

//Libraries linked by defalut with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib

//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=' /machine:X86 '

//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL:YES

//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO

//Flags used by the linker during Release with Debug Info builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL:YES

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files/minetest

//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio 9.0/VC/bin/link.exe

//make program
CMAKE_MAKE_PROGRAM:FILEPATH=C:/PROGRA~1/MICROS~1.0/Common7/IDE/devenv.com

//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=' /machine:X86 '

//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL:YES

//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO

//Flags used by the linker during Release with Debug Info builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL:YES

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=minetest

//RC compiler
CMAKE_RC_COMPILER:FILEPATH=rc

//Flags for Fortran compiler.
CMAKE_RC_FLAGS:STRING=' '

//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=' /machine:X86 '

//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL:YES

//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO

//Flags used by the linker during Release with Debug Info builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL:YES

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=OFF

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=OFF

//If true, cmake will use relative paths in makefiles and projects.
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=OFF

//Enable to build ZIP source packages
CPACK_SOURCE_ZIP:BOOL=ON

//Path of the cURL dll (for installation)
CURL_DLL:FILEPATH='C:\Work\git\minetest\curl-7.32.0\lib\Release\libcurl.dll '

//Path to a file.
CURL_INCLUDE_DIR:PATH=C:\Work\git\minetest\curl-7.32.0\include

//Path to a library.
CURL_LIBRARY:FILEPATH=C:\Work\git\minetest\curl-7.32.0\builds\libcurl-vc8-x86-release-dll-ipv6-sspi-spnego-winssl-obj-lib\libcurl.lib

//Directory to install binaries into
CUSTOM_BINDIR:STRING=

//Directory to install documentation into
CUSTOM_DOCDIR:STRING=

//Directory to install example config file into
CUSTOM_EXAMPLE_CONF_DIR:STRING=

//path to custom gettext
CUSTOM_GETTEXT_PATH:FILEPATH=C:/Work/git/minetest/minetest_next2/src/../../gettext

//Directory to install icons into
CUSTOM_ICONDIR:STRING=

//Directory to install l10n files into
CUSTOM_LOCALEDIR:STRING=

//Directory to install manpages into
CUSTOM_MANDIR:STRING=

//Directory to install data files into
CUSTOM_SHAREDIR:STRING=

//Directory to install .desktop files into
CUSTOM_XDG_APPS_DIR:STRING=

//Enable cURL support for fetching media
ENABLE_CURL:BOOL=ON

//Enable freetype2 (truetype fonts and basic unicode support)
ENABLE_FREETYPE:BOOL=ON

//Use GetText for internationalization
ENABLE_GETTEXT:BOOL=ON

//Enable LevelDB backend
ENABLE_LEVELDB:BOOL=ON

//Enable sound
ENABLE_SOUND:BOOL=ON

//Single output directory for building all executables.
EXECUTABLE_OUTPUT_PATH:PATH=C:/Work/git/minetest/minetest_next2/Release

//freetype include dir
FREETYPE_INCLUDE_DIR_freetype2:PATH=C:\Work\git\minetest\freetype-2.5.0.1\include\freetype

//freetype include dir
FREETYPE_INCLUDE_DIR_ft2build:PATH=C:\Work\git\minetest\freetype-2.5.0.1\include

//Path to freetype247.lib
FREETYPE_LIBRARY:FILEPATH=C:\Work\git\minetest\freetype-2.5.0.1\objs\win32\vc2008\freetype250MT.lib

//gettext *intl*.dll
GETTEXT_DLL:FILEPATH=C:/Work/git/minetest/gettext/bin/libintl3.dll

//gettext *iconv*.lib
GETTEXT_ICONV_DLL:FILEPATH=C:/Work/git/minetest/gettext/bin/libiconv2.dll

//gettext include directory
GETTEXT_INCLUDE_DIR:PATH=C:/Work/git/minetest/gettext/include

//gettext *intl*.lib
GETTEXT_LIBRARY:FILEPATH=C:/Work/git/minetest/gettext/lib/libintl.lib

//path to msgfmt
GETTEXT_MSGFMT:FILEPATH=C:/Work/git/minetest/gettext/bin/msgfmt.exe

//Path of the Irrlicht dll (for installation)
IRRLICHT_DLL:FILEPATH=C:\Work\git\minetest\irrlicht-1.8\bin\Win32-VisualStudio\Irrlicht.dll

//Path to a file.
IRRLICHT_INCLUDE_DIR:PATH=C:\Work\git\minetest\irrlicht-1.8\include

//Path to a library.
IRRLICHT_LIBRARY:FILEPATH=C:\Work\git\minetest\irrlicht-1.8\lib\Win32-visualstudio\Irrlicht.lib

//Path to irrlicht source directory (optional)
IRRLICHT_SOURCE_DIR:PATH=C:\Work\git\minetest\irrlicht-1.8\source

//Path to a file.
LEVELDB_INCLUDE_DIR:PATH=C:\Work\git\minetest\leveldbwin\lib_leveldb_vc9\include

//Path to a library.
LEVELDB_LIBRARY:FILEPATH=C:\Work\git\minetest\leveldbwin\lib_leveldb_vc9\lib\ReleaseDll\leveldb.lib

//Single output directory for building all libraries.
LIBRARY_OUTPUT_PATH:PATH=C:/Work/git/minetest/minetest_next2/Release

//Disable non-ansi features.
LUA_ANSI:BOOL=OFF

//Path to lua51.dll (for installation)
LUA_DLL:FILEPATH=C:\Work\git\minetest\LuaJIT-2.0.2\src\lua51.dll

//Path to a file.
LUA_INCLUDE_DIR:PATH=C:\Work\git\minetest\LuaJIT-2.0.2\src

//Path to a library.
LUA_LIBRARY:FILEPATH=C:\Work\git\minetest\LuaJIT-2.0.2\src\lua51.lib

//Enable dlopen support.
LUA_USE_DLOPEN:BOOL=ON

//Path to mingwm10.dll (for installation)
MINGWM10_DLL:FILEPATH=C:\MinGW\bin\mingwm10.dll

//Path to libogg.dll for installation (optional)
OGG_DLL:FILEPATH=C:\Work\git\minetest\libogg-1.3.1\win32\VS2008\Win32\Release\libogg.dll

//Path to a file.
OGG_INCLUDE_DIR:PATH=C:\Work\git\minetest\libogg-1.3.1\include

//Path to a library.
OGG_LIBRARY:FILEPATH=C:\Work\git\minetest\libogg-1.3.1\lib\libogg.lib

//Path to OpenAL32.dll for installation (optional)
OPENAL_DLL:FILEPATH=C:\WINDOWS\system32\OpenAL32.dll

//Path to a file.
OPENAL_INCLUDE_DIR:PATH=C:\Program Files\OpenAL 1.1 SDK\include

//Path to a library.
OPENAL_LIBRARY:FILEPATH=C:\Program Files\OpenAL 1.1 SDK\libs\Win32\OpenAL32.lib

//Run directly in source directory structure
RUN_IN_PLACE:BOOL=ON

//Path to a file.
SQLITE3_INCLUDE_DIR:PATH=SQLITE3_INCLUDE_DIR-NOTFOUND

//Path to a library.
SQLITE3_LIBRARY:FILEPATH=SQLITE3_LIBRARY-NOTFOUND

//Stuff to append to version string
VERSION_EXTRA:STRING=next

//Path to libvorbisfile.dll for installation (optional)
VORBISFILE_DLL:FILEPATH=C:\Work\git\minetest\libvorbis-1.3.3\win32\VS2008\Win32\Release\libvorbisfile.dll

//Path to a library.
VORBISFILE_LIBRARY:FILEPATH=C:\Work\git\minetest\libvorbis-1.3.3\win32\VS2008\Win32\Release\libvorbisfile.lib

//Path to libvorbis.dll for installation (optional)
VORBIS_DLL:FILEPATH=C:\Work\git\minetest\libvorbis-1.3.3\win32\VS2008\Win32\Release\libvorbis.dll

//Path to a file.
VORBIS_INCLUDE_DIR:PATH=C:\Work\git\minetest\libvorbis-1.3.3\include

//Path to a library.
VORBIS_LIBRARY:FILEPATH=C:\Work\git\minetest\libvorbis-1.3.3\win32\VS2008\Win32\Release\libvorbis.lib

//Enable -Wall for Release build
WARN_ALL:BOOL=ON

//Path to zlibwapi.dll (for installation)
ZLIB_DLL:FILEPATH=C:/Work/git/minetest/zlib-1.2.7/contrib/vstudio/vc9/x86/ZlibDllRelease/zlibwapi.dll

//Zlib include directory
ZLIB_INCLUDE_DIR:PATH=C:/Work/git/minetest/zlib-1.2.7

//Path to zlibwapi.lib
ZLIB_LIBRARIES:FILEPATH=C:/Work/git/minetest/zlib-1.2.7/contrib/vstudio/vc9/x86/ZlibDllRelease/zlibwapi.lib

//Dependencies for the target
cguittfont_LIB_DEPENDS:STATIC=general;C:\Work\git\minetest\irrlicht-1.8\lib\Win32-visualstudio\Irrlicht.lib;general;C:\Work\git\minetest\freetype-2.5.0.1\objs\win32\vc2008\freetype250MT.lib;general;C:/Work/git/minetest/zlib-1.2.7/contrib/vstudio/vc9/x86/ZlibDllRelease/zlibwapi.lib;

//Dependencies for target
jsoncpp_LIB_DEPENDS:STATIC=

//Value Computed by CMake
lua_BINARY_DIR:STATIC=C:/Work/git/minetest/minetest_next2/src/lua

//Dependencies for target
lua_LIB_DEPENDS:STATIC=

//Value Computed by CMake
lua_SOURCE_DIR:STATIC=C:/Work/git/minetest/minetest_next2/src/lua

//Value Computed by CMake
minetest_BINARY_DIR:STATIC=C:/Work/git/minetest/minetest_next2/src

//Value Computed by CMake
minetest_SOURCE_DIR:STATIC=C:/Work/git/minetest/minetest_next2/src

//Dependencies for target
sqlite3_LIB_DEPENDS:STATIC=


########################
# INTERNAL cache entries
########################

//Stored GUID
ALL_BUILD_GUID_CMAKE:INTERNAL=C5CC300A-20EB-4160-B603-E5A2C1AA9682
//ADVANCED property for variable: CMAKE_BUILD_TOOL
CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
//What is the target build tool cmake is generating for.
CMAKE_BUILD_TOOL:INTERNAL=C:/PROGRA~1/MICROS~1.0/Common7/IDE/devenv.com
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=c:/Work/git/minetest/minetest_next2
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=11
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/devutils/cmake/bin/cmake.exe
//ADVANCED property for variable: CMAKE_CONFIGURATION_TYPES
CMAKE_CONFIGURATION_TYPES-ADVANCED:INTERNAL=1
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=C:/devutils/cmake/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=C:/devutils/cmake/bin/ctest.exe
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=C:/devutils/cmake/bin/cmake-gui.exe
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Visual Studio 9 2008
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=C:/Work/git/minetest/minetest_next2
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=11
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/devutils/cmake/share/cmake-2.8
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//Suppress Warnings that are meant for the author of the CMakeLists.txt
// files.
CMAKE_SUPPRESS_DEVELOPER_WARNINGS:INTERNAL=FALSE
//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_SOURCE_ZIP
CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: EXECUTABLE_OUTPUT_PATH
EXECUTABLE_OUTPUT_PATH-ADVANCED:INTERNAL=1
//Details about finding CURL
FIND_PACKAGE_MESSAGE_DETAILS_CURL:INTERNAL=[C:\Work\git\minetest\curl-7.32.0\builds\libcurl-vc8-x86-release-dll-ipv6-sspi-spnego-winssl-obj-lib\libcurl.lib][C:\Work\git\minetest\curl-7.32.0\include][v()]
//Details about finding Freetype
FIND_PACKAGE_MESSAGE_DETAILS_Freetype:INTERNAL=[C:\Work\git\minetest\freetype-2.5.0.1\objs\win32\vc2008\freetype250MT.lib][C:\Work\git\minetest\freetype-2.5.0.1\include;C:\Work\git\minetest\freetype-2.5.0.1\include\freetype][v()]
//Details about finding IRRLICHT
FIND_PACKAGE_MESSAGE_DETAILS_IRRLICHT:INTERNAL=[C:\Work\git\minetest\irrlicht-1.8\lib\Win32-visualstudio\Irrlicht.lib][C:\Work\git\minetest\irrlicht-1.8\include][v()]
//Details about finding OpenAL
FIND_PACKAGE_MESSAGE_DETAILS_OpenAL:INTERNAL=[C:\Program Files\OpenAL 1.1 SDK\libs\Win32\OpenAL32.lib][C:\Program Files\OpenAL 1.1 SDK\include][v()]
//ADVANCED property for variable: FREETYPE_INCLUDE_DIR_freetype2
FREETYPE_INCLUDE_DIR_freetype2-ADVANCED:INTERNAL=1
//ADVANCED property for variable: FREETYPE_INCLUDE_DIR_ft2build
FREETYPE_INCLUDE_DIR_ft2build-ADVANCED:INTERNAL=1
//ADVANCED property for variable: FREETYPE_LIBRARY
FREETYPE_LIBRARY-ADVANCED:INTERNAL=1
//Stored GUID
GenerateVersion_GUID_CMAKE:INTERNAL=8B5FC8B4-1BDB-44A9-9674-087EE38B9E3E
//Stored GUID
INSTALL_GUID_CMAKE:INTERNAL=E94313E1-BB4A-4837-9D9E-F7725778CEF0
//ADVANCED property for variable: IRRLICHT_DLL
IRRLICHT_DLL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: IRRLICHT_INCLUDE_DIR
IRRLICHT_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: IRRLICHT_LIBRARY
IRRLICHT_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LIBRARY_OUTPUT_PATH
LIBRARY_OUTPUT_PATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LUA_ANSI
LUA_ANSI-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LUA_INCLUDE_DIR
LUA_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LUA_LIBRARY
LUA_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LUA_USE_DLOPEN
LUA_USE_DLOPEN-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OGG_INCLUDE_DIR
OGG_INCLUDE_DIR-ADVANCED:INTERNAL=0
//ADVANCED property for variable: OGG_LIBRARY
OGG_LIBRARY-ADVANCED:INTERNAL=0
//ADVANCED property for variable: OPENAL_INCLUDE_DIR
OPENAL_INCLUDE_DIR-ADVANCED:INTERNAL=0
//ADVANCED property for variable: OPENAL_LIBRARY
OPENAL_LIBRARY-ADVANCED:INTERNAL=0
//Stored GUID
PACKAGE_GUID_CMAKE:INTERNAL=C2CCD3C9-C2D9-4387-B0E3-7418F47A07E0
//Stored GUID
SG_Filter_CMake Rules_GUID_CMAKE:INTERNAL=90CECEC6-3325-4DCA-86F8-AA088742D117
//Stored GUID
SG_Filter_Header Files_GUID_CMAKE:INTERNAL=D055FBB1-87A0-4ED0-A96A-EE71545A1FD1
//Stored GUID
SG_Filter_Object Files_GUID_CMAKE:INTERNAL=8DE5103E-D58D-4341-8992-65E1D7E98C15
//Stored GUID
SG_Filter_Resources_GUID_CMAKE:INTERNAL=8D104CDF-7B67-434E-ABCD-F2A4A438F7EF
//Stored GUID
SG_Filter_Source Files_GUID_CMAKE:INTERNAL=0A0C48E2-5632-48EF-8352-8B9E20A66D02
//ADVANCED property for variable: SQLITE3_INCLUDE_DIR
SQLITE3_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SQLITE3_LIBRARY
SQLITE3_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: VORBISFILE_LIBRARY
VORBISFILE_LIBRARY-ADVANCED:INTERNAL=0
//ADVANCED property for variable: VORBIS_INCLUDE_DIR
VORBIS_INCLUDE_DIR-ADVANCED:INTERNAL=0
//ADVANCED property for variable: VORBIS_LIBRARY
VORBIS_LIBRARY-ADVANCED:INTERNAL=0
//Stored GUID
ZERO_CHECK_GUID_CMAKE:INTERNAL=4C37E785-F99D-400E-98E6-2D316CBD26FF
//Stored GUID
cguittfont_GUID_CMAKE:INTERNAL=40EAEEB4-2B0E-41D8-ADA7-F0274D946AF9
//Stored GUID
jsoncpp_GUID_CMAKE:INTERNAL=E9E06D6F-6C54-4388-B4F1-A75E87266920
//Stored GUID
lua_GUID_CMAKE:INTERNAL=98F2CEBE-2158-4912-A162-5A6DF59BC482
//Stored GUID
minetest_GUID_CMAKE:INTERNAL=73360E7A-4151-4D21-85C9-294DDEEAD4B4
//Stored GUID
sqlite3_GUID_CMAKE:INTERNAL=A553BCD4-FD12-4084-9545-68F1DC020B9A
//Stored GUID
translations_GUID_CMAKE:INTERNAL=BCABFDFA-B008-45EE-A7C1-AE6CA826E86F
[/spoiler]

Do not use this file directly. It for example.

== First step ==
Compile this libs to dll-files in MSVC with compile directive /MD
(Project/Properties/Config props/C++/Create code/Runtime library):

curl-7.32.0 (there is have some errors with ssl, disable it in cmake-configuration)
freetype-2.5.0.1
leveldbwin
libogg-1.3.1
libvorbis-1.3.3
LuaJIT-2.0.2
zlib-1.2.8

Some of libs may be download precompiled.

== Second step ==
Run cmake-gui and enter path to source code.
Configure: find all dlls and libs.
Generate.
Open minetest.sln in MSVC.

[spoiler=Edit project files]
Code: Select all
[b]\minetest_next\src\cguittfont\irrUString.h[/b]
#ifndef USTRING_NO_STL
#    include <string>
#    include <iterator>
#    include <ostream>
#    include <functional> //Add this line
#endif


[b]\minetest_next\src\mandelbulber\fractal.cpp[/b]
#include "..\util\mathconstants.h"
line 1182: distance = (L - log(log(r) / log((double)N)) / log(p))/100.0;


[b]\minetest_next\src\gettext.cpp[/b]
line 66: LOCALE_SENGLANGUAGE,
[/spoiler]


Then edit properties of "minetest" project:
Project/Properties/Config props/Linker/Input/Ignore library = libcmt.lib

Edit \minetest_next\src\cmake_install.cmake :
- find path to "mingwm10.dll" and correct it if incorrect;
- replace all single characters "\" to "\\" in paths.


== Build solution (F6) ==

Then go to Building/build package/
Check "PACKAGE/Release" and press "Build".
Unzip file "\minetest_next\minetest-0.4.7-next-win32.zip" to some directory.
Copy files "lua51.dll" and "leveldb.dll" from libs source path to "some directory\bin".
Configure "some directory\minetest.conf".
Run "some directory\bin\minetest.exe".

== Whew! ==

PostPosted: Wed Nov 20, 2013 17:50
by Inocudom
Fess might be able to benefit from the information above.

PostPosted: Sun Nov 24, 2013 03:59
by OmniStudent
NICE WORK! Thanks :)

evorios wrote:...

PostPosted: Sun Nov 24, 2013 09:32
by proller
updated to 0.4.8

PostPosted: Sun Nov 24, 2013 21:07
by proller

PostPosted: Sun Nov 24, 2013 22:03
by Inocudom
proller wrote:0.4.8-next windows build http://minetest.setun.net/next/minetest-0.4.8-next.zip


Very good, proller. You were able to make a Windows build of your next branch.

PostPosted: Mon Nov 25, 2013 22:45
by stormchaser3000
epic proller now all you need to do is make a build script to run on some domain (if you have one) that compiles the build and then uploads it daily

PostPosted: Tue Nov 26, 2013 04:51
by hoodedice
proller wrote:0.4.8-next windows build http://minetest.setun.net/next/minetest-0.4.8-next.zip


ERROR[main]: Some exception: "Failed to create socket"

PostPosted: Tue Nov 26, 2013 06:36
by proller
try in minetest.conf:
ipv6_server=false

(its enabled by default in this branch)

PostPosted: Tue Nov 26, 2013 08:59
by rubenwardy
proller wrote:most important changes:
- 99% lag-free. optimized server, can handle 50-100-... players, no problems with laggy mods, even on slow hardware (ARM)
- much faster on client (vbo, can eat memory), increased view,send range
- nicer looks (#799)
- better dynamic weather and liquids
- less bugs
- weather defined water or ice on map generation. (freezed oceans if low temperature)
and dirt_with_snow instead of dirt_with_grass when too cold.
- weather defined tree and flowers growing
- cave trees in huge caves (indev mapgen)
- optimized falling (much less mid-air stuck, limited max falling speed)
- fixed and optimized headless client (you can run 30-50 bots on one PC)
- hell (very hot at -30500), anything melting and burning


If this is true, why is this not merged in main?

99% lag-free: If this is not true, can I get my money back?

PostPosted: Tue Nov 26, 2013 09:44
by proller
because nobody is interested in this?

yes, 40 days money back guarantee.

PostPosted: Tue Nov 26, 2013 12:51
by hoodedice
CRASH!

Code: Select all
In trans_func.
Access violation at 00532B3A write?=0 address=448532292
In trans_func.
Access violation at 00532B3A write?=0 address=448532292
18:20:19: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Access violation

In thread 17c4:
..\..\src\minetest\src\server.cpp:142: ServerThread::Thread: Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 280:
#0  main
(Leftover data: #1  Client::step)
(Leftover data: #2  ClientEnvironment::step)
(Leftover data: #3  Client::Receive)
(Leftover data: #4  Client::ProcessData)
(Leftover data: #5  MeshUpdateQueue::addBlock)
DEBUG STACK FOR THREAD f50:
#0  MeshUpdateThread::Thread
DEBUG STACK FOR THREAD 17c4:
#0  ServerThread::Thread
(Leftover data: #1  Server::AsyncRunStep)
(Leftover data: #2  Map::transformLiquidsFinite)
(Leftover data: #3  RemoteClient::GetNextBlocks)
(Leftover data: #4  ItemStack::serialize)
(Leftover data: #5  ServerMap::loadSectorMeta)
DEBUG STACK FOR THREAD 17f8:
#0  EmergeThread::Thread
(Leftover data: #1  ServerMap::loadBlock)
(Leftover data: #2  ServerMap::createSector: p2d=(1,-2))


Enjoy.

rubenwardy wrote:
proller wrote:most important changes:
- 99% lag-free. optimized server, can handle 50-100-... players, no problems with laggy mods, even on slow hardware (ARM)
- much faster on client (vbo, can eat memory), increased view,send range
- nicer looks (#799)
- better dynamic weather and liquids
- less bugs
- weather defined water or ice on map generation. (freezed oceans if low temperature)
and dirt_with_snow instead of dirt_with_grass when too cold.
- weather defined tree and flowers growing
- cave trees in huge caves (indev mapgen)
- optimized falling (much less mid-air stuck, limited max falling speed)
- fixed and optimized headless client (you can run 30-50 bots on one PC)
- hell (very hot at -30500), anything melting and burning


If this is true, why is this not merged in main?

99% lag-free: If this is not true, can I get my money back?


I need my money back. This is even slower than RBA's shaders build

PostPosted: Tue Nov 26, 2013 17:07
by Inocudom
This branch seems to run fine on my computer. Why is that not so on yours, hoodedice? What are the specs of your computer?

PostPosted: Tue Nov 26, 2013 17:16
by hoodedice
Inocudom wrote:This branch seems to run fine on my computer. Why is that not so on yours, hoodedice? What are the specs of your computer?


C2D @2.93 GHz
4 GB RAM
Intel GMA

Next build >10 fps

RBA ~= 20 fps+

PostPosted: Tue Nov 26, 2013 17:25
by proller
and what v_range value (in f5) in this builds ?
and in clean release 0.4.8

PostPosted: Tue Nov 26, 2013 18:06
by Topywo
I got this error message:

18:45:06: ERROR[main]: loadSchematicFile: invalid schematic file
18:45:06: ERROR[main]: register_decoration: failed to load schematic file 'treewprob.mts'

Minetest-Next seems to run fine (singleplayer). Rendering of the screen is the same as 0.4.8. Fps a little bit lower 18/19 (0.4.8) versus 14/15 (next), but next is running with the weather mod (rain, snow, ice). Finally I saw a 'working' moonflower (nice!).

Weather temperature and humidity work, although I noticed at least once a big (20 c) difference in a small area.


Edit: textual. + both running with jungles and dungeons.

PostPosted: Tue Nov 26, 2013 19:54
by BrandonReese
I am going to test your outlandish claims, and hope you are right. In single player I was still getting 50-60fps with weather and everything on, so we'll see how that translates to a dedicated server. Compiling and setting up a server using the latest back up of my Landrush Server.

landrush.bremaweb.com port 39000

PostPosted: Tue Nov 26, 2013 20:02
by Inocudom
People are finally starting to test this branch. I hope things turn out well, for this branch has a number of features that could greatly enhance Minetest in the future.

PostPosted: Thu Nov 28, 2013 18:17
by proller
Development of all features continued here - http://freeminer.org/ , https://github.com/freeminer/freeminer