Back to the Vavoom Forum Archives


Forum

Problems compiling Vavoom 1.31 on Debian Lenny

Mon, 10 May 2010 17:30:11

b0rsuk

Hi I decided to try Vavoom to see what all the fuss is about, but I can't compile it. As far as I can tell I have all the required packages, including development versions. Output of cmake: [spoiler:pl8fpk3s]
b0rsuk@Machaka:~/zrzut/vavoom-1.31$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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 ZLIB: /usr/lib/libz.so
-- Found wxWidgets: TRUE
-- ASM prefix:
-- Using i386 assembly files
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_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
-- Using Allegro
-- Using LINUX CD-ROM API
-- Found PNG: /usr/lib/libpng.so
-- Found JPEG: /usr/lib/libjpeg.so
-- Could NOT find OggVorbis libraries
-- Could NOT find LibMAD libraries
-- Could NOT find FLAC libraries
-- Configuring done
-- Generating done
-- Build files have been written to: /home/b0rsuk/zrzut/vavoom-1.31
[/spoiler:pl8fpk3s] So far, no problem. But there's also a line which worries me a bit: "-- Looking for pthread_create in pthreads - not found". I can't tell what it means and how serious it is. Then it breaks at around 14%, after
[ 14%] Building CXX object utils/vlaunch/CMakeFiles/vlaunch.dir/vlaunch.o
/home/b0rsuk/zrzut/vavoom-1.31/utils/vlaunch/vlaunch.cpp:49: error: invalid use of incomplete type 
Tue, 11 May 2010 18:10:35

Janis Legzdinsh

You can skip building of launcher by adding -DENABLE_LAUNCHER=NO to cmake. After looking at wxWidgets header files I have impression that it tries to compile with GUI disabled.
Thu, 13 May 2010 18:21:53

b0rsuk

What version of wxwidgets does Vavoom require ? I have a hunch 2.6 from Debian stable may be too old.
Sun, 16 May 2010 17:56:02

Janis Legzdinsh

2.6 should be fine. What is the output of
wx-config --cflags
Sun, 16 May 2010 19:02:26

b0rsuk

The output is:
-I/usr/lib/wx/include/base-unicode-release-2.6 -I/usr/include/wx-2.6 -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA
Mon, 24 May 2010 15:55:39

Janis Legzdinsh

[quote="b0rsuk":3331t5x9] -DwxUSE_GUI=0 Here's the problem.
Tue, 25 May 2010 02:25:12

b0rsuk

[quote="Janis Legzdinsh":9f31pnxb][quote="b0rsuk":9f31pnxb] -DwxUSE_GUI=0 Here's the problem. Thanks. I don't know much about GUI development. I thought I had all the needed wx packages, including dev ones. It seems Vavoom launcher uses wxgtk. Long story short: I installed libwxgtk2.6-dev and it compiled.

Back to the Vavoom Forum Archives