project-navigation
Personal tools

Author Topic: Getting libintl.h not found errors when compiling  (Read 2551 times)

Offline lfloden

  • Rookie
  • ***
  • Posts: 68
    • View Profile
Getting libintl.h not found errors when compiling
« on: August 23, 2007, 01:18:17 am »
This is from the snd_dx.dll file. I assume I must be missing a plugin again. I noticed it deleted it the other day that it was removed when I sync'd my folder. Its causing problems with all the sound ones and UFO.exe.

Compiler: Default compiler
Building Makefile: "C:\UFOAIdev\build\projects\Makefile.win"
Executing  make clean
rm -f ../../src/ports/win32/snd_dx.o  ../../snd_dx.dll

gcc.exe -c ../../src/ports/win32/snd_dx.c -o ../../src/ports/win32/snd_dx.o -I"C:/Dev-Cpp/include"  -I"C:/Programming/SDL-1.2.11/include"  -I"c:/Dev-Cpp/include/SDL"  -I"C:/Dev-Cpp/include/libpng13"  -D__GNUWIN32__ -D_M_IX86=500 -Wall -DWIN32 -DDEBUG -D_WINDOWS -DDEVCPP

In file included from ../../src/ports/win32/snd_dx.c:27:
../../src/ports/win32/../../client/client.h:245:22: libintl.h: No such file or directory

make.exe: *** [../../src/ports/win32/snd_dx.o] Error 1

Execution terminated

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: Getting libintl.h not found errors when compiling
« Reply #1 on: August 23, 2007, 07:51:37 am »
also see: http://sourceforge.net/tracker/index.php?func=detail&aid=1778892&group_id=157793&atid=805242

libintl belongs to the gettext or libintl devpak - please install it or use our prepackaged codeblocks archive which includes everyting you need:
http://mattn.ninex.info/download/Codeblocks_install.zip - see the included readme.txt and also read the wiki article on how to add the needed searchpaths to codeblocks: http://ufoai.ninex.info/wiki/index.php/Code::Blocks