Next Generation Emulation banner

error in building source

783 Views 10 Replies 4 Participants Last post by  itayperl
linux:~/pcsx2-0.8.1src/windows # make
mingw-gcc -Wall -mwindows -O2 -fomit-frame-pointer -finline-functions -ffast-math -fno-strict-aliasing -m128bit-long-double -I. -I.. -I../zlib -I../IPU -I../DebugTools -D__WIN32__ -D__MINGW32__ -DENABLE_NLS -DPACKAGE=\"pcsx2\" -I../ix86-32 -I../x86 -c -o ../Counters.o ../Counters.c -MD -MF ../Counters.d
In file included from ../Counters.c:22:
../Common.h:60:21: libintl.h: No such file or directory
make: *** [../Counters.o] Error 1

What can i do?
1 - 11 of 11 Posts
People, if you can't help, don't reply...it's really annoying...

Using linux? I think you need gettext...
try installing ftp://ftp.gnu.vbs.at/gettext/gettext-0.13.tar.gz (tar -zxvf, ./configure, make, make install)

HTH (tell me if it solved yer problem)

Itay
itayperl has your answer, altho technically nobody should be replying anyway, cvs support is against the rules, if you are using the release source, just use the already built versions, its no different
Hey itayperl, I was showing a solution to his problem. ;)
Why build the sources if you have the program builded in www.pcsx2.net?
I don't use linux, but I was trying to help him to run the emu. :)

(If he is trying to compile the CVS, I don't know how to do it then, but he hasn't say anything about the CVS build, so.....)

NOTE: And the gettext library isn't only needed in linux to run the CVS is also needed in windows.
he wasn't talking about cvs. My help was regarding release source building.
why should someone do that?
1) fun
2) tests
3) learn the code, understand it
4) change the credits to your name...nah I'm jokin'

btw, why not?

Itay
Look the first line:"pcsx2-0.8.1src/windows"
So, first, I am not using CVS version.
Second, I am building windows platform bin not linux,but I am just using mingw32 on linux,because the Makefile is unix form.
Thanx Itay for your reply.
I can build linux version successfully. My linux(SuSE9.2 have libintl.h on /usr/include).
I installed mingw32 on the linux platform,but I can't build windows verson successfully by mingw-gcc.
I also installed mingw32 and msys into windows, the same error.
I can build both 0.81 and the newest CVS version for linux.
but met the same error when i build 0.81 and CVS version for windows.
I think it's not the problem of CVS, it should be problem of mingw32, mingw32 needs some libs or plugins and so on.
wait you're having problems on win? it shouldn't look for libintl.h. pcsx2 provides a replacement: libintlmsc.h something like that...

try adding -D__MSCW32__,
- or -
edit common .h, and comment lines 57, 59, 60, 61 (the #ifdef, and its #else)

HTH
itayperl said:
wait you're having problems on win? it shouldn't look for libintl.h. pcsx2 provides a replacement: libintlmsc.h something like that...

try adding -D__MSCW32__,
- or -
edit common .h, and comment lines 57, 59, 60, 61 (the #ifdef, and its #else)

HTH
THANX
1 - 11 of 11 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top