Building Wt
Added by Kubilay Kaan about 12 years ago
Hello friends,
I am trying to build wt again. I must say that I have always problems with building wt.
I read the wiki again and again.
So I am on win7 x64.
I set my BOOST_PREFIX & GM_PREFIX
I set my source to D:/LIBS/wt-3.3.0-rc3/src & and the binary path to D:/LIBS/wt-3.3.0-rc3/build in Cmake.
I run configure for Visual Studio 11 and pengggg: Error in configuration process, project files may be invalid.
Everything is red.
So what is the problem here?
CMake Error at CMakeLists.txt:382 (INSTALL):
install TARGETS given no ARCHIVE DESTINATION for static library target
"wttest".
** Disabling crypto support (Auth::SHA1HashFunction, HTTPS support): requires OpenSSL.
** Disabling PDF support (WPdfImage, WPdfRenderer): requires libharu.
** Disabling raster image support (WRasterImage): requires graphicsmagick.
** Disabling advanced font rendering support: requires libpango.
CMake Error at CMakeLists.txt:446 (INSTALL):
install TARGETS given no ARCHIVE DESTINATION for static library target
"wt".
CMake Error: File /WtInstall.cmake does not exist.
CMake Error at CMakeLists.txt:451 (CONFIGURE_FILE):
configure_file Problem configuring file
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at Wt/Dbo/CMakeLists.txt:34 (INSTALL):
install TARGETS given no ARCHIVE DESTINATION for static library target
"wtdbo".
** Wt::Dbo: not building Postgres backend.
** Wt::Dbo: not building Firebird backend.
** Wt::Dbo: not building MySQL backend.
CMake Error at Wt/Ext/CMakeLists.txt:41 (INSTALL):
install TARGETS given no ARCHIVE DESTINATION for static library target
"wtext".
** Disabling ISAPI.
** Disabling FastCGI connector.
** Disabling built-in httpd.
Configuring incomplete, errors occurred!
Replies (4)
RE: Building Wt - Added by Wim Dumon about 12 years ago
Your source must be set to the toplevel Wt directory, in your case D:/LIBS/wt-3.3.0-rc3/
BR,
Wim.
RE: Building Wt - Added by Kubilay Kaan about 12 years ago
grrr. Ok. Thanks. What should I do to compile wt&examples in 64bit. Should I compile all dependencies in 64 bit?
Yours,
RE: Building Wt - Added by Kubilay Kaan about 12 years ago
With dependencies I mean boost, graphicsmagic, libharu etc...
RE: Building Wt - Added by Wim Dumon about 12 years ago
Since I'm not an expert at mixing 32 and 64 bit code on Windows, I would do that, yes.
BR,
Wim.