SVN Build Information.

chrono
Junior Member
Posts: 32
Joined: Tue Mar 18, 2008 9:23 pm

SVN Build Information.

Post by chrono »

Try:

Code: Select all

sudo aptitude install --with-recommends zlib1g zlib1g-dev
felipefrog
Junior Member
Posts: 2
Joined: Wed Oct 15, 2008 4:19 pm

SVN Build Information.

Post by felipefrog »

Try:

Code: Select all

sudo aptitude install --with-recommends zlib1g zlib1g-dev

<div>

</div>

 

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!

xKiv
Junior Member
Posts: 36
Joined: Fri Mar 21, 2008 9:47 am

SVN Build Information.

Post by xKiv »

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.

KunaiTeam
Junior Member
Posts: 44
Joined: Thu Aug 14, 2008 9:37 pm

SVN Build Information.

Post by KunaiTeam »

That site also recommends installing zlib into /usr/local/zlib. Unless that directory is in the PATH environment variable, cmake won't see it.

f5ferrari
Junior Member
Posts: 1
Joined: Sat Oct 18, 2008 4:20 am

SVN Build Information.

Post by f5ferrari »

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

richter696
Junior Member
Posts: 3
Joined: Fri Nov 28, 2008 3:56 pm

SVN Build Information.

Post by richter696 »

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

xKiv
Junior Member
Posts: 36
Joined: Fri Mar 21, 2008 9:47 am

SVN Build Information.

Post by xKiv »

Darn reuse of code ....

Try it now. I can't test it - the gvbam build requires too many packages I just won't get.

richter696
Junior Member
Posts: 3
Joined: Fri Nov 28, 2008 3:56 pm

SVN Build Information.

Post by richter696 »

I update the svn code, but the erro continue. I have all dependencies installed. I wait more time to compile again...

xKiv
Junior Member
Posts: 36
Joined: Fri Mar 21, 2008 9:47 am

SVN Build Information.

Post by xKiv »

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?

richter696
Junior Member
Posts: 3
Joined: Fri Nov 28, 2008 3:56 pm

SVN Build Information.

Post by richter696 »

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...?

Post Reply