Csound Csound-dev Csound-tekno Search About

[Cs-dev] building csoundqt for csound6

Date2013-07-10 21:18
Fromjoachim heintz
Subject[Cs-dev] building csoundqt for csound6
hi -

i would appreciate some help for building csoundqt with csound6 on linux 
(ubuntu studio 12.04). that is what i did and get:

1) i added CONFIG+=CSOUND6 to my qmake options.

2) i changed three paths in qcs.pro:
             CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
             INCLUDEPATH += /home/jh/src/csound6-git/interfaces
             CSOUND_LIBRARY_DIR = /home/jh/src/cs6
( /home/jh/src/cs6 is where i build csound6)

3) this output seems to be wrong to me, because it is pointing to 
csound5 directory:
Project MESSAGE: Csound API include directory is /usr/local/include/csound
Project MESSAGE: Csound interfaces include directory is
Project MESSAGE: Csound library directory is /usr/local/lib

4) the build fails here:
g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7 -O2 
-D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT 
-DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG 
-DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB 
-DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL 
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1 
-I../PythonQt2.1_Qt4.8/src 
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll 
-I../PythonQt2.1_Qt4.8/src 
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll 
-I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include 
-Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o src/qutecsound.cpp
src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime« 
[-Wunused-parameter]
src/qutecsound.cpp: In Konstruktor »CsoundQt::CsoundQt(QStringList)«:
src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion »int 
csoundInitialize(int*, char***, int)«
/usr/local/include/csound/csound.h:508:14: Anmerkung: hier deklariert
src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code« 
[-Wunused-parameter]
make: *** [build/doubles/obj/qutecsound.o] Fehler 1
.
thanks -

	joachim

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/

Date2013-07-10 21:55
FromAndres Cabrera
SubjectRe: [Cs-dev] building csoundqt for csound6
AttachmentsNone  None  
Hi Joachim,

It should be CONFIG+=csound6 in lowercase. That should make things work. Once installers are stable, I will fix the qmake file to look for Csound in the right places, rather than having to hard code the path there.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz <jh@joachimheintz.de> wrote:
hi -

i would appreciate some help for building csoundqt with csound6 on linux
(ubuntu studio 12.04). that is what i did and get:

1) i added CONFIG+=CSOUND6 to my qmake options.

2) i changed three paths in qcs.pro:
             CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
             INCLUDEPATH += /home/jh/src/csound6-git/interfaces
             CSOUND_LIBRARY_DIR = /home/jh/src/cs6
( /home/jh/src/cs6 is where i build csound6)

3) this output seems to be wrong to me, because it is pointing to
csound5 directory:
Project MESSAGE: Csound API include directory is /usr/local/include/csound
Project MESSAGE: Csound interfaces include directory is
Project MESSAGE: Csound library directory is /usr/local/lib

4) the build fails here:
g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7 -O2
-D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
-DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
-DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
-DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
-Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o src/qutecsound.cpp
src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime«
[-Wunused-parameter]
src/qutecsound.cpp: In Konstruktor »CsoundQt::CsoundQt(QStringList)«:
src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion »int
csoundInitialize(int*, char***, int)«
/usr/local/include/csound/csound.h:508:14: Anmerkung: hier deklariert
src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
[-Wunused-parameter]
make: *** [build/doubles/obj/qutecsound.o] Fehler 1
.
thanks -

        joachim

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-07-10 22:07
Fromjoachim heintz
SubjectRe: [Cs-dev] building csoundqt for csound6
hi andrés -

thanks -- that was exactly what i just read in a mail by tarmo ...

much better now, but failing at the very end:

build/doubles/obj/csoundengine.o:csoundengine.cpp:function 
CsoundEngine::inputValueCallback(CSOUND_*, char const*, double*): error: 
undefined reference to 'csoundGetStrVarMaxLen'
build/doubles/obj/csoundengine.o:csoundengine.cpp:function 
CsoundEngine::cleanupCsound(): error: undefined reference to 
'csoundRemoveCallback'
build/doubles/obj/csoundengine.o:csoundengine.cpp:function 
CsoundEngine::setupChannels(): error: undefined reference to 
'csoundSetInputValueCallback'
build/doubles/obj/csoundengine.o:csoundengine.cpp:function 
CsoundEngine::setupChannels(): error: undefined reference to 
'csoundSetOutputValueCallback'
build/doubles/obj/csoundengine.o:csoundengine.cpp:function 
CsoundEngine::runCsound(): error: undefined reference to 'csoundPreCompile'
build/doubles/obj/csoundengine.o:csoundengine.cpp:function 
CsoundEngine::runCsound(): error: undefined reference to 'csoundSetCallback'
collect2: ld gab 1 als Ende-Status zurück
make: *** [bin/CsoundQt-d-py] Fehler 1

any idea? best -

	joachim


