• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows cmake+windows=totally useless

wolverine79936

New Member
Joined
Jun 18, 2013
Messages
1
Reaction score
0
This is not the first time that I have had trouble making cmake on windows do anything at all.

I have tried it with various other projects and it never generates anything but errors. No matter what.

Here's what I got when I tried to run cmake on opentibia:

Code:
The CXX compiler identification is MSVC 17.0.60315.1
Check for working CXX compiler using: Visual Studio 11
Check for working CXX compiler using: Visual Studio 11 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
BUILD TYPE: RelWithDebInfo
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  CMakeLists.txt:101 (FIND_PACKAGE)


CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindLibXml2.cmake:62 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:106 (FIND_PACKAGE)


Configuring incomplete, errors occurred!

Perhaps someone else knows what is wrong with cmake...?

I forgot to mention, the links to instructions in the COMPILING file are broken. Neither of them work as well. They just give 404 errors. Not very helpful.

If someone has a VC2012 project file they wouldn't mind sending me, it would be greatly appreciated. If they have a precompiled copy of the latest OT server, that would be appreciated as well.
 
The wrong thing is that you don't have the requested libraries installed, you need to install boost and libxml on your compiler...
I never had problems with cmake, today i did the same thing as you without any problem, and last week i did it with otclient, without problem too, just need to install the libs...

If you use codeblocks or dev cpp you can install libs with devpaks, codeblocks have an plugin that download and install devpaks automatically, but if you found problems with this, download directly from this website:
Devpaks repository
 
Back
Top