how to compile outdated

Everything about ToME 4.x.x. No spoilers, please

Moderator: Moderator

Post Reply
Message
Author
Nyx
Wayist
Posts: 15
Joined: Sat Feb 12, 2011 7:54 pm

how to compile outdated

#1 Post by Nyx »

The how to compile instructions, at least for windows, look to be a bit old :\ can't even get close to having them work. Is there an updated copy somewhere?

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

Re: how to compile outdated

#2 Post by edge2054 »

the compile instructions on the wiki are in the process of being updated (thanks to Reenen and Graziel).

Canderel
Sher'Tul
Posts: 1252
Joined: Mon Nov 24, 2003 2:31 pm
Location: South Africa

Re: how to compile outdated

#3 Post by Canderel »

http://te4.org/wiki/tome4windowscompile

is where we're working on it. It's not perfect, and you may need some assistance in the IRC channel, but the big trick is to get the preassembled compiler.

Nyx
Wayist
Posts: 15
Joined: Sat Feb 12, 2011 7:54 pm

Re: how to compile outdated

#4 Post by Nyx »

Got it working :D

Nevuk
Thalore
Posts: 189
Joined: Thu Jul 27, 2006 2:50 am

Re: how to compile outdated

#5 Post by Nevuk »

Just piggybacking on this thread -
I'm still having a lot of issues with this, getting much further with the old page than with the new one. I would use irc but I'm not really in a hurry and think having documentation of progress would probably help people in the future.


I think the issue is the different mingw and pointing to the gcc binary. Currently the page says
Add the path to the gcc binary to your path
Go to Start-> Run
type cmd
in the new window type path c:\mingw\bin;%path%
TODO: test the viability of this method

Which I think is unfinished - I tried both this method and that listed in the older revisions of the page.
I checked the revisions and tried adding the path ;C:\MinGW\bin to my environmental variables, but I'm still getting several errors before compiling even begins. Not really sure where the error log output goes from mingw, so just copying it out manually.

I followed the rest of the instructions, only difference is my ttf version is 2.0.10 instead of 2.0.9 so I modified those two lines in premake4.lua
make -e CC=gcc
==== Building physfs <debug> ====
==== Building luajit2 <debug> ====
Running pre-build commands
gcc -o ../src/luajit2/src/buildvm ../src/luajit2/src/buildvm*.c
/bin/sh: gcc:command not found
make[1]: *** [prebuild] error 127
make: *** [luajit2] error2

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

Re: how to compile outdated

#6 Post by edge2054 »

Under the old method I had to add a ; to the end of the path.

So... ;C:\MinGW\bin;

Nevuk
Thalore
Posts: 189
Joined: Thu Jul 27, 2006 2:50 am

Re: how to compile outdated

#7 Post by Nevuk »

edge2054 wrote:Under the old method I had to add a ; to the end of the path.

So... ;C:\MinGW\bin;
This was missing, but the issue persists. I can do premake4.exe --cc=gcc gmake in mingw, but not make -e CC=gcc. So maybe it was something else?

Post Reply