Am 10.07.2013 22:55, schrieb Andres Cabrera:
> Hi Joachim,
>
> It should be CONFIG+=csound6 in lowercase. That should make things work.
> Once installers are stable, I will fix the qmake file to look for Csound
> in the right places, rather than having to hard code the path there.
>
> Cheers,
> Andrés
>
>
> On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz  > wrote:
>
>     hi -
>
>     i would appreciate some help for building csoundqt with csound6 on linux
>     (ubuntu studio 12.04). that is what i did and get:
>
>     1) i added CONFIG+=CSOUND6 to my qmake options.
>
>     2) i changed three paths in qcs.pro :
>                   CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
>                   INCLUDEPATH += /home/jh/src/csound6-git/interfaces
>                   CSOUND_LIBRARY_DIR = /home/jh/src/cs6
>     ( /home/jh/src/cs6 is where i build csound6)
>
>     3) this output seems to be wrong to me, because it is pointing to
>     csound5 directory:
>     Project MESSAGE: Csound API include directory is
>     /usr/local/include/csound
>     Project MESSAGE: Csound interfaces include directory is
>     Project MESSAGE: Csound library directory is /usr/local/lib
>
>     4) the build fails here:
>     g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7 -O2
>     -D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
>     -DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
>     -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
>     -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
>     -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
>     -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
>     -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
>     -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
>     -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
>     -I../PythonQt2.1_Qt4.8/src
>     -I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
>     -I../PythonQt2.1_Qt4.8/src
>     -I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
>     -I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
>     -Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o
>     src/qutecsound.cpp
>     src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime«
>     [-Wunused-parameter]
>     src/qutecsound.cpp: In Konstruktor »CsoundQt::CsoundQt(QStringList)«:
>     src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion »int
>     csoundInitialize(int*, char***, int)«
>     /usr/local/include/csound/csound.h:508:14: Anmerkung: hier deklariert
>     src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
>     src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
>     [-Wunused-parameter]
>     make: *** [build/doubles/obj/qutecsound.o] Fehler 1
>     .
>     thanks -
>
>              joachim
>
>     ------------------------------------------------------------------------------
>     See everything from the browser to the database with AppDynamics
>     Get end-to-end visibility with application monitoring from AppDynamics
>     Isolate bottlenecks and diagnose root cause in seconds.
>     Start your free trial of AppDynamics Pro today!
>     http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>     _______________________________________________
>     Csound-devel mailing list
>     Csound-devel@lists.sourceforge.net
>     
>     https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-d

Date2013-07-10 23:12
FromAndres Cabrera
SubjectRe: [Cs-dev] building csoundqt for csound6
AttachmentsNone  None  
Hi,

Looks like you need to rebuild as these are Csound5 functions.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 2:07 PM, joachim heintz <jh@joachimheintz.de> wrote:
hi andrés -

thanks -- that was exactly what i just read in a mail by tarmo ...

much better now, but failing at the very end:

build/doubles/obj/csoundengine.o:csoundengine.cpp:function
CsoundEngine::inputValueCallback(CSOUND_*, char const*, double*): error:
undefined reference to 'csoundGetStrVarMaxLen'
build/doubles/obj/csoundengine.o:csoundengine.cpp:function
CsoundEngine::cleanupCsound(): error: undefined reference to
'csoundRemoveCallback'
build/doubles/obj/csoundengine.o:csoundengine.cpp:function
CsoundEngine::setupChannels(): error: undefined reference to
'csoundSetInputValueCallback'
build/doubles/obj/csoundengine.o:csoundengine.cpp:function
CsoundEngine::setupChannels(): error: undefined reference to
'csoundSetOutputValueCallback'
build/doubles/obj/csoundengine.o:csoundengine.cpp:function
CsoundEngine::runCsound(): error: undefined reference to 'csoundPreCompile'
build/doubles/obj/csoundengine.o:csoundengine.cpp:function
CsoundEngine::runCsound(): error: undefined reference to 'csoundSetCallback'
collect2: ld gab 1 als Ende-Status zurück
make: *** [bin/CsoundQt-d-py] Fehler 1

any idea? best -

        joachim


Am 10.07.2013 22:55, schrieb Andres Cabrera:
> Hi Joachim,
>
> It should be CONFIG+=csound6 in lowercase. That should make things work.
> Once installers are stable, I will fix the qmake file to look for Csound
> in the right places, rather than having to hard code the path there.
>
> Cheers,
> Andrés
>
>
> On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz <jh@joachimheintz.de
> <mailto:jh@joachimheintz.de>> wrote:
>
>     hi -
>
>     i would appreciate some help for building csoundqt with csound6 on linux
>     (ubuntu studio 12.04). that is what i did and get:
>
>     1) i added CONFIG+=CSOUND6 to my qmake options.
>
>     2) i changed three paths in qcs.pro <http://qcs.pro>:
>                   CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
>                   INCLUDEPATH += /home/jh/src/csound6-git/interfaces
>                   CSOUND_LIBRARY_DIR = /home/jh/src/cs6
>     ( /home/jh/src/cs6 is where i build csound6)
>
>     3) this output seems to be wrong to me, because it is pointing to
>     csound5 directory:
>     Project MESSAGE: Csound API include directory is
>     /usr/local/include/csound
>     Project MESSAGE: Csound interfaces include directory is
>     Project MESSAGE: Csound library directory is /usr/local/lib
>
>     4) the build fails here:
>     g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7 -O2
>     -D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
>     -DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
>     -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
>     -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
>     -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
>     -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
>     -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
>     -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
>     -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
>     -I../PythonQt2.1_Qt4.8/src
>     -I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
>     -I../PythonQt2.1_Qt4.8/src
>     -I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
>     -I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
>     -Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o
>     src/qutecsound.cpp
>     src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime«
>     [-Wunused-parameter]
>     src/qutecsound.cpp: In Konstruktor »CsoundQt::CsoundQt(QStringList)«:
>     src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion »int
>     csoundInitialize(int*, char***, int)«
>     /usr/local/include/csound/csound.h:508:14: Anmerkung: hier deklariert
>     src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
>     src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
>     [-Wunused-parameter]
>     make: *** [build/doubles/obj/qutecsound.o] Fehler 1
>     .
>     thanks -
>
>              joachim
>
>     ------------------------------------------------------------------------------
>     See everything from the browser to the database with AppDynamics
>     Get end-to-end visibility with application monitoring from AppDynamics
>     Isolate bottlenecks and diagnose root cause in seconds.
>     Start your free trial of AppDynamics Pro today!
>     http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>     _______________________________________________
>     Csound-devel mailing list
>     Csound-devel@lists.sourceforge.net
>     <mailto:Csound-devel@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-07-10 23:27
FromMichael Gogins
SubjectRe: [Cs-dev] building csoundqt for csound6
AttachmentsNone  None  
Does CsoundQt link with any C++ code from Csound? Or does it use only the C API?

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Jul 10, 2013 at 4:55 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Hi Joachim,

