Problem compilling under Windows with MinGW

For people working on the C++ code.
Post Reply
User avatar
Chlorek
New member
Posts: 3
Joined: Sat Jul 21, 2012 20:32

Problem compilling under Windows with MinGW

by Chlorek » Post

Hello all, this is my first post here, so I want to say "Hello guys" :)
And now, I'm going to explain some things about my problem...
Well I downloaded latest source code, cmake and all other stuff needed to compile Minetest under windows. I prepared make file and runned that. Sure, as usually there error happend:

Code: Select all

Linking C static library liblua.a
[ 25%] process_begin: CreateProcess((null), echo Built target lua, ...) failed.
make (e=2): Nie mo┐na odnalečŠ okreťlonego pliku.
make[1]: *** [src/lua/build/CMakeFiles/lua.dir/all] Error 2
make: *** [all] Error 2
I am polish and I am using polish windows, so 3rd line said: "Cannot find given file."
I do not know what's going on, I do not know what is this "all" file, however it does not exist there. How to fix my problem?
If you need more details, tell me please.

Thanks for help.

#Edit
I'm polish, so sorry for my english mistakes.
Last edited by Chlorek on Sun Jul 22, 2012 23:13, edited 1 time in total.

User avatar
Calinou
Moderator
Posts: 3164
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Did you install dependencies?

PS: runned > ran. ;)

User avatar
Chlorek
New member
Posts: 3
Joined: Sat Jul 21, 2012 20:32

by Chlorek » Post

Sure, I installed everything (I think) correctly. I was looking to "setup tutorial", however not everything was explained there, so I could do something wrong.

User avatar
Chlorek
New member
Posts: 3
Joined: Sat Jul 21, 2012 20:32

by Chlorek » Post

Sry for little spam, I heard that Minetest may be compiled with M$ Visual C++ too, so I decied to do that (however I used this only once while compilling ID Tech 4), well I do not know too much about using MSV C++. I have 2010 Express, and I tried to compile Minetest under this one. Now I got a bit other error:

Code: Select all

make[1]: CMakeFiles\Makefile2: No such file or directory
make[1]: *** No rule to make target `CMakeFiles\Makefile2'.  Stop.
make: *** [all] Error 2
It appears right after it creates build files.
Please help, there is no more errors.


#Edit 1
Oh sh*t. Sorry I probably see what's my problem (I cannot read readme.txt :<). I do not close this topic bcuz I may have more questions soon.

#Edit 2
Well I have it done! I had to edit some files (it could not find some headers), but finally it works. Topic is ready to close.
Last edited by Chlorek on Sun Jul 22, 2012 23:12, edited 1 time in total.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests