Debian KFreeBSD Wheezy

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
inukaze
Posts: 7
Joined: Tue Aug 16, 2016 1:31

Debian KFreeBSD Wheezy

Post by inukaze »

Hi there , i am trying to Compile "Gzdoom 1.8.6" using the git repository. but i have error because, is a forced Dependence "fmod" , but i dont find any "fmodapi42636" for freebsd or GNU/kfreebsd . neither a source code of that api for manual compile.

First Try :

Code: Select all

-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found BZip2: /usr/lib/i386-kfreebsd-gnu/libbz2.so (found version "1.0.6") 
-- Looking for BZ2_bzCompressInit in /usr/lib/i386-kfreebsd-gnu/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/i386-kfreebsd-gnu/libbz2.so - found
-- Found JPEG: /usr/lib/i386-kfreebsd-gnu/libjpeg.so  
-- Found ZLIB: /usr/lib/i386-kfreebsd-gnu/libz.so (found version "1.2.7") 
-- Found GME: /usr/lib/libgme.so  
-- Using system zlib
-- Using system jpeg library
-- Using system bzip2 library
-- Using internal gme library
-- Performing Test HAVE_NO_ARRAY_BOUNDS
-- Performing Test HAVE_NO_ARRAY_BOUNDS - Success
-- Performing Test __LIBGME_TEST_VISIBILITY
-- Performing Test __LIBGME_TEST_VISIBILITY - Success
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of char
-- Check size of char - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- /usr/include
-- /usr/include
-- /home/inukaze/gzdoom_build/gzdoom/lzma/C
-- Looking for itoa
-- Looking for itoa - not found
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- Looking for XOpenDisplay in /usr/lib/i386-kfreebsd-gnu/libX11.so;/usr/lib/i386-kfreebsd-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/i386-kfreebsd-gnu/libX11.so;/usr/lib/i386-kfreebsd-gnu/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
-- Found X11: /usr/lib/i386-kfreebsd-gnu/libX11.so
-- Found OpenGL: /usr/lib/i386-kfreebsd-gnu/libGL.so  
-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.24.10
-- Found Xcursor at /usr/lib/i386-kfreebsd-gnu/libXcursor.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not 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
-- Found Threads: TRUE  
-- Found SDL: /usr/lib/i386-kfreebsd-gnu/libSDLmain.a;/usr/lib/i386-kfreebsd-gnu/libSDL.so;-lpthread  
-- Found FluidSynth: /usr/lib/i386-kfreebsd-gnu/libfluidsynth.so  
-- Selected assembler: /usr/bin/nasm
-- Performing Test CAN_DO_MFPMATH
-- Performing Test CAN_DO_MFPMATH - Success
-- Performing Test CAN_DO_ARCHSSE2
-- Performing Test CAN_DO_ARCHSSE2 - Failed
-- Looking for mprotect
-- Looking for mprotect - found
-- Looking for filelength
-- Looking for filelength - not found
-- Looking for strupr
-- Looking for strupr - not found
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for strnicmp
-- Looking for strnicmp - not found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Performing Test HAS_VA_COPY
-- Performing Test HAS_VA_COPY - Success
-- Fluid synth libs: /usr/lib/i386-kfreebsd-gnu/libfluidsynth.so
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Plase set them or make sure they are set and tested correctly in the CMake files:
FMOD_INCLUDE_DIR
	used as include directory in directory /home/inukaze/gzdoom_build/gzdoom/src
	used as include directory in directory /home/inukaze/gzdoom_build/gzdoom/src
	used as include directory in directory /home/inukaze/gzdoom_build/gzdoom/output_sdl
FMOD_LIBRARY
	linked by target "zdoom" in directory /home/inukaze/gzdoom_build/gzdoom/src

-- Configuring incomplete, errors occurred !

Second Try : i download the fmod api 32 bits (for linux) and try to compile :

Code: Select all

rm -rf $HOME/gzdoom_build/gzdoom/build
mkdir -pv $HOME/gzdoom_build/gzdoom/build
cd $HOME/gzdoom_build/gzdoom/build
cmake NO_FMOD=ON ..

...

[100%] Building CXX object src/CMakeFiles/zdoom.dir/zzautozend.o
Linking CXX executable ../gzdoom
/home/gzdoom_build/gzdoom/fmodapi42636linux/api/libfmodex-4.26.36.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [gzdoom] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
why if i specify "NO_FMOD=ON" , equal try to compile it ???

Some method for compile the GzDoom 1.8.6 under Debian KFreeBSD Wheezy without errors ???
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: Debian KFreeBSD Wheezy

Post by Gez »

Is there a reason for getting 1.8.6 in particular, instead of a more recent version?
inukaze
Posts: 7
Joined: Tue Aug 16, 2016 1:31

Re: Debian KFreeBSD Wheezy

Post by inukaze »

I had 2 Machines

The First with a GPU Integrated Intel , just have OpenGL 1. i need GzDoom 1.8.6 for That one

The Second with a GPU Nvidia GeForce 6200 TurboCache(TM) , just have OpenGL 2, i need GzDoom 1.9.1 for this other.

For that reasons, i dont use the most recent version , because my GPU's don't support OpenGL 3.
Locked

Return to “GZDoom”