Page 1 of 1
Compiling on Windows?
Posted: Wed Jan 19, 2011 1:21 am
by edge2054
Any advice for compiling on windows xp? I followed the instructions on the wiki and keep hitting errrors when it comes to the compile.
I've checked and rechecked that I did everything right but still no luck. Changing the file directory in lua premake4 and rerunning gmake got me a bit further but it still hit a wall at the end (not sure what error that one was).
But the error I'm getting following the wiki is src/physfs/physfsrwops.h.30.17: fatal error : SDL.h: no such file or directory.
Re: Compiling on Windows?
Posted: Wed Jan 19, 2011 2:09 am
by madmonk
Have you got SDL installed?
Re: Compiling on Windows?
Posted: Wed Jan 19, 2011 2:10 am
by edge2054
I downloaded all four SDL libraries but they don't install. Do I need to install something to make use of them?
Re: Compiling on Windows?
Posted: Wed Jan 19, 2011 2:21 am
by edge2054
I may have downloaded the wrong SDL. I'll see how it goes once I get this tar file extracted.
Re: Compiling on Windows?
Posted: Wed Jan 19, 2011 2:43 am
by edge2054
Alright, I got it to create an exe in the bin but I have no idea what to do with it.
Looks like it didn't create the dll files as far as I can see.
Maybe it's compiling in debug mode or something? All the files have the name debug next to them.
Re: Compiling on Windows?
Posted: Wed Jan 19, 2011 3:11 am
by edge2054
Ahhahha...
Maybe when compiling from the SVN I need to clear out the debug option in premake 4 so it compiles in release.
I did have the wrong SDL downloaded though.
Now I have a bunch of release files but still no dll files... I feel like I'm missing something.
Re: Compiling on Windows?
Posted: Wed Jan 19, 2011 3:50 am
by edge2054
Copy and paste FTW. Apparently the dll files have to be manually imported.
Re: Compiling on Windows?
Posted: Thu Feb 10, 2011 2:52 pm
by Susramanian
I'm stuck on this step:
Code: Select all
Open MSYS from the shortcut installed by MinGW. Do 'cd /c/tengine'
What is MSYS? I can't find it. There's a bunch of files in the MinGW folder with msys in the names.
I thought at first that this was just the windows comand prompt, but trying to use it just results in windows telling me that it doesn't understand the word 'make'
Re: Compiling on Windows?
Posted: Thu Feb 10, 2011 3:10 pm
by Susramanian
I think I found it, but now I'm getting this error when compiling:
src/tSDL.h:8:21: fatal error: SDL_ttf.h: No such file or directory
I do have a SDL_ttf file in t-engine4/libs/SDL_ttf-2.0.10/lib. I don't know if that's the same thing
Re: Compiling on Windows?
Posted: Thu Feb 10, 2011 8:14 pm
by Susramanian
Got it figured out. Missed some rather important slashes in premake4.lua.
Thanks for all the help in IRC, Edge and Psyringe.