Page 1 of 1

Tartini

Posted: Mon Jun 16, 2014 3:23 pm
by stanlea
This app seems intersting,but can't compile.

http://miracle.otago.ac.nz/tartini/download.html

Code: Select all

general/mystring.cpp: In function ‘char* getFileExtension(const char*)’:
general/mystring.cpp:84:46: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
   if(filename && (ext = strrchr(filename, '.')) != NULL) return ext+1;
                                              ^
general/mystring.cpp: In function ‘const char* getFilenamePart(const char*)’:
general/mystring.cpp:94:34: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
   if((ext = strrchr(filename, '/')) != NULL) return ext+1;
                                  ^
general/mystring.cpp:95:35: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
   if((ext = strrchr(filename, '\\')) != NULL) return ext+1;
                                   ^
Makefile:999: recipe for target '.obj/mystring.o' failed
make: *** [.obj/mystring.o] Error 1

Re: Tartini

Posted: Mon Jun 16, 2014 6:16 pm
by stanlea
falkTX wrote:try using:

Code: Select all

export CFLAGS=-fpermissive
export CXXFLAGS=-fpermissive
make
Thanks but it doesn't works.

Re: Tartini

Posted: Sun Jun 22, 2014 4:50 pm
by StudioDave
stanlea wrote:This app seems intersting,but can't compile.

http://miracle.otago.ac.nz/tartini/download.html
Built and installed the Qwt stuff, then spent an hour or so correcting various files in Tartini, mostly adding OpenGL includes, until I finally built it. I also had to add a missing -lGLU at the link stage, and at one point had to replace g++ with gcc to compile an object. Btw, it's not JACK-savvy, using the RtAudio package instead.

So it opens, looks very cool, and segfaults when I try to record audio or load a WAV file, with no other error messages.

Given that its (mostly C++) source code dates from 2007 I'm surprised it built and/or opened at all.

On Fedora 19 x86_64 with Planet CCRMA extensions.

Best,

dp

Re: Tartini

Posted: Sun Jun 22, 2014 6:06 pm
by Capote
Hi,

I just want to mention that there's a UGen in SuperCollider that's based on Tartini. Read the documentation here:

http://doc.sccode.org/Classes/Tartini.html

Cheers,

patrick

Re: Tartini

Posted: Wed Aug 06, 2014 3:40 am
by Maurinho
I was able to compile this on Wheezy.

I found this post by Jeremy Salwen, who created a git repository with all the needed patches and fixes, and debianized the source. You can get a working debian package easily.

Re: Tartini

Posted: Fri Aug 08, 2014 6:08 pm
by stanlea
Thanks