project-navigation
Personal tools

Author Topic: [solved] R28538 Compile Error: SDL_image.h: No such file or directory  (Read 3864 times)

Offline rimo

  • Cannon Fodder
  • **
  • Posts: 8
    • View Profile
Hi,

just updated to R28538 and got an compile error.

Code: [Select]
* [UFO] src/client/renderer/r_image.c
In file included from src/client/renderer/r_image.c:28:
src/client/renderer/../../shared/images.h:32:23: error: SDL_image.h: No such file or directory
{standard input}:3538:non-relocatable subtraction expression, "_imageHash" minus "L00000000018$pb"
{standard input}:3538:symbol: "_imageHash" can't be undefined in a subtraction expression
{standard input}:3347:non-relocatable subtraction expression, "_imageHash" minus "L00000000016$pb"
{standard input}:3347:symbol: "_imageHash" can't be undefined in a subtraction expression
{standard input}:3329:non-relocatable subtraction expression, "_imageHash" minus "L00000000016$pb"
{standard input}:3329:symbol: "_imageHash" can't be undefined in a subtraction expression
{standard input}:2968:non-relocatable subtraction expression, "_imageHash" minus "L00000000013$pb"
{standard input}:2968:symbol: "_imageHash" can't be undefined in a subtraction expression
{standard input}:2905:non-relocatable subtraction expression, "_imageHash" minus "L00000000012$pb"
{standard input}:2905:symbol: "_imageHash" can't be undefined in a subtraction expression
{standard input}:2898:non-relocatable subtraction expression, "_imageHash" minus "L00000000012$pb"
{standard input}:2898:symbol: "_imageHash" can't be undefined in a subtraction expression
{standard input}:2892:non-relocatable subtraction expression, "_imageHash" minus "L00000000012$pb"
{standard input}:2892:symbol: "_imageHash" can't be undefined in a subtraction expression
{standard input}:2886:non-relocatable subtraction expression, "_imageHash" minus "L00000000012$pb"
{standard input}:2886:symbol: "_imageHash" can't be undefined in a subtraction expression
{standard input}:2608:non-relocatable subtraction expression, "_r_dayandnightAlpha" minus "L00000000011$pb"
{standard input}:2608:symbol: "_r_dayandnightAlpha" can't be undefined in a subtraction expression
{standard input}:2480:non-relocatable subtraction expression, "_r_dayandnightAlpha" minus "L00000000011$pb"
{standard input}:2480:symbol: "_r_dayandnightAlpha" can't be undefined in a subtraction expression
make: *** [debug-darwin-i386/client/client/renderer/r_image.o] Error 1

Yesterday i was able to compile R28525, so my build environmant should be fine.
I also could not find the file SDL_image.h in the src tree, so it seems to be really missing.

-rimo
« Last Edit: February 11, 2010, 09:47:20 pm by rimo »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: R28538 Compile Error: SDL_image.h: No such file or directory
« Reply #1 on: February 11, 2010, 07:45:38 pm »
just updated to R28538 and got an compile error.

Yesterday i was able to compile R28525, so my build environmant should be fine.
I also could not find the file SDL_image.h in the src tree, so it seems to be really missing.

Install SDL_Image and it's development headers package and rerun configure.

-geever

Offline rimo

  • Cannon Fodder
  • **
  • Posts: 8
    • View Profile
Re: R28538 Compile Error: SDL_image.h: No such file or directory
« Reply #2 on: February 11, 2010, 09:45:54 pm »
Thanks, it worked.
Installed libsdl_image and it solved the problem.

-rimo