Installation on Windows without Admin rights
Added by Sebastian Fett almost 6 years ago
Hello WT-users,
I've recently started using WT and finished my task on a linux partition. Now I need to make sure that the same code runs under windows so I tried getting WT to run in windows.
We have a windows compilation of the boost libraries and I have run the CMake files that are included (obviously after editing the paths) in Visual Studio, yet somehow I cannot get the expected results. All folders etc are properly made but they hold no content.
I am used to installing libraries in Linux or using Python with pip so I might be doing some basic c library compiling wrong.
I included the CMake outputs as well as the feedback from Visual Studio.
Thanks for your help
Those are my settings to find boost:
SET(BOOST_VERSION 105500)
SET(BOOST_COMPILER GCC_COMPILER_VERSION)
SET(BOOST_PREFIX "P:\\local\\boost_1_55_0_win")
and the output I get is:
>
> 1> Command line: c:\program files (x86)\microsoft visual studio\2017\professional\common7\ide\commonextensions\microsoft\cmake\CMake\bin\cmake.exe -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="P:\local\WTwin\install\x64-Release" -DCMAKE_CXX_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.15.26726/bin/HostX64/x64/cl.exe" -DCMAKE_C_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.15.26726/bin/HostX64/x64/cl.exe" -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DCMAKE_MAKE_PROGRAM="c:\program files (x86)\microsoft visual studio\2017\professional\common7\ide\commonextensions\microsoft\cmake\Ninja\ninja.exe" "P:\local\redhat\wt-3.3.5_install"
> 1> Working directory: P:\local\WTwin\build\x64-Release
> 1> CMake Deprecation Warning at CMakeLists.txt:6 (CMAKE_POLICY):
> 1> The OLD behavior for policy CMP0002 will be removed from a future version
> 1> of CMake.
> 1>
> 1> The cmake-policies(7) manual explains that the OLD behaviors of all
> 1> policies are deprecated and that a policy should be set to OLD only under
> 1> specific short-term circumstances. Projects should be ported to the NEW
> 1> behavior and not rely on setting a policy to OLD.
> 1>
> 1>
> 1> CMake Deprecation Warning at CMakeLists.txt:7 (CMAKE_POLICY):
> 1> The OLD behavior for policy CMP0003 will be removed from a future version
> 1> of CMake.
> 1>
> 1> The cmake-policies(7) manual explains that the OLD behaviors of all
> 1> policies are deprecated and that a policy should be set to OLD only under
> 1> specific short-term circumstances. Projects should be ported to the NEW
> 1> behavior and not rely on setting a policy to OLD.
> 1>
> 1>
> 1> CMake Deprecation Warning at CMakeLists.txt:8 (CMAKE_POLICY):
> 1> The OLD behavior for policy CMP0005 will be removed from a future version
> 1> of CMake.
> 1>
> 1> The cmake-policies(7) manual explains that the OLD behaviors of all
> 1> policies are deprecated and that a policy should be set to OLD only under
> 1> specific short-term circumstances. Projects should be ported to the NEW
> 1> behavior and not rely on setting a policy to OLD.
> 1>
> 1>
> 1> -- Png libraries not found - set PNG_PREFIX
> 1> Looking for ssl: ssleay32MD;ssleay32, libeay32MD;libeay32
> 1> -- libharu libraries not found - set HARU_PREFIX
> 1> -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
> 1> -- Found unsuitable Qt version "" from NOTFOUND
> 1> ** Enabling multi threading.
> 1> -- Boost < 1.54, WT_SIGNALS_IMPLEMENTATION = boost.signals recommended
> 1> -- Selecting boost.signals
> 1> ** Disabled WRasterimage support. Set WT_WRASTERIMAGE_IMPLEMENTATION to GraphicsMagick or skia.
> 1> -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
> 1> ** Disabling crypto support (Auth::SHA1HashFunction, HTTPS support): requires OpenSSL.
> 1> Indicate the location of your OpenSSL library using -DSSL_PREFIX=...
> 1> ** Disabling PDF support (WPdfImage, WPdfRenderer): requires libharu.
> 1> Indicate the location of your haru library using -DHARU_PREFIX=...
> 1> ** Disabling raster image support (WRasterImage): set WT_WRASTERIMAGE_IMPLEMENTATION to GraphicsMagick or skia.
> 1> ** Disabling server-side opengl rendering for WGLWidget: requires gl, glew and WRasterImage (GraphicsMagick or skia).
> 1> ** Disabling advanced font rendering support: requires libpango.
> 1> Wt will use pkg-config to retrieve your libpango installation location.
> 1> ** Wt::Dbo: building SQLite3 backend.
> 1> ** Wt::Dbo: not building Postgres backend.
> 1> Indicate the location of your postgres installation using
> 1> -DPOSTGRES_PREFIX=...
> 1> ** Wt::Dbo: not building Firebird backend.
> 1> Indicate the location of your FirebirdSQL and IBPP installation using
> 1> -DFIREBIRD_PREFIX=... -DIBPP_SRC_DIRECTORY=...
> 1> ** Wt::Dbo: not building MySQL backend.
> 1> Indicate the location of your mariadb or mysqlclient installation using
> 1> -DMYSQL_PREFIX=... and the library to search for (e.g. mariadb or
> 1> mysqlclient) using -DMYSQL_LIBRARY=...
> 1> ** Enabling ISAPI.
> 1> ** Disabling FastCGI connector.
> 1> ** Enabling built-in httpd.
> 1> -- ** Not building gitmodel example: uses POSIX calls not available on win32
> 1> -- ** Not building mandelbrot example: requires Wt::WRasterImage.
> 1> -- ** Not building style example: requires WRasterImage.
> 1> -- ** Not building wt-homepage example: requires boost_filesystem library.
> 1> -- ** Not building wtwithqt example.
> 1> -- wtwithqt example requires a Qt4 installation.
> 1> ** Testing Wt::Dbo using Sqlite3 backend
> 1> -- Configuring done
> 1> -- Generating done
> 1> -- Build files have been written to: P:/local/WTwin/build/x64-Release
> 1> Starting CMake target info extraction ...
> 1> CMake server connection made.
> 1> Extracted includes paths.
> 1> Extracted CMake variables.
> 1> Extracted source files and headers.
> 1> Extracted global settings.
> 1> Extracted code model.
> 1> Extracted CTest info.
> 1> Collating data ...
> 1> Target info extraction done.
>
CMakeError.log (8.08 KB) CMakeError.log | |||
CMakeOutput.log (7.43 KB) CMakeOutput.log |
Replies (2)
RE: Installation on Windows without Admin rights - Added by Sebastian Fett almost 6 years ago
Apparently some of the outputs are style triggers as well :
set_(BOOST_VERSION 105500)
set_(BOOST_COMPILER GCC_COMPILER_VERSION)
set_(BOOST_PREFIX "P:\\local\\boost_1_55_0_win")
set_ is SET
and the crossed out part shouldnt be but apparently thats what a dash before the G does
RE: Installation on Windows without Admin rights - Added by Roel Standaert almost 6 years ago
I put your code between pre tags for you :-)