Compiling on Windows?

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Compiling on Windows?

#1 Post 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.

madmonk
Reaper
Posts: 2257
Joined: Wed Dec 12, 2007 12:21 am
Location: New Zealand

Re: Compiling on Windows?

#2 Post by madmonk »

Have you got SDL installed?
Regards

Jon.

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: Compiling on Windows?

#3 Post by edge2054 »

I downloaded all four SDL libraries but they don't install. Do I need to install something to make use of them?

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: Compiling on Windows?

#4 Post by edge2054 »

I may have downloaded the wrong SDL. I'll see how it goes once I get this tar file extracted.

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: Compiling on Windows?

#5 Post 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.

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: Compiling on Windows?

#6 Post 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.

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: Compiling on Windows?

#7 Post by edge2054 »

Copy and paste FTW. Apparently the dll files have to be manually imported.

Susramanian
Spiderkin
Posts: 454
Joined: Sat May 15, 2010 3:09 am

Re: Compiling on Windows?

#8 Post 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'

Susramanian
Spiderkin
Posts: 454
Joined: Sat May 15, 2010 3:09 am

Re: Compiling on Windows?

#9 Post 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

Susramanian
Spiderkin
Posts: 454
Joined: Sat May 15, 2010 3:09 am

Re: Compiling on Windows?

#10 Post by Susramanian »

Got it figured out. Missed some rather important slashes in premake4.lua.

Thanks for all the help in IRC, Edge and Psyringe.

Post Reply