It should be CONFIG+=csound6 in lowercase. That should make things work. Once installers are stable, I will fix the qmake file to look for Csound in the right places, rather than having to hard code the path there.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz <jh@joachimheintz.de> wrote:
hi -

i would appreciate some help for building csoundqt with csound6 on linux
(ubuntu studio 12.04). that is what i did and get:

1) i added CONFIG+=CSOUND6 to my qmake options.

2) i changed three paths in qcs.pro:
             CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
             INCLUDEPATH += /home/jh/src/csound6-git/interfaces
             CSOUND_LIBRARY_DIR = /home/jh/src/cs6
( /home/jh/src/cs6 is where i build csound6)

3) this output seems to be wrong to me, because it is pointing to
csound5 directory:
Project MESSAGE: Csound API include directory is /usr/local/include/csound
Project MESSAGE: Csound interfaces include directory is
Project MESSAGE: Csound library directory is /usr/local/lib

4) the build fails here:
g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7 -O2
-D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
-DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
-DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
-DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
-Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o src/qutecsound.cpp
src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime«
[-Wunused-parameter]
src/qutecsound.cpp: In Konstruktor »CsoundQt::CsoundQt(QStringList)«:
src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion »int
csoundInitialize(int*, char***, int)«
/usr/local/include/csound/csound.h:508:14: Anmerkung: hier deklariert
src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
[-Wunused-parameter]
make: *** [build/doubles/obj/qutecsound.o] Fehler 1
.
thanks -

        joachim

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-07-10 23:36
FromAndres Cabrera
SubjectRe: [Cs-dev] building csoundqt for csound6
AttachmentsNone  None  
It uses the C API, and the csPerfThread class which is C++.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 3:27 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Does CsoundQt link with any C++ code from Csound? Or does it use only the C API?

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Jul 10, 2013 at 4:55 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Hi Joachim,

It should be CONFIG+=csound6 in lowercase. That should make things work. Once installers are stable, I will fix the qmake file to look for Csound in the right places, rather than having to hard code the path there.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz <jh@joachimheintz.de> wrote:
hi -

i would appreciate some help for building csoundqt with csound6 on linux
(ubuntu studio 12.04). that is what i did and get:

1) i added CONFIG+=CSOUND6 to my qmake options.

2) i changed three paths in qcs.pro:
             CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
             INCLUDEPATH += /home/jh/src/csound6-git/interfaces
             CSOUND_LIBRARY_DIR = /home/jh/src/cs6
( /home/jh/src/cs6 is where i build csound6)

3) this output seems to be wrong to me, because it is pointing to
csound5 directory:
Project MESSAGE: Csound API include directory is /usr/local/include/csound
Project MESSAGE: Csound interfaces include directory is
Project MESSAGE: Csound library directory is /usr/local/lib

4) the build fails here:
g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7 -O2
-D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
-DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
-DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
-DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
-Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o src/qutecsound.cpp
src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime«
[-Wunused-parameter]
src/qutecsound.cpp: In Konstruktor »CsoundQt::CsoundQt(QStringList)«:
src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion »int
csoundInitialize(int*, char***, int)«
/usr/local/include/csound/csound.h:508:14: Anmerkung: hier deklariert
src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
[-Wunused-parameter]
make: *** [build/doubles/obj/qutecsound.o] Fehler 1
.
thanks -

        joachim

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-07-10 23:52
FromMichael Gogins
SubjectRe: [Cs-dev] building csoundqt for csound6
AttachmentsNone  None  
The reason I asked is that the Qt SDK is built with a different ABI than the one I used for building Csound. Do you link with csPerfThread or compile it along with CsoundQt?


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Jul 10, 2013 at 6:36 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
It uses the C API, and the csPerfThread class which is C++.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 3:27 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Does CsoundQt link with any C++ code from Csound? Or does it use only the C API?

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Jul 10, 2013 at 4:55 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Hi Joachim,

It should be CONFIG+=csound6 in lowercase. That should make things work. Once installers are stable, I will fix the qmake file to look for Csound in the right places, rather than having to hard code the path there.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz <jh@joachimheintz.de> wrote:
hi -

i would appreciate some help for building csoundqt with csound6 on linux
(ubuntu studio 12.04). that is what i did and get:

1) i added CONFIG+=CSOUND6 to my qmake options.

2) i changed three paths in qcs.pro:
             CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
             INCLUDEPATH += /home/jh/src/csound6-git/interfaces
             CSOUND_LIBRARY_DIR = /home/jh/src/cs6
( /home/jh/src/cs6 is where i build csound6)

3) this output seems to be wrong to me, because it is pointing to
csound5 directory:
Project MESSAGE: Csound API include directory is /usr/local/include/csound
Project MESSAGE: Csound interfaces include directory is
Project MESSAGE: Csound library directory is /usr/local/lib

