Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Compiling Plugins with the latest SDK
tiwag:
post your projectfile here
jayatk:
I noticed the first linker options:
<Linker>
<Add library="C:\Program Files\CodeBlocks\sdk\lib\libcodeblocks.a" />
<Add library="..\..\sdk\lib\libwxmsw26.a" />
<Add directory="C:\Program Files\CodeBlocks\sdk\lib" />
</Linker>
I thought I deleted that. Same for the Compiler options up top.
I assume I need to remove that set of options?
[attachment deleted by admin]
mandrav:
Hasn't anyone noticed that in the linker options the policy is set to "Use project options only"?
Which ignores all the target settings in that page?
jayatk:
--- Quote from: mandrav on January 26, 2006, 05:55:58 pm ---Hasn't anyone noticed that in the linker options the policy is set to "Use project options only"?
Which ignores all the target settings in that page?
--- End quote ---
I did append target options to project options in the very beginning. No difference.
However, I removed those <Linker> options and saved my project file again. Set it back to append target options....
Now my error has changed.
------------- Build: default in MouseSearch ---------------
Linking dynamic library: MouseSearch.dll
.objs\mousesearch.o: In function `GetPluginsCount':
C:/PROJECTS/CodeBlocksPluginDev/MouseSearch/mousesearch.cpp:325: undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'
C:/PROJECTS/CodeBlocksPluginDev/MouseSearch/mousesearch.cpp:325: undefined reference to `_imp___ZNK8wxLocale9GetStringEPKcS1_'
.objs\mousesearch.o: In function `ZN8cbPlugin21GetConfigurationPanelEP8wxWindow':
C:/Program Files/CodeBlocks/sdk/cbplugin.h:(.text$_ZN8wxStringaSEPKc[wxString::operator=(char const*)]+0x14): undefined reference to `_imp___ZN12wxStringBaseaSEPKc'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
2 errors, 0 warnings
BTW, the code is a empty pluging generated by the Plugins wizard.
takeshimiya:
--- Quote from: mandrav on January 26, 2006, 05:55:58 pm ---Hasn't anyone noticed that in the linker options the policy is set to "Use project options only"?
Which ignores all the target settings in that page?
--- End quote ---
lol :lol: that's true.
I was about to say that the screenshoots and the project file wasn't even the same project. :lol:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version