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

David García Garzón david.garcia at barcelonamedia.org
Tue Nov 2 13:44:52 PDT 2010


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.

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



More information about the clam-devel mailing list