You are not logged in.

#1 2008-11-01 14:37:20

cyberius
Member
From: Germany
Registered: 2008-08-30
Posts: 97

SVN Ultrastar make Error

Hello!

I want to build Ultrastar from trunk with help of this instruction

http://ultrastar-ng.sourceforge.net/develop.html

This is what I get:

daminator ~/singstar/USNG/build  $  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
WARNING: CMAKE_BUILD_TYPE is not defined!
         Defaulting to CMAKE_BUILD_TYPE=RelWithDebInfo. Use ccmake to set a proper value.
-- Found The Following Boost Libraries:
--   thread
--   filesystem
-- Boost Version: 1.36.0
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- DEBUG: GStreamer include directory = /usr/include/gstreamer-0.10
-- DEBUG: GStreamer link directory = /usr/lib
-- DEBUG: GStreamer link flags = -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0
-- DEBUG: GStreamer CFlags = -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-- checking for module 'jack'
--   found jack, version 0.109.2
-- Found jack: /usr/lib/libjack.so
-- checking for module 'portaudio-2.0'
--   package 'portaudio-2.0' not found
-- checking for module 'libpulse'
--   found libpulse, version 0.9.10
-- Found pulseaudio: /usr/lib/libpulse.so
-- checking for module 'alsa'
--   found alsa, version 1.0.17a
-- Found ALSA 1.0.17a
------------------------------------------------------------------
                  LIBDA build summary                             
------------------------------------------------------------------
 Alsa      : enabled (autodetect)
 Portaudio : disabled (autodetect)
 Pulseaudio: enabled (autodetect)
 Gstreamer : enabled (autodetect)
 Jack      : enabled (autodetect)
