Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#903 closed Bug Report (wontfix)

Syntax errors in AtomWriter.cpp

Reported by: Athan Owned by: David Robillard
Priority: major Component: Ingen
Keywords: Syntax Error Cc:

Description

Hi there, I just tried to build this and these were the errors thrown:

[ 90/653] cxx: ingen/src/AtomWriter.cpp -> build/ingen/src/AtomWriter.cpp.1.o
../ingen/src/AtomWriter.cpp: In member function 'void Ingen::AtomWriter::forge_properties(const Ingen::Resource::Properties&)':
../ingen/src/AtomWriter.cpp:98:14: error: expected initializer before ':' token
../ingen/src/AtomWriter.cpp:296:1: error: expected primary-expression at end of input
../ingen/src/AtomWriter.cpp:296:1: error: expected ';' at end of input
../ingen/src/AtomWriter.cpp:296:1: error: expected primary-expression at end of input
../ingen/src/AtomWriter.cpp:296:1: error: expected ')' at end of input
../ingen/src/AtomWriter.cpp:296:1: error: expected statement at end of input
../ingen/src/AtomWriter.cpp:296:1: error: expected '}' at end of input
../ingen/src/AtomWriter.cpp: At global scope:
../ingen/src/AtomWriter.cpp:296:1: error: expected '}' at end of input
Waf: Leaving directory `/home/athan/ingen/drobilla-lad/build'
Build failed
 -> task in 'libingen' failed (exit status 1): 
	{task 174207948: cxx AtomWriter.cpp -> AtomWriter.cpp.1.o}
['/usr/bin/g++', '-iquote /home/athan/ingen/drobilla-lad/naub', '-iquote /home/athan/ingen/drobilla-lad/machina', '-iquote /home/athan/ingen/drobilla-lad/ingen', '-iquote /home/athan/ingen/drobilla-lad/suil', '-iquote /home/athan/ingen/drobilla-lad/raul', '-iquote /home/athan/ingen/drobilla-lad/lilv', '-iquote /home/athan/ingen/drobilla-lad/ganv', '-iquote /home/athan/ingen/drobilla-lad/sratom', '-iquote /home/athan/ingen/drobilla-lad/sord', '-iquote /home/athan/ingen/drobilla-lad/serd', '-I/home/athan/ingen/drobilla-lad', '-DNDEBUG', '-fshow-column', '-I/home/athan/ingen/drobilla-lad/raul', '-std=c++0x', '-fPIC', '-I/home/athan/ingen/drobilla-lad/build/ingen', '-I/home/athan/ingen/drobilla-lad/ingen', '-I/home/athan/ingen/drobilla-lad/build/lilv', '-I/home/athan/ingen/drobilla-lad/lilv', '-I/home/athan/ingen/drobilla-lad/build/sratom', '-I/home/athan/ingen/drobilla-lad/sratom', '-I/home/athan/ingen/drobilla-lad/build/sord', '-I/home/athan/ingen/drobilla-lad/sord', '-I/home/athan/ingen/drobilla-lad/build/serd', '-I/home/athan/ingen/drobilla-lad/serd', '-I/usr/include/glibmm-2.4', '-I/usr/lib/glibmm-2.4/include', '-I/usr/include/sigc++-2.0', '-I/usr/lib/sigc++-2.0/include', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/home/athan/ingen/drobilla-lad/build', '-DHAVE_LV2=1', '-DHAVE_FMAX=1', '-DHAVE_POSIX_FADVISE=1', '-DSERD_VERSION="0.18.3"', '-DHAVE_SERD=1', '-DHAVE_PCRE=1', '-DSORD_VERSION="0.12.0"', '-DHAVE_SORD=1', '-DSRATOM_VERSION="0.4.3"', '-DHAVE_SRATOM=1', '-DHAVE_GTK2=1', '-DHAVE_GTK2_X11=1', '-DHAVE_QT4=1', '-DHAVE_LIBDL=1', '-DSUIL_VERSION="0.6.12"', '-DSUIL_MODULE_DIR="/usr/local/lib/suil-0"', '-DSUIL_DIR_SEP="/"', '-DSUIL_GTK2_LIB_NAME="libgtk-x11-2.0.so.0"', '-DSUIL_MODULE_PREFIX="lib"', '-DSUIL_MODULE_EXT=".so"', '-DHAVE_SUIL=1', '-DLILV_NEW_LV2=1', '-DHAVE_FLOCK=1', '-DHAVE_FILENO=1', '-DHAVE_CLOCK_GETTIME=1', '-DLILV_VERSION="0.16.1"', '-DLILV_PATH_SEP=":"', '-DLILV_DIR_SEP="/"', '-DHAVE_LILV=1', '-DHAVE_MEMORY=1', '-DHAVE_ATOMIC=1', '-DRAUL_VERSION="0.8.5"', '-DHAVE_RAUL=1', '-DHAVE_GTK=1', '-DHAVE_GTKMM=1', '-DENABLE_NLS=1', '-DHAVE_GANV=1', '-DHAVE_DBUS=1', '-DHAVE_DBUS_GLIB=1', '-DHAVE_GTHREAD=1', '-DHAVE_GLIBMM=1', '-DHAVE_DLADDR=1', '-DHAVE_JACK=1', '-DPATCHAGE_LIBJACK=1', '-DPATCHAGE_JACK_SESSION=1', '-DHAVE_ALSA=1', '-DPATCHAGE_BINLOC=1', '-DHAVE_BOOST_SHARED_PTR_HPP=1', '-DHAVE_BOOST_WEAK_PTR_HPP=1', '-DPATCHAGE_DATA_DIR="/usr/local/share/patchage"', '-DHAVE_PATCHAGE=1', '-DHAVE_BOOST_FORMAT_HPP=1', '-DHAVE_BOOST_INTRUSIVE_LIST_HPP=1', '-DHAVE_BOOST_OPTIONAL_HPP=1', '-DHAVE_BOOST_UTILITY_HPP=1', '-DPYTHONDIR="/usr/local/lib/python3.2/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3.2/site-packages"', '-DHAVE_NEW_GTKMM=1', '-DHAVE_WEBKIT=1', '-DHAVE_SOCKET=1', '-DINGEN_JACK_SESSION=1', '-DINGEN_VERSION="0.5.1"', '-DINGEN_BUILD_GUI=1', '-DHAVE_JACK_MIDI=1', '-DINGEN_DATA_DIR="/usr/local/share/ingen"', '-DINGEN_MODULE_DIR="/usr/local/lib"', '-DINGEN_BUNDLE_DIR="/usr/local/lib/lv2/ingen.lv2"', '-DHAVE_INGEN=1', '-DHAVE_GTK3=1', '-DHAVE_GTKMM2=1', '-DHAVE_JACK_PORT_TYPE_GET_BUFFER_SIZE=1', '-DJALV_JACK_SESSION=1', '-DJALV_VERSION="1.4.0"', '-DHAVE_JALV=1', '-DHAVE_POSIX_MEMALIGN=1', '-DMACHINA_BUILD_GUI=1', '-DMACHINA_PPQN=19200', '-DMACHINA_VERSION="0.5.0"', '-DMACHINA_DATA_DIR="/usr/local/share/machina"', '-DHAVE_MACHINA=1', '-DHAVE_USB=1', '-DNAUB_VERSION="0.0.0"', '-DHAVE_NAUB=1', '-DHAVE_PLUGINS_FLOAT_LV2=1', '-DHAVE_PLUGINS_MDA_LV2=1', '-DHAVE_MLOCK=1', '-DHAVE_PLUGINS_MATRISEQ=1', '-DHAVE_SINF=1', '-DBLOP_SHLIB_EXT=".so"', '-DHAVE_PLUGINS_BLOP_LV2=1', '-DHAVE_PLUGINS_FOMP_LV2=1', '-DHAVE_PLUGINS_OMINS_LV2=1', '-DHAVE_GL_GLU_H=1', '-DHAVE_PLUGINS_MESP_LV2=1', '../ingen/src/AtomWriter.cpp', '-c', '-o', 'ingen/src/AtomWriter.cpp.1.o']

Syntax error or something? My Python version is 3.2, gcc/g++ is 4.5.4. I really hope this becomes stable soon! This looks like a really interesting project!

Best regards, Athan

PS: Why does ingen require lv2 >= 1.4.1 when on lv2's own website, they only have 1.4.0 available as a source tarball?

Change History (2)

comment:1 Changed 8 years ago by David Robillard

Resolution: wontfix
Status: newclosed

You need GCC 4.6 for sufficient C++11 support. Ingen tends to follow bleeding edge LV2, you will need LV2 from SVN. Sorry, I am not really concerned about Ingen's compatibility with old things at this time (though GCC 4.6 is hardly new, it's been out for over 2 years)

comment:2 Changed 8 years ago by David Robillard

Re: stability, if you can get it running Ingen should be quite stable for use now. Any testing is be much appreciated, I will try to get a release out as soon as I have time...

Note: See TracTickets for help on using tickets.