[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Re: Build error Ubuntu
Hi All,
I'm trying to build SC IDE in Linux but have a few errors. Totally new to building on Linux. Compiling appears to work but the build fails.
Any help much appreciated.
Have a good new year all,
Saul
ThinkPad X60
Ubuntu studio 12.04.1
subs@Black:~/src/supercollider/build$ cmake -DSC_ED=ON -DSC_EL=OFF -DSC_WII=OFF -DSC_IDE=ON -DSUPERNOVA=OFF ..
-- SuperCollider Version: 3.7alpha0
-- Build type defaulting to "RelWithDebInfo"
-- Compiling with Qt GUI
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
-- building boost libraries manually
-- Could NOT find YAMLCPP (missing: YAMLCPP_INCLUDE_DIR YAMLCPP_LIBRARY)
-- using bundled libyaml-cpp
-- Found jack: /usr/lib/i386-linux-gnu/libjack.so
-- Audio API: jack
-- Found GNU Readline version 6.2: /usr/lib/i386-linux-gnu/libreadline.so
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.1", required is "4.7")
-- Compiling with Readline support
-- Compiling with ALSA midi support
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.1", required is "4.7")
-- Building the Qt IDE
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.1", required is "4.7")
-- Building with Sced for gedit 3 (UNIX)
-- Will copy HelpSource to /usr/local/share/SuperCollider
-- Configuring done
-- Generating done
-- Build files have been written to: /home/subs/src/supercollider/build
subs@Black:~/src/supercollider/build$ make
[ 1%] Built target boost_thread
Scanning dependencies of target yaml
[ 2%] Building CXX object external_libraries/CMakeFiles/yaml.dir/libyamlcpp.cpp.o
Linking CXX static library libyaml.a
[ 2%] Built target yaml
[ 2%] Built target BinaryOpUGens
[ 2%] Built target ChaosUGens
[ 2%] Built target DelayUGens
[ 2%] Built target DemandUGens
[ 3%] Built target DiskIO_UGens
[ 3%] Built target DynNoiseUGens
[ 4%] Built target FFT_UGens
[ 4%] Built target FilterUGens
[ 4%] Built target GendynUGens
[ 5%] Built target GrainUGens
[ 5%] Built target IOUGens
[ 5%] Built target LFUGens
[ 7%] Built target ML_UGens
[ 7%] Built target MulAddUGens
[ 8%] Built target NoiseUGens
[ 8%] Built target OscUGens
[ 9%] Built target PV_ThirdParty
[ 9%] Built target PanUGens
[ 9%] Built target PhysicalModelingUGens
[ 10%] Built target ReverbUGens
[ 10%] Built target TestUGens
[ 10%] Built target TriggerUGens
[ 10%] Built target UIUGens
[ 11%] Building CXX object server/plugins/CMakeFiles/UnaryOpUGens.dir/UnaryOpUGens.cpp.o
In file included from /home/subs/src/supercollider/server/plugins/UnaryOpUGens.cpp:32:0:
/home/subs/src/supercollider/external_libraries/nova-simd/softclip.hpp: In member function ‘FloatType nova::detail::softclip::operator()(FloatType) const [with FloatType = nova::vec<float>]’:
/home/subs/src/supercollider/external_libraries/nova-simd/detail/unroll_helpers.hpp:95:39: instantiated from ‘static void nova::detail::compile_time_unroller<FloatType, N>::mp_iteration_1(FloatType*, nova::detail::compile_time_unroller<FloatType, N>::vec_type, arg1_type&, const Functor&) [with arg1_type = nova::detail::vector_pointer_argument<float>, Functor = nova::detail::softclip, FloatType = float, int N = 64, nova::detail::compile_time_unroller<FloatType, N>::vec_type = nova::vec<float>]’
/home/subs/src/supercollider/external_libraries/nova-simd/detail/unroll_helpers.hpp:47:9: instantiated from ‘static void nova::detail::compile_time_unroller<FloatType, N>::run(FloatType*, arg1_type&, const Functor&) [with arg1_type = nova::detail::vector_pointer_argument<float>, Functor = nova::detail::softclip, FloatType = float, int N = 64]’
/home/subs/src/supercollider/external_libraries/nova-simd/detail/define_macros.hpp:54:9: instantiated from ‘static void nova::detail::unary_functor<Functor>::perform_vec_simd(FloatType*, const FloatType*) [with unsigned int n = 64u, FloatType = float, Functor = nova::detail::softclip]’
/home/subs/src/supercollider/external_libraries/nova-simd/softclip.hpp:81:1: instantiated from ‘void nova::softclip_vec_simd(FloatType*, const FloatType*) [with unsigned int n = 64u, FloatType = float]’
/home/subs/src/supercollider/server/plugins/UnaryOpUGens.cpp:447:1: instantiated from here
/home/subs/src/supercollider/external_libraries/nova-simd/softclip.hpp:44:9: error: could not convert ‘abs.nova::vec<float>::<anonymous>.nova::vec_base<WrappedType, VecType, VecSize>::operator< [with WrappedType = float, VecType = nova::detail::array<float, 4>, int VecSize = 4, nova::vec_base<WrappedType, VecType, VecSize> = nova::vec_base<float, nova::detail::array<float, 4>, 4>]((*(const nova::vec_base<float, nova::detail::array<float, 4>, 4>*)(& nova::vec<float>(5.0e-1).nova::vec<float>::<anonymous>)))’ from ‘nova::vec_base<float, nova::detail::array<float, 4>, 4>’ to ‘bool’
In file included from /home/subs/src/supercollider/external_libraries/nova-simd/vec_generic.hpp:28:0,
from /home/subs/src/supercollider/external_libraries/nova-simd/vec.hpp:23,
from /home/subs/src/supercollider/external_libraries/nova-simd/simd_unary_arithmetic.hpp:22,
from /home/subs/src/supercollider/server/plugins/UnaryOpUGens.cpp:27:
/home/subs/src/supercollider/external_libraries/nova-simd/detail/math.hpp: In function ‘float_type nova::detail::fabs(const float_type&) [with float_type = nova::vec<float>]’:
/home/subs/src/supercollider/external_libraries/nova-simd/softclip.hpp:43:33: instantiated from ‘FloatType nova::detail::softclip::operator()(FloatType) const [with FloatType = nova::vec<float>]’
/home/subs/src/supercollider/external_libraries/nova-simd/detail/unroll_helpers.hpp:95:39: instantiated from ‘static void nova::detail::compile_time_unroller<FloatType, N>::mp_iteration_1(FloatType*, nova::detail::compile_time_unroller<FloatType, N>::vec_type, arg1_type&, const Functor&) [with arg1_type = nova::detail::vector_pointer_argument<float>, Functor = nova::detail::softclip, FloatType = float, int N = 64, nova::detail::compile_time_unroller<FloatType, N>::vec_type = nova::vec<float>]’
/home/subs/src/supercollider/external_libraries/nova-simd/detail/unroll_helpers.hpp:47:9: instantiated from ‘static void nova::detail::compile_time_unroller<FloatType, N>::run(FloatType*, arg1_type&, const Functor&) [with arg1_type = nova::detail::vector_pointer_argument<float>, Functor = nova::detail::softclip, FloatType = float, int N = 64]’
/home/subs/src/supercollider/external_libraries/nova-simd/detail/define_macros.hpp:54:9: instantiated from ‘static void nova::detail::unary_functor<Functor>::perform_vec_simd(FloatType*, const FloatType*) [with unsigned int n = 64u, FloatType = float, Functor = nova::detail::softclip]’
/home/subs/src/supercollider/external_libraries/nova-simd/softclip.hpp:81:1: instantiated from ‘void nova::softclip_vec_simd(FloatType*, const FloatType*) [with unsigned int n = 64u, FloatType = float]’
/home/subs/src/supercollider/server/plugins/UnaryOpUGens.cpp:447:1: instantiated from here
/home/subs/src/supercollider/external_libraries/nova-simd/detail/math.hpp:174:1: error: no matching function for call to ‘fabs(const nova::vec<float>&)’
/home/subs/src/supercollider/external_libraries/nova-simd/detail/math.hpp:174:1: note: candidates are:
/usr/include/i386-linux-gnu/bits/mathinline.h:477:1: note: double fabs(double)
/usr/include/i386-linux-gnu/bits/mathinline.h:477:1: note: no known conversion for argument 1 from ‘const nova::vec<float>’ to ‘double’
/usr/include/c++/4.6/cmath:233:3: note: float std::fabs(float)
/usr/include/c++/4.6/cmath:233:3: note: no known conversion for argument 1 from ‘const nova::vec<float>’ to ‘float’
/usr/include/c++/4.6/cmath:237:3: note: long double std::fabs(long double)
/usr/include/c++/4.6/cmath:237:3: note: no known conversion for argument 1 from ‘const nova::vec<float>’ to ‘long double’
/usr/include/c++/4.6/cmath:243:5: note: template<class _Tp> typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::fabs(_Tp)
/home/subs/src/supercollider/external_libraries/nova-simd/softclip.hpp: In member function ‘FloatType nova::detail::softclip::operator()(FloatType) const [with FloatType = nova::vec<float>]’:
/home/subs/src/supercollider/external_libraries/nova-simd/softclip.hpp:48:5: warning: control reaches end of non-void function [-Wreturn-type]
/home/subs/src/supercollider/external_libraries/nova-simd/detail/math.hpp: In function ‘float_type nova::detail::fabs(const float_type&) [with float_type = nova::vec<float>]’:
/home/subs/src/supercollider/external_libraries/nova-simd/detail/math.hpp:174:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [server/plugins/CMakeFiles/UnaryOpUGens.dir/UnaryOpUGens.cpp.o] Error 1
make[1]: *** [server/plugins/CMakeFiles/UnaryOpUGens.dir/all] Error 2
make: *** [all] Error 2
subs@Black:~/src/supercollider/build$