Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
[wxSmith] wxSmithContribItems not loaded on Mac OS X
byo:
--- Quote from: afb on April 25, 2007, 11:58:22 am ---
--- Quote from: byo on April 24, 2007, 10:18:09 pm ---Maybe those two plugin registrands could be put intside one file.
--- End quote ---
Tried that, but then C++ barfed on two nameless namespaces in one file.
--- End quote ---
Two different names for registrants are enough, I've committed that already. Could you check if it works ? (it ompiles and run on linux)
BYO
afb:
Seems to have worked, but one was missing:
--- Code: ---*** Warning: Linking the shared library libwxsmithcontribitems.la against the loadable module
*** libwxsmith.so is not portable!
** Warning, lib libwxsmith.so is a module, not a shared library
--- End code ---
...
--- Code: ---/usr/bin/ld: ../wxSmith/.libs/libwxsmith.so is input for the dynamic link editor, is not relocatable by the static link editor again
--- End code ---
byo:
--- Quote from: afb on April 25, 2007, 10:38:36 pm ---Seems to have worked, but one was missing:
--- Code: ---*** Warning: Linking the shared library libwxsmithcontribitems.la against the loadable module
*** libwxsmith.so is not portable!
** Warning, lib libwxsmith.so is a module, not a shared library
--- End code ---
...
--- Code: ---/usr/bin/ld: ../wxSmith/.libs/libwxsmith.so is input for the dynamic link editor, is not relocatable by the static link editor again
--- End code ---
--- End quote ---
:? What that could mean ?
afb:
--- Quote from: byo on April 25, 2007, 11:31:20 pm --- :? What that could mean ?
--- End quote ---
It means that you cannot link to libwxsmith.so bundle from another module,
but only to the libwxsmithlib.dylib shared library. As in: why I changed it... ?
afb:
Still need to fix the bug where the .so module ends up
in the wrong directory. Maybe just "mv" it after install ?
--- Code: ---/usr/local/lib/libwxsmith.so
/usr/local/share/codeblocks/plugins/libwxsmithcontribitems.so
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version