Page 1 of 1

Compiling

Posted: 20 Mar 2004 16:16
by pETe!
I started a german Translation (20-30% done).
I´ve tried it to complie with strgen, but it says it cannot find a file called strings.h
I´ve extracted the full OT-Sorce and have copied this in one directory without subdirectorys.
The file is there, but it doesn´t start to complie.

Posted: 20 Mar 2004 16:55
by MadEgg
It looks for string.h in the subdirectory table. So you need to create a subdirectory table and put the strings.h file in there...
Good luck!

Posted: 20 Mar 2004 21:51
by pETe!
MadEgg wrote:It looks for string.h in the subdirectory table. So you need to create a subdirectory table and put the strings.h file in there...
Sry, doesn´t work 4 me

Posted: 20 Mar 2004 21:56
by Darkvater
pETe! wrote:
MadEgg wrote:It looks for string.h in the subdirectory table. So you need to create a subdirectory table and put the strings.h file in there...
Sry, doesn´t work 4 me

Code: Select all

int main(int argc, char* argv[])
{
	FILE *f;

  parse_strings_h("table/strings.h", NULL);
You need to either create a table directory in the same map as strgen.exe is in, or you need to set the 'working directory' to the root of the ottd project. It will work, trust me :)