Page 1 of 1

Problem compilling under Windows with MinGW

PostPosted: Sat Jul 21, 2012 20:39
by Chlorek
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:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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.

PostPosted: Sun Jul 22, 2012 13:51
by Calinou
Did you install dependencies?

PS: runned > ran. ;)

PostPosted: Sun Jul 22, 2012 18:28
by Chlorek
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.

PostPosted: Sun Jul 22, 2012 22:32
by Chlorek
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:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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.