Compiling on Windows?
Moderator: Moderator
Compiling on Windows?
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.
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?
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?
I may have downloaded the wrong SDL. I'll see how it goes once I get this tar file extracted.
Re: Compiling on Windows?
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.
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?
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.
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?
Copy and paste FTW. Apparently the dll files have to be manually imported.
-
- Spiderkin
- Posts: 454
- Joined: Sat May 15, 2010 3:09 am
Re: Compiling on Windows?
I'm stuck on this step:
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'
Code: Select all
Open MSYS from the shortcut installed by MinGW. Do 'cd /c/tengine'
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'
-
- Spiderkin
- Posts: 454
- Joined: Sat May 15, 2010 3:09 am
Re: Compiling on Windows?
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
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
-
- Spiderkin
- Posts: 454
- Joined: Sat May 15, 2010 3:09 am
Re: Compiling on Windows?
Got it figured out. Missed some rather important slashes in premake4.lua.
Thanks for all the help in IRC, Edge and Psyringe.
Thanks for all the help in IRC, Edge and Psyringe.