Page 2 of 2

SVN Build Information.

Posted: Wed Oct 15, 2008 6:10 pm
by chrono

Try:

Code: Select all

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

SVN Build Information.

Posted: Wed Oct 15, 2008 11:47 pm
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!


SVN Build Information.

Posted: Thu Oct 16, 2008 7:04 am
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.


SVN Build Information.

Posted: Thu Oct 16, 2008 11:50 pm
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.


SVN Build Information.

Posted: Sat Oct 18, 2008 4:25 am
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


SVN Build Information.

Posted: Fri Nov 28, 2008 4:02 pm
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


SVN Build Information.

Posted: Sat Nov 29, 2008 6:21 am
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.


SVN Build Information.

Posted: Mon Dec 01, 2008 5:49 pm
by richter696

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


SVN Build Information.

Posted: Tue Dec 02, 2008 6:03 am
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?


SVN Build Information.

Posted: Tue Dec 02, 2008 4:12 pm
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...?