Looks like you are either not linking with the Maya static library or you are missing a preprocessor definition that might be needed for cleanup().
Although, I have written my own exporter, I don't recall having a linking problem with cleanup. I will look at my code once I get home and see if I had to do anything special. If you are using a 3rd party library that uses cleanup() then you may need to link against the Maya library even though you don't explicitly call cleanup() in your code. Cheers! --- On Tue, 1/13/09, Jos Timanta Tarigan <[email protected]> wrote: From: Jos Timanta Tarigan <[email protected]> Subject: [c-prog] error: symbol(s) not found To: [email protected] Date: Tuesday, January 13, 2009, 12:21 PM hi, im currently building a program using a .dylib (or .lib). (i think) i got no problem on linking the .dylib. the problem is when i compile it, it says an error: MLibrary::cleanup( int), referenced from: exportMaya(char *) in MayaExporter. o symbol(s) not found what is the definition of that error? does any1 here using XCode on OS X? [Non-text portions of this message have been removed]
