Just to know what you use as dev tool if you are under Windows...
because I try to use Dev-c++ but I've a lack of knowledge in this area (I write Java, C is far for now )
I think the default one to develop OpenTTD is actually costs you money -- Microsoft Visual C++ 6, 7(.NET 2002) or 7.1(.NET 2003).
None of the tools above are free, but if you can compile it using a command line or with a makefile, you can download the vc++ compiler for free at http://msdn.microsoft.com/visualc/vctoolkit2003/. Then set the $CPP in makefile to cl.exe and add the path of vctoolkit2003 to you %PATH% variable. Run the makefile with any make.exe you can find(http://digitalmars.com), that's all.
MYOB wrote:You can build with MinGW and Jam on Windows too - all free.
Or just use one of the free platforms OTTD runs on - Linux, FreeBSD or BeOS
It's clear that the best complier in Windows should be the one from microsoft and it's free( note: it is free in cost only ). MinGW is a bit slow for me
I have troubles compiling it with any free compilers .
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau
Ah well, summer is coming up, I'll have a lot more time to solve my problems then.
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau
sdl.c:8:17: SDL.h: No such file or directory
sdl.c:9:24: SDL_thread.h: No such file or directory
and a bunch of other errors . . .
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau
edit: Got SDL working - that's wierd, had to reinstall SDL - as if it somehow uninstalled itself????
Wow, actually compiles now! Somebody's actually maintaining the mingw make now!
Last edited by CobraA1 on 12 May 2004 13:16, edited 1 time in total.
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau
It just uses the windows gdi, which is a lot faster too.
TrueLight:"Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?" <@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Wow, somebody's maintaining the MinGW build now Had to re-install SDL (some odd reason it got uninstalled??), but works now!
Glad to see the strgen issues are resolved . MinGW had troubles because it confused / and \ all the time, due to being a unix tool that ran on windows .
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau