project-navigation
Personal tools

Author Topic: error: You must have the SDL_mixer development libraries  (Read 20651 times)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: error: You must have the SDL_mixer development libraries
« Reply #15 on: December 21, 2008, 10:24:31 pm »
our configure script is broken anyway - it's not using the detected values during build - Tron is crying about this, too. as his include dirs are detected properly by configure but not used by the makefiles. anyone who knows autotools better should have a closer look here.

Offline Wizard^^

  • Rookie
  • ***
  • Posts: 22
    • View Profile
Re: error: You must have the SDL_mixer development libraries
« Reply #16 on: December 22, 2008, 10:32:04 am »
Smegin' hell still not working  :(
but hey I'm learning lots  ;D

Autotools hey.. I'm going to play with that now   :o

Offline Wizard^^

  • Rookie
  • ***
  • Posts: 22
    • View Profile
Re: error: You must have the SDL_mixer development libraries
« Reply #17 on: January 03, 2009, 12:01:26 pm »
 >:(

Well I aint getting any closer.
Is any one else running Windows XP x64?

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: error: You must have the SDL_mixer development libraries
« Reply #18 on: January 03, 2009, 12:23:24 pm »
I don't have 64-bit Windows right now, but you can give this a try to see if it runs on your system:

http://www.destructavator.com/public/ufoai_2_3Dev_r21433.zip

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: error: You must have the SDL_mixer development libraries
« Reply #19 on: January 03, 2009, 03:26:25 pm »
@all no offense ;)

I had (still have) the same problem XPsp2 32bit
.) the first is
this problem of yours
http://ufoai.ninex.info/forum/index.php?topic=3174.msg21963#msg21963
can be solved by editing mingw\bin\sdl_config file
prefix=/usr/local/cross-tools/i386-mingw32
to
prefix=/mingw
mingw is at /mingw inside msys environment (c:\mingw on the real machine)

.) the 2nd problem
is the ufoai configure file
I think the config file tries to verify that some special modules are installed
it shall be done by a search for this special string.
But as far as i can tell this codeblock is broken.
Code: [Select]
undefined reference to `Mix_OpenAudio'

| #ifdef __cplusplus
| extern "C"
| #endif
| char Mix_OpenAudio ();
| int
| main ()
| {
| return Mix_OpenAudio ();
|   ;
|   return 0;
| }
char Mix_OpenAudio ();
shall be a function
but the syntax is wrong
and btw the whole codeblock is useless 'couse
there is nothing passed into the function.
The rest inside configure is so badly formated ...

OK, leave that behind
your post at
http://ufoai.ninex.info/forum/index.php?topic=3174.msg21957#msg21957
scoll inside your code down to the last line
configure:9241: result: no
open configure go to line 9239
and change
ac_cv_search_Mix_OpenAudio=yes
Its "false positive" 'couse you'll find this string inside *.h and *.lib

This problem will occur on sdl_ttf pnglib and miwin
and after that i'll stuck
but this rock is to heavy for me....
« Last Edit: January 03, 2009, 03:28:55 pm by Muton »

Offline Wizard^^

  • Rookie
  • ***
  • Posts: 22
    • View Profile
Re: error: You must have the SDL_mixer development libraries
« Reply #20 on: January 03, 2009, 04:31:13 pm »
Thanks for the suggestion of changing the configure file.. works well.
Ok. now I compiled SDL_ttf and had to get freetype2 to do it. I don't have a problem with pnglib and miwin
now I'm stuck on newwin

That's what i meant to i say
« Last Edit: January 03, 2009, 07:10:45 pm by Wizard^^ »

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: error: You must have the SDL_mixer development libraries
« Reply #21 on: January 03, 2009, 05:49:37 pm »
hmmm
i've tried to build with ufoai Codeblocks
and my own "build"
got sdl bins from there
http://cefiro.homelinux.org/resources/list/SDL-binary-mingw32-2.0.html
SDL_ttf-2.0.9-2-i386-mingw32.tar.bz2
and freetype-2.3.5-1-lib.zip (ahhh i see no mingw)
but i recived a SDL_ttf error message

It seams you build it from source
right?

yes it was newwin and not minwin
newwin seems to be part of curses

try to rebuild using
freetype-mingw-2.3.5-2-bin
from http://sourceforge.net/projects/kde-windows/

Offline Wizard^^

  • Rookie
  • ***
  • Posts: 22
    • View Profile
Re: error: You must have the SDL_mixer development libraries
« Reply #22 on: January 03, 2009, 07:08:25 pm »
Sorry put that wrong.
Got the ttf error but did the same as the mixer..
Code: [Select]
checking SDL_ttf.h usability... yes
checking SDL_ttf.h presence... yes
checking for SDL_ttf.h... yes
checking for library containing TTF_Init... no
checking png.h usability... yes
checking png.h presence... yes

Just using your idea again

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: error: You must have the SDL_mixer development libraries
« Reply #23 on: January 04, 2009, 10:41:26 am »
ahhh, ok then

do the same on newwin error
after that you`ll stuck again
with anaother error