4) the build fails here:
g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7 -O2
-D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
-DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
-DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
-DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
-Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o src/qutecsound.cpp
src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime«
[-Wunused-parameter]
src/qutecsound.cpp: In Konstruktor »CsoundQt::CsoundQt(QStringList)«:
src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion »int
csoundInitialize(int*, char***, int)«
/usr/local/include/csound/csound.h:508:14: Anmerkung: hier deklariert
src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
[-Wunused-parameter]
make: *** [build/doubles/obj/qutecsound.o] Fehler 1
.
thanks -

        joachim

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-07-10 23:56
FromAndres Cabrera
SubjectRe: [Cs-dev] building csoundqt for csound6
AttachmentsNone  None  
I link with csPerfThread, but it would be easy enough to include it in the build too if needed.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 3:52 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
The reason I asked is that the Qt SDK is built with a different ABI than the one I used for building Csound. Do you link with csPerfThread or compile it along with CsoundQt?


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Jul 10, 2013 at 6:36 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
It uses the C API, and the csPerfThread class which is C++.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 3:27 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Does CsoundQt link with any C++ code from Csound? Or does it use only the C API?

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Jul 10, 2013 at 4:55 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Hi Joachim,

It should be CONFIG+=csound6 in lowercase. That should make things work. Once installers are stable, I will fix the qmake file to look for Csound in the right places, rather than having to hard code the path there.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz <jh@joachimheintz.de> wrote:
hi -

i would appreciate some help for building csoundqt with csound6 on linux
(ubuntu studio 12.04). that is what i did and get:

1) i added CONFIG+=CSOUND6 to my qmake options.

2) i changed three paths in qcs.pro:
             CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
             INCLUDEPATH += /home/jh/src/csound6-git/interfaces
             CSOUND_LIBRARY_DIR = /home/jh/src/cs6
( /home/jh/src/cs6 is where i build csound6)

3) this output seems to be wrong to me, because it is pointing to
csound5 directory:
Project MESSAGE: Csound API include directory is /usr/local/include/csound
Project MESSAGE: Csound interfaces include directory is
Project MESSAGE: Csound library directory is /usr/local/lib

4) the build fails here:
g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7 -O2
-D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
-DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
-DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
-DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
-Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o src/qutecsound.cpp
src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime«
[-Wunused-parameter]
src/qutecsound.cpp: In Konstruktor »CsoundQt::CsoundQt(QStringList)«:
src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion »int
csoundInitialize(int*, char***, int)«
/usr/local/include/csound/csound.h:508:14: Anmerkung: hier deklariert
src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
[-Wunused-parameter]
make: *** [build/doubles/obj/qutecsound.o] Fehler 1
.
thanks -

        joachim

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-07-11 06:51
Fromjoachim heintz
SubjectRe: [Cs-dev] building csoundqt for csound6
oh yes -- make clean got me there ...
thanks!
	joachim


