简体   繁体   中英

Recompiling 32 bit C++ library to 64 bit

I wanted to use the libtcod library. I'm running windows 8 64 bit and I use dev-c++.

Basically, the tutorial says that "if you are on a 64bit system you'll have to recompile the library, because the pre-compiled are only available for 32 bit systems". How do I do that? It does not explain that so I don't even know what I am supposed to do.

Everything is explained in the documentation from the libtcod site ...

Here is what to do:

In Mingw Shell, type :

hg clone https://bitbucket.org/jice/libtcod

Go in libtcod's main directory :

cd libtcod

And start the compilation :

make -f makefiles/makefile-mingw

The compilation make take a few seconds depending on your CPU speed. Once it's finished, compile the samples :

make -f makefiles/makefile-samples-mingw

Check that everything is ok by running the samples :

./samples_cpp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM