PluginMain compile error

I’m trying to make a .so dynamic library for Linux on my 32 bit Ubuntu installation under Parallels on my iMac. I’m getting the following error in compiling PluginMain.cpp.

/home/bob/Desktop/RMDProjects/RBplugins/GlueCode/PluginMain.cpp:17:47: error: expected unqualified-id before string constant
attribute((visibility(“default”))) extern “C” void REALPluginMain(void *(*resolver)(const char *entryName))

How can I correct this error?


you can comment out the part with “attribute((visibility(“default”)))”.

if your compiler doesn’t know attribute option, you can remove it.

Thanks Christian. That worked.