Am 11.07.2013 00:12, schrieb Andres Cabrera:
> Hi,
>
> Looks like you need to rebuild as these are Csound5 functions.
>
> Cheers,
> Andrés
>
>
> On Wed, Jul 10, 2013 at 2:07 PM, joachim heintz  > wrote:
>
>     hi andrés -
>
>     thanks -- that was exactly what i just read in a mail by tarmo ...
>
>     much better now, but failing at the very end:
>
>     build/doubles/obj/csoundengine.o:csoundengine.cpp:function
>     CsoundEngine::inputValueCallback(CSOUND_*, char const*, double*): error:
>     undefined reference to 'csoundGetStrVarMaxLen'
>     build/doubles/obj/csoundengine.o:csoundengine.cpp:function
>     CsoundEngine::cleanupCsound(): error: undefined reference to
>     'csoundRemoveCallback'
>     build/doubles/obj/csoundengine.o:csoundengine.cpp:function
>     CsoundEngine::setupChannels(): error: undefined reference to
>     'csoundSetInputValueCallback'
>     build/doubles/obj/csoundengine.o:csoundengine.cpp:function
>     CsoundEngine::setupChannels(): error: undefined reference to
>     'csoundSetOutputValueCallback'
>     build/doubles/obj/csoundengine.o:csoundengine.cpp:function
>     CsoundEngine::runCsound(): error: undefined reference to
>     'csoundPreCompile'
>     build/doubles/obj/csoundengine.o:csoundengine.cpp:function
>     CsoundEngine::runCsound(): error: undefined reference to
>     'csoundSetCallback'
>     collect2: ld gab 1 als Ende-Status zurück
>     make: *** [bin/CsoundQt-d-py] Fehler 1
>
>     any idea? best -
>
>              joachim
>
>
>     Am 10.07.2013 22:55, schrieb Andres Cabrera:
>      > Hi Joachim,
>      >
>      > It should be CONFIG+=csound6 in lowercase. That should make
>     things work.
>      > Once installers are stable, I will fix the qmake file to look for
>     Csound
>      > in the right places, rather than having to hard code the path there.
>      >
>      > Cheers,
>      > Andrés
>      >
>      >
>      > On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz
>     
>      > >> wrote:
>      >
>      >     hi -
>      >
>      >     i would appreciate some help for building csoundqt with
>     csound6 on linux
>      >     (ubuntu studio 12.04). that is what i did and get:
>      >
>      >     1) i added CONFIG+=CSOUND6 to my qmake options.
>      >
>      >     2) i changed three paths in qcs.pro 
>     :
>      >                   CSOUND_INCLUDE_DIR =
>     /home/jh/src/csound6-git/include
>      >                   INCLUDEPATH += /home/jh/src/csound6-git/interfaces
>      >                   CSOUND_LIBRARY_DIR = /home/jh/src/cs6
>      >     ( /home/jh/src/cs6 is where i build csound6)
>      >
>      >     3) this output seems to be wrong to me, because it is pointing to
>      >     csound5 directory:
>      >     Project MESSAGE: Csound API include directory is
>      >     /usr/local/include/csound
>      >     Project MESSAGE: Csound interfaces include directory is
>      >     Project MESSAGE: Csound library directory is /usr/local/lib
>      >
>      >     4) the build fails here:
>      >     g++ -c -m64 -pipe -I/usr/include/python2.7
>     -I/usr/include/python2.7 -O2
>      >     -D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
>      >     -DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
>      >     -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
>      >     -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB
>     -DQT_SHARED
>      >     -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
>     -I/usr/include/qt4/QtCore
>      >     -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
>      >     -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
>      >     -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
>      >     -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
>      >     -I../PythonQt2.1_Qt4.8/src
>      >     -I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
>      >     -I../PythonQt2.1_Qt4.8/src
>      >     -I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
>      >     -I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
>      >     -Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o
>      >     src/qutecsound.cpp
>      >     src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter
>     »deltatime«
>      >     [-Wunused-parameter]
>      >     src/qutecsound.cpp: In Konstruktor
>     »CsoundQt::CsoundQt(QStringList)«:
>      >     src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für
>     Funktion »int
>      >     csoundInitialize(int*, char***, int)«
>      >     /usr/local/include/csound/csound.h:508:14: Anmerkung: hier
>     deklariert
>      >     src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
>      >     src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
>      >     [-Wunused-parameter]
>      >     make: *** [build/doubles/obj/qutecsound.o] Fehler 1
>      >     .
>      >     thanks -
>      >
>      >              joachim
>      >
>      >
>     ------------------------------------------------------------------------------
>      >     See everything from the browser to the database with AppDynamics
>      >     Get end-to-end visibility with application monitoring from
>     AppDynamics
>      >     Isolate bottlenecks and diagnose root cause in seconds.
>      >     Start your free trial of AppDynamics Pro today!
>      >
>     http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>      >     _______________________________________________
>      >     Csound-devel mailing list
>      > Csound-devel@lists.sourceforge.net
>     
>      >          >
>      > https://lists.sourceforge.net/lists/listinfo/csound-devel
>      >
>      >
>      >
>      >
>      >
>     ------------------------------------------------------------------------------
>      > See everything from the browser to the database with AppDynamics
>      > Get end-to-end visibility with application monitoring from
>     AppDynamics
>      > Isolate bottlenecks and diagnose root cause in seconds.
>      > Start your free trial of AppDynamics Pro today!
>      >
>     http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>      >
>      >
>      >
>      > _______________________________________________
>      > Csound-devel mailing list
>      > Csound-devel@lists.sourceforge.net
>     
>      > https://lists.sourceforge.net/lists/listinfo/csound-devel
>      >
>
>     ------------------------------------------------------------------------------
>     See everything from the browser to the database with AppDynamics
>     Get end-to-end visibility with application monitoring from AppDynamics
>     Isolate bottlenecks and diagnose root cause in seconds.
>     Start your free trial of AppDynamics Pro today!
>     http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>     _______________________________________________
>     Csound-devel mailing list
>     Csound-devel@lists.sourceforge.net
>     
>     https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-dev

Date2013-07-11 15:58
FromAndres Cabrera
SubjectRe: [Cs-dev] building csoundqt for csound6
AttachmentsNone  None  
But now thinking about it, I think csPerfThread needs the csound.hpp, so it might not be so trivial to remove.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 3:56 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
I link with csPerfThread, but it would be easy enough to include it in the build too if needed.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 3:52 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
The reason I asked is that the Qt SDK is built with a different ABI than the one I used for building Csound. Do you link with csPerfThread or compile it along with CsoundQt?


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Jul 10, 2013 at 6:36 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
It uses the C API, and the csPerfThread class which is C++.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 3:27 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Does CsoundQt link with any C++ code from Csound? Or does it use only the C API?

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Jul 10, 2013 at 4:55 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Hi Joachim,

It should be CONFIG+=csound6 in lowercase. That should make things work. Once installers are stable, I will fix the qmake file to look for Csound in the right places, rather than having to hard code the path there.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz <jh@joachimheintz.de> wrote:
hi -

i would appreciate some help for building csoundqt with csound6 on linux
(ubuntu studio 12.04). that is what i did and get:

1) i added CONFIG+=CSOUND6 to my qmake options.

2) i changed three paths in qcs.pro:
             CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
             INCLUDEPATH += /home/jh/src/csound6-git/interfaces
             CSOUND_LIBRARY_DIR = /home/jh/src/cs6
( /home/jh/src/cs6 is where i build csound6)

3) this output seems to be wrong to me, because it is pointing to
csound5 directory:
Project MESSAGE: Csound API include directory is /usr/local/include/csound
Project MESSAGE: Csound interfaces include directory is
Project MESSAGE: Csound library directory is /usr/local/lib

4) the build fails here:
g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7 -O2
-D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
-DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
-DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
-DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
-Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o src/qutecsound.cpp
src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime«
[-Wunused-parameter]
src/qutecsound.cpp: In Konstruktor »CsoundQt::CsoundQt(QStringList)«:
src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion »int
csoundInitialize(int*, char***, int)«
/usr/local/include/csound/csound.h:508:14: Anmerkung: hier deklariert
src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
[-Wunused-parameter]
make: *** [build/doubles/obj/qutecsound.o] Fehler 1
.
thanks -

        joachim

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




Date2013-07-11 16:01
FromMichael Gogins
SubjectRe: [Cs-dev] building csoundqt for csound6
AttachmentsNone  None  
That;s not a problem at all because csound.hpp is a pure header file, there is no need for linking to anything. I wish more libraries were like that, it gets around all the problems with the C++ ABIs.  Perhaps I should rewrite csPerfThread as a header file only library as well.

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Jul 11, 2013 at 10:58 AM, Andres Cabrera <mantaraya36@gmail.com> wrote:
But now thinking about it, I think csPerfThread needs the csound.hpp, so it might not be so trivial to remove.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 3:56 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
I link with csPerfThread, but it would be easy enough to include it in the build too if needed.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 3:52 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
The reason I asked is that the Qt SDK is built with a different ABI than the one I used for building Csound. Do you link with csPerfThread or compile it along with CsoundQt?


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Jul 10, 2013 at 6:36 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
It uses the C API, and the csPerfThread class which is C++.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 3:27 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Does CsoundQt link with any C++ code from Csound? Or does it use only the C API?

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Jul 10, 2013 at 4:55 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Hi Joachim,

It should be CONFIG+=csound6 in lowercase. That should make things work. Once installers are stable, I will fix the qmake file to look for Csound in the right places, rather than having to hard code the path there.

Cheers,
Andrés


On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz <jh@joachimheintz.de> wrote:
hi -

i would appreciate some help for building csoundqt with csound6 on linux
(ubuntu studio 12.04). that is what i did and get:

1) i added CONFIG+=CSOUND6 to my qmake options.

2) i changed three paths in qcs.pro:
             CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
             INCLUDEPATH += /home/jh/src/csound6-git/interfaces
             CSOUND_LIBRARY_DIR = /home/jh/src/cs6
( /home/jh/src/cs6 is where i build csound6)

3) this output seems to be wrong to me, because it is pointing to
csound5 directory:
Project MESSAGE: Csound API include directory is /usr/local/include/csound
Project MESSAGE: Csound interfaces include directory is
Project MESSAGE: Csound library directory is /usr/local/lib

4) the build fails here:
g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7 -O2
-D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
-DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
-DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
-DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I../PythonQt2.1_Qt4.8/src
-I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
-I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
-Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o src/qutecsound.cpp
src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime«
[-Wunused-parameter]
src/qutecsound.cpp: In Konstruktor »CsoundQt::CsoundQt(QStringList)«:
src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion »int
csoundInitialize(int*, char***, int)«
/usr/local/include/csound/csound.h:508:14: Anmerkung: hier deklariert
src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
[-Wunused-parameter]
make: *** [build/doubles/obj/qutecsound.o] Fehler 1
.
thanks -

        joachim

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-07-11 16:23
FromFelipe Sateler
SubjectRe: [Cs-dev] building csoundqt for csound6
It avoids ABI issues by forcing everyone to rebuild on every update :(

On Thu, Jul 11, 2013 at 11:01 AM, Michael Gogins
 wrote:
> That;s not a problem at all because csound.hpp is a pure header file, there
> is no need for linking to anything. I wish more libraries were like that, it
> gets around all the problems with the C++ ABIs.  Perhaps I should rewrite
> csPerfThread as a header file only library as well.
>
> Regards,
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, Jul 11, 2013 at 10:58 AM, Andres Cabrera 
> wrote:
>>
>> But now thinking about it, I think csPerfThread needs the csound.hpp, so
>> it might not be so trivial to remove.
>>
>> Cheers,
>> Andrés
>>
>>
>> On Wed, Jul 10, 2013 at 3:56 PM, Andres Cabrera 
>> wrote:
>>>
>>> I link with csPerfThread, but it would be easy enough to include it in
>>> the build too if needed.
>>>
>>> Cheers,
>>> Andrés
>>>
>>>
>>> On Wed, Jul 10, 2013 at 3:52 PM, Michael Gogins
>>>  wrote:
>>>>
>>>> The reason I asked is that the Qt SDK is built with a different ABI than
>>>> the one I used for building Csound. Do you link with csPerfThread or compile
>>>> it along with CsoundQt?
>>>>
>>>>
>>>> ===========================
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://michaelgogins.tumblr.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> On Wed, Jul 10, 2013 at 6:36 PM, Andres Cabrera 
>>>> wrote:
>>>>>
>>>>> It uses the C API, and the csPerfThread class which is C++.
>>>>>
>>>>> Cheers,
>>>>> Andrés
>>>>>
>>>>>
>>>>> On Wed, Jul 10, 2013 at 3:27 PM, Michael Gogins
>>>>>  wrote:
>>>>>>
>>>>>> Does CsoundQt link with any C++ code from Csound? Or does it use only
>>>>>> the C API?
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>>
>>>>>> ===========================
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://michaelgogins.tumblr.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>>
>>>>>> On Wed, Jul 10, 2013 at 4:55 PM, Andres Cabrera
>>>>>>  wrote:
>>>>>>>
>>>>>>> Hi Joachim,
>>>>>>>
>>>>>>> It should be CONFIG+=csound6 in lowercase. That should make things
>>>>>>> work. Once installers are stable, I will fix the qmake file to look for
>>>>>>> Csound in the right places, rather than having to hard code the path there.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Andrés
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> hi -
>>>>>>>>
>>>>>>>> i would appreciate some help for building csoundqt with csound6 on
>>>>>>>> linux
>>>>>>>> (ubuntu studio 12.04). that is what i did and get:
>>>>>>>>
>>>>>>>> 1) i added CONFIG+=CSOUND6 to my qmake options.
>>>>>>>>
>>>>>>>> 2) i changed three paths in qcs.pro:
>>>>>>>>              CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
>>>>>>>>              INCLUDEPATH += /home/jh/src/csound6-git/interfaces
>>>>>>>>              CSOUND_LIBRARY_DIR = /home/jh/src/cs6
>>>>>>>> ( /home/jh/src/cs6 is where i build csound6)
>>>>>>>>
>>>>>>>> 3) this output seems to be wrong to me, because it is pointing to
>>>>>>>> csound5 directory:
>>>>>>>> Project MESSAGE: Csound API include directory is
>>>>>>>> /usr/local/include/csound
>>>>>>>> Project MESSAGE: Csound interfaces include directory is
>>>>>>>> Project MESSAGE: Csound library directory is /usr/local/lib
>>>>>>>>
>>>>>>>> 4) the build fails here:
>>>>>>>> g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7
>>>>>>>> -O2
>>>>>>>> -D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
>>>>>>>> -DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
>>>>>>>> -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
>>>>>>>> -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
>>>>>>>> -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
>>>>>>>> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
>>>>>>>> -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
>>>>>>>> -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
>>>>>>>> -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
>>>>>>>> -I../PythonQt2.1_Qt4.8/src
>>>>>>>> -I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
>>>>>>>> -I../PythonQt2.1_Qt4.8/src
>>>>>>>> -I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
>>>>>>>> -I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
>>>>>>>> -Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o
>>>>>>>> src/qutecsound.cpp
>>>>>>>> src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime«
>>>>>>>> [-Wunused-parameter]
>>>>>>>> src/qutecsound.cpp: In Konstruktor
>>>>>>>> »CsoundQt::CsoundQt(QStringList)«:
>>>>>>>> src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion
>>>>>>>> »int
>>>>>>>> csoundInitialize(int*, char***, int)«
>>>>>>>> /usr/local/include/csound/csound.h:508:14: Anmerkung: hier
>>>>>>>> deklariert
>>>>>>>> src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
>>>>>>>> src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
>>>>>>>> [-Wunused-parameter]
>>>>>>>> make: *** [build/doubles/obj/qutecsound.o] Fehler 1
>>>>>>>> .
>>>>>>>> thanks -
>>>>>>>>
>>>>>>>>         joachim
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> See everything from the browser to the database with AppDynamics
>>>>>>>> Get end-to-end visibility with application monitoring from
>>>>>>>> AppDynamics
>>>>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>>>>> Start your free trial of AppDynamics Pro today!
>>>>>>>>
>>>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> See everything from the browser to the database with AppDynamics
>>>>>>> Get end-to-end visibility with application monitoring from
>>>>>>> AppDynamics
>>>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>>>> Start your free trial of AppDynamics Pro today!
>>>>>>>
>>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> See everything from the browser to the database with AppDynamics
>>>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>>> Start your free trial of AppDynamics Pro today!
>>>>>>
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> See everything from the browser to the database with AppDynamics
>>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>> Start your free trial of AppDynamics Pro today!
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> See everything from the browser to the database with AppDynamics
>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>> Start your free trial of AppDynamics Pro today!
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge

Date2013-07-11 16:35
FromMichael Gogins
SubjectRe: [Cs-dev] building csoundqt for csound6
AttachmentsNone  None  
I think that is a lesser problem. At least things will both build and run instead of building but then crashing.

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Jul 11, 2013 at 11:23 AM, Felipe Sateler <fsateler@gmail.com> wrote:
It avoids ABI issues by forcing everyone to rebuild on every update :(

On Thu, Jul 11, 2013 at 11:01 AM, Michael Gogins
<michael.gogins@gmail.com> wrote:
> That;s not a problem at all because csound.hpp is a pure header file, there
> is no need for linking to anything. I wish more libraries were like that, it
> gets around all the problems with the C++ ABIs.  Perhaps I should rewrite
> csPerfThread as a header file only library as well.
>
> Regards,
> Mike
>
>
> ===========================
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, Jul 11, 2013 at 10:58 AM, Andres Cabrera <mantaraya36@gmail.com>
> wrote:
>>
>> But now thinking about it, I think csPerfThread needs the csound.hpp, so
>> it might not be so trivial to remove.
>>
>> Cheers,
>> Andrés
>>
>>
>> On Wed, Jul 10, 2013 at 3:56 PM, Andres Cabrera <mantaraya36@gmail.com>
>> wrote:
>>>
>>> I link with csPerfThread, but it would be easy enough to include it in
>>> the build too if needed.
>>>
>>> Cheers,
>>> Andrés
>>>
>>>
>>> On Wed, Jul 10, 2013 at 3:52 PM, Michael Gogins
>>> <michael.gogins@gmail.com> wrote:
>>>>
>>>> The reason I asked is that the Qt SDK is built with a different ABI than
>>>> the one I used for building Csound. Do you link with csPerfThread or compile
>>>> it along with CsoundQt?
>>>>
>>>>
>>>> ===========================
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://michaelgogins.tumblr.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> On Wed, Jul 10, 2013 at 6:36 PM, Andres Cabrera <mantaraya36@gmail.com>
>>>> wrote:
>>>>>
>>>>> It uses the C API, and the csPerfThread class which is C++.
>>>>>
>>>>> Cheers,
>>>>> Andrés
>>>>>
>>>>>
>>>>> On Wed, Jul 10, 2013 at 3:27 PM, Michael Gogins
>>>>> <michael.gogins@gmail.com> wrote:
>>>>>>
>>>>>> Does CsoundQt link with any C++ code from Csound? Or does it use only
>>>>>> the C API?
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>>
>>>>>> ===========================
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://michaelgogins.tumblr.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>>
>>>>>> On Wed, Jul 10, 2013 at 4:55 PM, Andres Cabrera
>>>>>> <mantaraya36@gmail.com> wrote:
>>>>>>>
>>>>>>> Hi Joachim,
>>>>>>>
>>>>>>> It should be CONFIG+=csound6 in lowercase. That should make things
>>>>>>> work. Once installers are stable, I will fix the qmake file to look for
>>>>>>> Csound in the right places, rather than having to hard code the path there.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Andrés
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Jul 10, 2013 at 1:18 PM, joachim heintz <jh@joachimheintz.de>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> hi -
>>>>>>>>
>>>>>>>> i would appreciate some help for building csoundqt with csound6 on
>>>>>>>> linux
>>>>>>>> (ubuntu studio 12.04). that is what i did and get:
>>>>>>>>
>>>>>>>> 1) i added CONFIG+=CSOUND6 to my qmake options.
>>>>>>>>
>>>>>>>> 2) i changed three paths in qcs.pro:
>>>>>>>>              CSOUND_INCLUDE_DIR = /home/jh/src/csound6-git/include
>>>>>>>>              INCLUDEPATH += /home/jh/src/csound6-git/interfaces
>>>>>>>>              CSOUND_LIBRARY_DIR = /home/jh/src/cs6
>>>>>>>> ( /home/jh/src/cs6 is where i build csound6)
>>>>>>>>
>>>>>>>> 3) this output seems to be wrong to me, because it is pointing to
>>>>>>>> csound5 directory:
>>>>>>>> Project MESSAGE: Csound API include directory is
>>>>>>>> /usr/local/include/csound
>>>>>>>> Project MESSAGE: Csound interfaces include directory is
>>>>>>>> Project MESSAGE: Csound library directory is /usr/local/lib
>>>>>>>>
>>>>>>>> 4) the build fails here:
>>>>>>>> g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/python2.7
>>>>>>>> -O2
>>>>>>>> -D_REENTRANT -Wall -W -DQT_WEBKIT -DUSE_DOUBLE -DQCS_PYTHONQT
>>>>>>>> -DQCS_RTMIDI -D__LINUX_ALSASEQ__ -D__LINUX_ALSA__ -DQT_NO_DEBUG
>>>>>>>> -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB
>>>>>>>> -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
>>>>>>>> -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
>>>>>>>> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
>>>>>>>> -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns
>>>>>>>> -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg
>>>>>>>> -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../rtmidi-2.0.1
>>>>>>>> -I../PythonQt2.1_Qt4.8/src
>>>>>>>> -I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
>>>>>>>> -I../PythonQt2.1_Qt4.8/src
>>>>>>>> -I../PythonQt2.1_Qt4.8/extensions/PythonQt_QtAll
>>>>>>>> -I/usr/local/include/csound -I/usr/include -I/usr/X11R6/include
>>>>>>>> -Ibuild/moc -Ibuild/ui -o build/doubles/obj/qutecsound.o
>>>>>>>> src/qutecsound.cpp
>>>>>>>> src/qutecsound.cpp:62:13: Warnung: unbenutzter Parameter »deltatime«
>>>>>>>> [-Wunused-parameter]
>>>>>>>> src/qutecsound.cpp: In Konstruktor
>>>>>>>> »CsoundQt::CsoundQt(QStringList)«:
>>>>>>>> src/qutecsound.cpp:211:31: Fehler: zu wenige Argumente für Funktion
>>>>>>>> »int
>>>>>>>> csoundInitialize(int*, char***, int)«
>>>>>>>> /usr/local/include/csound/csound.h:508:14: Anmerkung: hier
>>>>>>>> deklariert
>>>>>>>> src/qutecsound.cpp: Im globalen Gültigkeitsbereich:
>>>>>>>> src/qutecsound.cpp:665:6: Warnung: unbenutzter Parameter »code«
>>>>>>>> [-Wunused-parameter]
>>>>>>>> make: *** [build/doubles/obj/qutecsound.o] Fehler 1
>>>>>>>> .
>>>>>>>> thanks -
>>>>>>>>
>>>>>>>>         joachim
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> See everything from the browser to the database with AppDynamics
>>>>>>>> Get end-to-end visibility with application monitoring from
>>>>>>>> AppDynamics
>>>>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>>>>> Start your free trial of AppDynamics Pro today!
>>>>>>>>
>>>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> See everything from the browser to the database with AppDynamics
>>>>>>> Get end-to-end visibility with application monitoring from
>>>>>>> AppDynamics
>>>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>>>> Start your free trial of AppDynamics Pro today!
>>>>>>>
>>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> See everything from the browser to the database with AppDynamics
>>>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>>> Start your free trial of AppDynamics Pro today!
>>>>>>
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> See everything from the browser to the database with AppDynamics
>>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>> Start your free trial of AppDynamics Pro today!
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> See everything from the browser to the database with AppDynamics
>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>> Start your free trial of AppDynamics Pro today!
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



--

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel