_______________________________________________ media_api mailing list [EMAIL PROTECTED] http://www.create.ucsb.edu/mailman/listinfo/media_api
I have no experience yet building .NET applications or working with the
Common Language Runtime (clr), but the error message "cl : Command line
error D8045 : cannot compile C file 'xxx' with the /clr option" is due
to an attempt to compile C files using the /clr switch. The clr provides
common libraries so that C++, C#, Visual Basic, etc. can use a shared
heap with garbage collection etc. I assume you need the clr because of
Windows Forms. It looks like there's an option, /TP, to compile .c files
as C++, or alternatively, you can probably rename portmidi .c files to
.cpp. There might be some minor issues with coercing types, but I think
portmidi code should compile as C++ sources. I don't know whether there
are critical issues with C-style memory allocation/deallocation while
running with the clr. -Roger
- [Media_api] Can media_api Build PortMIDI under Visual C++... Peter Castine
- Re: [Media_api] Can media_api Build PortMIDI under V... Roger Dannenberg
- Re: [Media_api] Can media_api Build PortMIDI und... cpr
- Re: [Media_api] Can media_api Build PortMIDI und... Roger Dannenberg
- Re: [Media_api] Can media_api Build PortMIDI... Peter Castine
- Re: [Media_api] Can media_api Build Port... Roger Dannenberg
- Re: [Media_api] Can media_api Build... Peter Castine
