Page 1 of 1

Cmake 2.8

PostPosted: Thu Dec 06, 2012 21:14
by BetaTester
Hello, I'm kinda new to this forum.
But I got a small question. My cmake 2.8 isn't giving the same options as the Readme.txt,

BUILD_CLIENT [X]
BUILD_SERVER [ ]
CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX DIR/minetest-install
IRRLICHT_SOURCE_DIR DIR/irrlicht-1.7.1
RUN_IN_PLACE [X]
WARN_ALL [ ]
ZLIB_DLL DIR/zlib125dll/dll32/zlibwapi.dll
ZLIB_INCLUDE_DIR DIR/zlib-1.2.5
ZLIB_LIBRARIES DIR/zlib125dll/dll32/zlibwapi.lib
GETTEXT_BIN_DIR DIR/gettext/bin
GETTEXT_INCLUDE_DIR DIR/gettext/include
GETTEXT_LIBRARIES DIR/gettext/lib/intl.lib
GETTEXT_MSGFMT DIR/gettext/bin/msgfmt

Are the file u need to get and I dont got like 1/2 of them.
Image

So my question is (you may know it already): how can I configure my CMake right?
You may need to edit the readme, or may I'm doing something wrong?

[edit]
I want to use my C++ 2010 for in case someone needs that information.

PostPosted: Fri Dec 07, 2012 07:05
by BetaTester
I hope someone wants to help me, cause I love coding in c++ again! Went for a voxel-based project with java last year :P

PostPosted: Fri Dec 07, 2012 09:10
by Topywo
I've not much knowledge off Linux and C++, so I waited till someone with that knowledge would help you. Since noone did yet, I'll give it a shot.

When I look at you 'red' screen I see something like missing libraries. I know in the past and now again copy/pasting the apt-get for the libraries you need for minetest, sometimes only gave this:

$ apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev


While you need this (still in the readme, but not directly visible:
$ apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev

Ogg, openal and vorbis are in your red text. Maybe you miss those libraries. I hope this helps you.

Edit: typo

PostPosted: Fri Dec 07, 2012 10:07
by dannydark
BetaTester wrote:Hello, I'm kinda new to this forum.
But I got a small question. My cmake 2.8 isn't giving the same options as the Readme.txt,

BUILD_CLIENT [X]
BUILD_SERVER [ ]
CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX DIR/minetest-install
IRRLICHT_SOURCE_DIR DIR/irrlicht-1.7.1
RUN_IN_PLACE [X]
WARN_ALL [ ]
ZLIB_DLL DIR/zlib125dll/dll32/zlibwapi.dll
ZLIB_INCLUDE_DIR DIR/zlib-1.2.5
ZLIB_LIBRARIES DIR/zlib125dll/dll32/zlibwapi.lib
GETTEXT_BIN_DIR DIR/gettext/bin
GETTEXT_INCLUDE_DIR DIR/gettext/include
GETTEXT_LIBRARIES DIR/gettext/lib/intl.lib
GETTEXT_MSGFMT DIR/gettext/bin/msgfmt

Are the file u need to get and I dont got like 1/2 of them.
Image

So my question is (you may know it already): how can I configure my CMake right?
You may need to edit the readme, or may I'm doing something wrong?

[edit]
I want to use my C++ 2010 for in case someone needs that information.


Some options are hidden by default you need to tick the "Advanced" checkbox in CMake to see all options.

PostPosted: Fri Dec 07, 2012 11:37
by BetaTester
I still don't have the ZLIB, GETTEXT files. Someone knows an oter reason?

PostPosted: Mon Dec 10, 2012 04:50
by dannydark
BetaTester wrote:I still don't have the ZLIB, GETTEXT files. Someone knows an oter reason?


You don't have the files? or you don't have the fields showing in CMake?

EDIT: hmmmm... I'm going to take a guess and say you mean the fields in CMake, the gettext fields won't show unless you check "Enabled_GetText" if you're not bothered about the game only being in English then you can just ignore GetText.

the ZLib fields won't show until after you have pressed the configure button for the 2nd time (I think its the 2nd, anyway it doesn't show straight away like the rest of the fields)