------------------------------------------------------------------
-- Found The Following Boost Libraries:
--   thread
--   program_options
--   regex
--   filesystem
-- Boost Version: ..
-- 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
-- Found Threads: TRUE
-- checking for module 'freetype2'
--   found freetype2, version 9.18.3
-- Found Freetype 
-- checking for module 'cairo'
--   found cairo, version 1.8.0
-- Found Cairo 
-- checking for module 'gdk-pixbuf-2.0'
--   found gdk-pixbuf-2.0, version 2.14.4
-- Found GDK-PixBuf 
-- checking for module 'librsvg-2.0'
--   found librsvg-2.0, version 2.22.3
-- Found LibRSVG 
-- checking for module 'pango'
--   found pango, version 1.22.2
-- Found Pango 
-- checking for module 'libxml-2.0'
--   found libxml-2.0, version 2.6.32
-- Found libxml2: /usr/lib/libxml2.so
-- checking for module 'glib-2.0'
--   found glib-2.0, version 2.18.2
-- Found Glib 
-- checking for module 'sigc++-2.0'
--   found sigc++-2.0, version 2.2.3
-- Found SigC++ 
-- checking for module 'glibmm-2.4'
--   found glibmm-2.4, version 2.18.1
-- Found Glibmm 
-- checking for module 'libxml++-2.6'
--   found libxml++-2.6, version 2.24.0
-- Found LibXML++ 
-- checking for module 'ImageMagick'
--   found ImageMagick, version 6.4.4
-- Found Magick 
-- checking for module 'ImageMagick++'
--   found ImageMagick++, version 6.4.4
-- Found Magick++ 
-- checking for module 'gl'
--   package 'gl' not found
-- Found OpenGL 
-- checking for module 'libavcodec'
--   found libavcodec, version 51.60.0
-- checking for module 'libavformat'
--   found libavformat, version 52.17.0
-- checking for module 'libswscale'
--   found libswscale, version 0.5.1
-- Found FFMPEG: /usr/lib/libavcodec.so;/usr/lib/libavformat.so;/usr/lib/libswscale.so
-- GCC detected, enabling warnings
-- Configuring done
-- Generating done
-- Build files have been written to: /home/daminator/singstar/USNG/build
daminator ~/singstar/USNG/build  $  ls
CMakeCache.txt  CPackConfig.cmake        Makefile             data  libda
CMakeFiles      CPackSourceConfig.cmake  cmake_install.cmake  game  themes
daminator ~/singstar/USNG/build  $  make
Scanning dependencies of target da
[  3%] Building CXX object libda/CMakeFiles/da.dir/audio.cpp.o
Linking CXX static library libda.a
[  3%] Built target da
Scanning dependencies of target da_audio_dev_alsa
[  7%] Building CXX object libda/plugins/CMakeFiles/da_audio_dev_alsa.dir/audio_dev_alsa.cpp.o
Linking CXX shared module libda_audio_dev_alsa.so
[  7%] Built target da_audio_dev_alsa
Scanning dependencies of target da_audio_dev_gst
[ 11%] Building CXX object libda/plugins/CMakeFiles/da_audio_dev_gst.dir/audio_dev_gst.cpp.o
Linking CXX shared module libda_audio_dev_gst.so
[ 11%] Built target da_audio_dev_gst
Scanning dependencies of target da_audio_dev_jack
[ 14%] Building CXX object libda/plugins/CMakeFiles/da_audio_dev_jack.dir/audio_dev_jack.cpp.o
Linking CXX shared module libda_audio_dev_jack.so
[ 14%] Built target da_audio_dev_jack
Scanning dependencies of target da_audio_dev_pulse
[ 18%] Building CXX object libda/plugins/CMakeFiles/da_audio_dev_pulse.dir/audio_dev_pulse.cpp.o
Linking CXX shared module libda_audio_dev_pulse.so
[ 18%] Built target da_audio_dev_pulse
Scanning dependencies of target da_audio_dev_tone
[ 22%] Building CXX object libda/plugins/CMakeFiles/da_audio_dev_tone.dir/audio_dev_tone.cpp.o
/home/daminator/singstar/USNG/libda/plugins/audio_dev_tone.cpp: In member function 'void<unnamed>::tonegen::add(const std::string&)':
/home/daminator/singstar/USNG/libda/plugins/audio_dev_tone.cpp:59: error: no match for 'operator/' in '<unnamed>::_1 / 2.0e+1'
make[2]: *** [libda/plugins/CMakeFiles/da_audio_dev_tone.dir/audio_dev_tone.cpp.o] Error 1
make[1]: *** [libda/plugins/CMakeFiles/da_audio_dev_tone.dir/all] Error 2
make: *** [all] Error 2
daminator ~/singstar/USNG/build  $

This is the main problem >>

[ 22%] Building CXX object libda/plugins/CMakeFiles/da_audio_dev_tone.dir/audio_dev_tone.cpp.o
/home/daminator/singstar/USNG/libda/plugins/audio_dev_tone.cpp: In member function 'void<unnamed>::tonegen::add(const std::string&)':
/home/daminator/singstar/USNG/libda/plugins/audio_dev_tone.cpp:59: error: no match for 'operator/' in '<unnamed>::_1 / 2.0e+1'
make[2]: *** [libda/plugins/CMakeFiles/da_audio_dev_tone.dir/audio_dev_tone.cpp.o] Error 1
make[1]: *** [libda/plugins/CMakeFiles/da_audio_dev_tone.dir/all] Error 2
make: *** [all] Error 2

Seems that he can't compile the source..
What can I do? Thank you.

Last edited by cyberius (2008-11-01 14:38:18)

Offline

#2 2008-11-06 12:56:39

cyberius
Member
From: Germany
Registered: 2008-08-30
Posts: 97

Re: SVN Ultrastar make Error

Does nobody have an idea? sad

Offline

#3 2009-01-22 20:22:44

priyank
Member
Registered: 2006-03-11
Posts: 4
Website

Re: SVN Ultrastar make Error

Apply this patch : http://frugalware.org/~priyank/patches/ … dfix.patch

And it should build without errors.


- Priyank

Offline

Board footer

Powered by FluxBB