The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
April 26, 2017, 02:18:41 am
Home Help Search Login Register
News: UQM development migrated from Subversion to Git

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderators: Michael Martin, fossil, Death 999)
| | |-+  Help compiling with MinGW
« previous next »
Pages: [1] Print
Author Topic: Help compiling with MinGW  (Read 1650 times)
Juffo
Zebranky food
*
Offline Offline

Posts: 17



View Profile
Help compiling with MinGW
« on: January 20, 2006, 07:52:58 pm »

Quote
moreno@MORENO-2E1399F9 /c/programmi/libs/sdl-1.2.8
$ make native
make install prefix=/usr
make[1]: Entering directory `/c/programmi/libs/sdl-1.2.8'
make[1]: `install' is up to date.
make[1]: Leaving directory `/c/programmi/libs/sdl-1.2.8'

moreno@MORENO-2E1399F9 /c/programmi/libs/sdl-1.2.8
$ export C_INCLUDE_PATH=/c/programmi/libs/SDL-1.2.8/include/SDL:/c/programmi/li
bs/SDL_image-1.2.4/include/:/c/programmi/libs/OpenAL/Include/:/c/programmi/libs
/oggvorbis-win32sdk-1.0/include/:c/programmi/libs/zlib/include/

moreno@MORENO-2E1399F9 /c/programmi/libs/sdl-1.2.8
$ export LIBRARY_PATH=/c/programmi/libs/SDL_image-1.2.4/lib/:/c/programmi/libs/
OpenAL/libs/:/c/programmi/libs/oggvorbis-win32sdk-1.0/lib/:c/programmi/libs/zli
b/lib/

moreno@MORENO-2E1399F9 /d/giochi/sc2/source
$ build.sh uqm config
'echo -n' capable echo found.
Sed stream editor found.
tr found.
Make found.
GNU C compiler found.
windres not found.
Little-endian machine detected.
build/unix/build.sh: sdl-config: command not found
build/unix/build.sh: sdl-config: command not found
Simple DirectMedia Layer not found.

I followed the intstructions in INSTALL.mingw.
I don't know what are the MinGW packages needed so I might miss something.
After unzipping the SDL files I followed the instructions in INSTALL and typed "make native" in MSYS.
What could be wrong? The paths are correct. I followed, I also tried the method of copying the files in mingw directory with the same results.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Help compiling with MinGW
« Reply #1 on: January 20, 2006, 08:57:58 pm »

There's something funny with the installation script, I think. It's trying to create a symbolic link to the config script, but I don't think Windows supports those (at least not on FAT32). Try:

Code:
cp /c/programmi/libs/sdl-1.2.8/bin/i386-mingw32msvc-sdl-config /usr/bin/sdl-config
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
DukHunter
Zebranky food
*
Offline Offline

Posts: 3



View Profile
Re: Help compiling with MinGW
« Reply #2 on: June 17, 2016, 11:50:01 am »

There's something funny with the installation script, I think. It's trying to create a symbolic link to the config script, but I don't think Windows supports those (at least not on FAT32). Try:

Code:
cp /c/programmi/libs/sdl-1.2.8/bin/i386-mingw32msvc-sdl-config /usr/bin/sdl-config


Thanks. The command above really helped with this SDL not found error. It's should be in source codes help file named "INSTALL.mingw"
Also, there is need to download additional files to compile:
1) "_G_config.h"
2) "wspiapi.h"
« Last Edit: June 17, 2016, 12:11:17 pm by DukHunter » Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!