[re-unsolved] Mingw compiling problems
Moderator: OpenTTD Developers
Re: [re-unsolved] Mingw compiling problems
I have just installed a fresh MinGW/MSYS and I did not require to do the step "Setting up MSYS" (which means that the MinGW folder was already mounted as /mingw after install). IIRC they were planning to correct this problem, and it seems like they did. Can anybody confirm if this step is not required anymore?
Spanish translation of OpenTTD
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Re: [re-unsolved] Mingw compiling problems
The MinGW section of the wiki has been updated with instructions for compiling libicu. This is an optional dependency that you should install only if you need to use right-to-left scripts.
Last edited by Terkhen on 12 Nov 2010 07:31, edited 1 time in total.
Spanish translation of OpenTTD
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Re: [re-unsolved] Mingw compiling problems
Surely you mean right-to-left? 
Nice to see you're using my thread as the 'official' mingw wiki thread
I feel privlidged

Nice to see you're using my thread as the 'official' mingw wiki thread
I feel privlidged

AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: [re-unsolved] Mingw compiling problems
Indeed, the post has been edited.
Spanish translation of OpenTTD
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Re: [re-unsolved] Mingw compiling problems
Terkhen: Can you change the wiki on the updates r21340-4?
I'm not entirely sure what to do...
I'm not entirely sure what to do...

AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: [re-unsolved] Mingw compiling problems
The wiki was updated just after r21344 was commited.
Spanish translation of OpenTTD
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Re: [re-unsolved] Mingw compiling problems
Ok, how are official binaries compiled? (icu and sorting etc)
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: [re-unsolved] Mingw compiling problems
Official binaries (except windows 9x ones) are compiled with MSVC, not with MinGW. They use OpenTTD Useful which includes libicu with a reduced icudata size.
Spanish translation of OpenTTD
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Re: [re-unsolved] Mingw compiling problems
i'm having trouble installing zlib, following the instructions on the wiki:
(note, lines may be split strangely due to command prompt)
Code: Select all
xxxxxxx@xxxx ~/zlib-1.2.5
$ make -f win32/Makefile.gcc BINARY_PATH=/usr/local/bin INCLUDE_PATH=/usr/local/include LIBRAR
Y_PATH=/usr/local/lib install
gcc -O3 -Wall -DNO_VIZ -c -o adler32.o adler32.c
gcc -O3 -Wall -DNO_VIZ -c -o compress.o compress.c
gcc -O3 -Wall -DNO_VIZ -c -o crc32.o crc32.c
gcc -O3 -Wall -DNO_VIZ -c -o deflate.o deflate.c
gcc -O3 -Wall -DNO_VIZ -c -o gzclose.o gzclose.c
gcc -O3 -Wall -DNO_VIZ -c -o gzlib.o gzlib.c
gcc -O3 -Wall -DNO_VIZ -c -o gzread.o gzread.c
gcc -O3 -Wall -DNO_VIZ -c -o gzwrite.o gzwrite.c
gcc -O3 -Wall -DNO_VIZ -c -o infback.o infback.c
gcc -O3 -Wall -DNO_VIZ -c -o inffast.o inffast.c
gcc -O3 -Wall -DNO_VIZ -c -o inflate.o inflate.c
gcc -O3 -Wall -DNO_VIZ -c -o inftrees.o inftrees.c
gcc -O3 -Wall -DNO_VIZ -c -o trees.o trees.c
gcc -O3 -Wall -DNO_VIZ -c -o uncompr.o uncompr.c
gcc -O3 -Wall -DNO_VIZ -c -o zutil.o zutil.c
ar rcs libz.a adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gzread.o gzwrite.o infba
ck.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o
windres --define GCC_WINDRES -o zlibrc.o win32/zlib1.rc
gcc -shared -Wl,--out-implib,libzdll.a \
-o zlib1.dll win32/zlib.def adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gz
read.o gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o zlibrc.o
Creating library file: libzdll.a
strip zlib1.dll
if [ "0" = "1" ]; then \
mkdir -p /usr/local/bin; \
cp -fp zlib1.dll /usr/local/bin; \
cp -fp libzdll.a /usr/local/lib; \
fi
cp -fp zlib.h /usr/local/include
cp -fp zconf.h /usr/local/include
cp -fp libz.a /usr/local/lib
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: [re-unsolved] Mingw compiling problems
which part of that is supposed to say that there was anything wrong?
Re: [re-unsolved] Mingw compiling problems
well later when i try to install libpng, it says that zlib is not installed...
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: [re-unsolved] Mingw compiling problems
So have the files been copied into /usr/local/* ?
doesn't look too promising.
Code: Select all
if [ "0" = "1" ] ....
Re: [re-unsolved] Mingw compiling problems
no idea, the instructions don't do it in a single instruction
Code: Select all
wget http://zlib.net/zlib-1.2.5.tar.gz
tar xvfz zlib-1.2.5.tar.gz
cd zlib-1.2.5
make -f win32/Makefile.gcc BINARY_PATH=/usr/local/bin INCLUDE_PATH=/usr/local/include LIBRARY_PATH=/usr/local/lib install
cd ..
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: [re-unsolved] Mingw compiling problems
You can type 'ls' or 'dir' or so in that directory, or clickerdeclick with your file system browser to that directory, and look whether there are files with the right names there?
Re: [re-unsolved] Mingw compiling problems
i can't find a /usr/local/ directory...
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: [re-unsolved] Mingw compiling problems
Then there is something wrong with your MinGW/MSYS installation. You should have that folder with both the old tutorial (that did not edit fstab) and the new one.
Spanish translation of OpenTTD
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Re: [re-unsolved] Mingw compiling problems
OK, i'll try reinstalling it, again...
I just had a thought, could this be to do with the no admin rights thing? i notice the tutorial mentions it... :/
edit: can someone clarify this section? :
I just had a thought, could this be to do with the no admin rights thing? i notice the tutorial mentions it... :/
edit: can someone clarify this section? :
does this mean delete the old line? or add it under the other line?Go to your msys folder (C:\MinGW\msys\1.0), open etc\fstab with a text editor (for example Notepad) and add the following line:
C:\MinGW\ /usr/local
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
-
- Tycoon
- Posts: 1283
- Joined: 23 Oct 2009 19:35
- Location: Here and there, sometime or another
Re: [re-unsolved] Mingw compiling problems
Delete the old one if it also ended with "/usr/local".
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
Re: [re-unsolved] Mingw compiling problems
it doesn't, it is:
C:\MinGW\ /mingw
C:\MinGW\ /mingw
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
-
- Tycoon
- Posts: 1283
- Joined: 23 Oct 2009 19:35
- Location: Here and there, sometime or another
Re: [re-unsolved] Mingw compiling problems
I'd delete it, why mount the same folder in two different places?
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
Who is online
Users browsing this forum: Amazon [Bot] and 4 guests