[clam-devel] Mac OS X: NetworkEditor not building (r14492)

Xavier Serra xvr.serra at gmail.com
Tue Nov 2 14:06:05 PDT 2010

On Nov 2, 2010, at 9:44 PM, David García Garzón wrote:

> A fast workaround would be substituting CLAM_EMBEDDED_FILE uses by a const 
> char * variable of the same name (first parameter of the macro) initialized to 
> an empty "" string. Not sure of the runtime effects, (Xavi? any idea?) but, at 
> least i will compile.
As the code with the Clamrefactor.py module never runs (because it will be empty), the function
won't be able to load the class needed to run the update and should say something about
class not found. If I remember correctly, after the refactor we did every exception stops
the update, so it will not load anything.

I don't remember if we implemented the option of bypassing the updating, if not then he won't be
able to load any clamnetwork outdated.

> Because we are using embedded files in NetworkEditor and in many other nice 
> places such as ladspa/lv2/vst plugins i guess we should find a proper solution 
> for mac: finding the assembler needed in mac to embed a file into the binary. 
> I have no idea of which assembler or binary format is used. I guess it is 
> something related to binutils. Something to try would be forcing the use of 
> one of the two existing alternatives (ELF and COFF) just to see whether by 
> chance it works.
> Which tool chain are you using? macports? XCode?...
> David.
> On Tuesday 02 November 2010 16:35:08 johnbeuving wrote:
>> Hi,
>> I'm trying to build the chordata application for Mac Os X. To do this I
>> first had to build and install the CLAM libaries. Not a big problem there.
>> Then I found out that the chordata application was dependent on the
>> NetworkEditor. The NetworkEditor depends on an EmbeddedFile implementation
>> int the file src/NetworkUpgrader.cxx of the NetworkEditor sources. The
>> exact error message is from the header file:
>> EmbeddedFile.hxx:40:2: error: #error "No support for embedded files in your
>> platform"
>> This error is directed when neither __ELF__ and __MINGW32__ (coff binary)
>> are defined. I really wanted to look for a workaround but somehow there is
>> a hard requirement for the EmbeddedFile.
>> In which direction should i look for a solution to get the NetworkEditor
>> building and also the chordata. ??
>> John D
>> _______________________________________________
>> clam-devel mailing list
>> clam-devel at lists.clam-project.org
>> http://lists.clam-project.org/listinfo.cgi/clam-devel-clam-project.org
> _______________________________________________
> clam-devel mailing list
> clam-devel at lists.clam-project.org
> http://lists.clam-project.org/listinfo.cgi/clam-devel-clam-project.org

More information about the clam-devel mailing list