Cmake 2.8

BetaTester
New member
 
Posts: 3
Joined: Thu Dec 06, 2012 19:15

Cmake 2.8

by BetaTester » Thu Dec 06, 2012 21:14

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.
Last edited by BetaTester on Thu Dec 06, 2012 21:14, edited 1 time in total.
 

BetaTester
New member
 
Posts: 3
Joined: Thu Dec 06, 2012 19:15

by BetaTester » Fri Dec 07, 2012 07:05

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
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Fri Dec 07, 2012 09:10

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
Last edited by Topywo on Fri Dec 07, 2012 09:11, edited 1 time in total.
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28

by dannydark » Fri Dec 07, 2012 10:07

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.
 

BetaTester
New member
 
Posts: 3
Joined: Thu Dec 06, 2012 19:15

by BetaTester » Fri Dec 07, 2012 11:37

I still don't have the ZLIB, GETTEXT files. Someone knows an oter reason?
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28

by dannydark » Mon Dec 10, 2012 04:50

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)
Last edited by dannydark on Mon Dec 10, 2012 04:54, edited 1 time in total.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 6 guests

cron