Try:
Code: Select all
sudo aptitude install --with-recommends zlib1g zlib1g-dev
Try:
Code: Select all
sudo aptitude install --with-recommends zlib1g zlib1g-dev
Â
Thank you VERY MUCH! It worked like a charm! I also had missing packages for PNG and SDL. The rest went smoothly, now I have vba-m working flawlessy on a 4G eeePc!
Can anyone please give me a hand?
I'm trying to compile latest svn [750] on Xubuntu 8.04.1 but when I try cmake I get:
Â
-- Looked for Z libraries named .
CMake Error: Could NOT find z library
-- Configuring done
Â
I installed zlib following the instructions on this site, but the error persists.
Â
AFAIK:
That's because cmake is braindead.
It already created a cache file saying that you don't have zlib ... and it will never overwrite that information until you delete the cache file.
That site also recommends installing zlib into /usr/local/zlib. Unless that directory is in the PATH environment variable, cmake won't see it.
Hi,
Am currently trying to build svn 756 but having issues using cmake:
Code: Select all
vbam/trunk $ cmake .
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Found ZLIB: /lib64/libz.so
-- Found PNG: /usr/lib64/libpng.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
CMake Error: PkgConfig_DIR is not set. It must be set to the directory containing PkgConfigConfig.cmake in order to use PkgConfig.
-- Configuring done
Â
However I cannot find a file named PkgConfigConfig.cmake, anyone got any ideas? Am running cmake 2.4.6 on X86_64 environment.
Â
Thanks
I have this erro ever can try compile svn on linux ubuntu 8.10.
[ 81%] Building CXX object CMakeFiles/gvbam.dir/src/gtk/tools.o
[ 82%] Building CXX object CMakeFiles/gvbam.dir/src/gtk/window.o
[ 84%] Building CXX object CMakeFiles/gvbam.dir/src/sdl/inputSDL.o
[ 85%] Building CXX object CMakeFiles/gvbam.dir/src/sdl/sndSDL.o
Linking CXX executable gvbam
CMakeFiles/gvbam.dir/src/sdl/inputSDL.o: In function `inputReadJoypad(int)':
inputSDL.cpp :( .text+0x1899): undefined reference to `autoFireMaxCount'
collect2: ld returned 1 exit status
make[2]: ** [gvbam] Erro 1
make[1]: ** [CMakeFiles/gvbam.dir/all] Erro 2
make: ** [all] Erro 2
Darn reuse of code ....
Try it now. I can't test it - the gvbam build requires too many packages I just won't get.
I update the svn code, but the erro continue. I have all dependencies installed. I wait more time to compile again...
Weird. I moved the definition of autoFireMaxCount to inputSDL.cpp ... it shouldn't be undefined in inputSDL.o anymore, unless cmake didn't generate dependencies properly.
Â
Did you issue "make clean" first?
Finaly done...!!!! The make succefully now, thanks for help xKiv and thanks for all vba-m developers and contributors for this good and hard work...=D VBA-M is the better GBA emu of all time, but how i compile the linux vba-m emu with gtk box cheat with in vba-m windows version...?