Csound Csound-dev Csound-tekno Search About

Cabbage linux - Csound couldn't compile your file

Date2015-07-27 20:39
FromTarmo Johannes
SubjectCabbage linux - Csound couldn't compile your file
AttachmentsNone  None  

Hi,

 

perhaps I should in the forum of Cabbage but it is easier to send an e-mail.

 

I built Cabbage (sources pulled from git), after editing the Makefiles for correct VST sdk directory (giving it via command line parameter did not work) it built well but whatever file I load in the stnadalone host I get:

 

Csound couldn't compile your file

 

I tried to debug the code, the problem is in line CabbagePluginProcessor.cpp:312

 

csCompileResult = csound->Compile(const_cast<char*>(inputfile.toUTF8().getAddress()));

 

The result is always -1.

 

The filename (inputfile) gets displayed correctly.

 

I added some lines to test:

 

const char * test = const_cast<char*>(inputfile.toUTF8().getAddress());

Logger::writeToLog(test);

 

The output was:

 

/home/tarmo/src/cabbage/Builds/Linux/build/kdialog(974) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.sheet.binary.macroEnabled.12"

kdialog(974) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.addin.macroEnabled.12"

kdialog(974) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"

kdialog(974) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.sheet.macroEnabled.12"

kdialog(974) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.presentation.macroEnabled.12"

kdialog(974) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-word.template.macroEnabled.12"

kdialog(974) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.template.macroEnabled.12"

kdialog(974) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.template.macroEnabled.12"

kdialog(974) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-word.document.macroEnabled.12"

kdialog(974) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.slide.macroEnabled.12"

/home/tarmo/siinus.csd

 

I am using openSuse 13.2, kde 4.14.6.

 

 

Perhaps the getAddress() function messes it up? or it kde reports something strange. I know nothing about Juce::String methods, is there perhaps another way to convert the string?

 

Thanks,

tarmo