Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Codeblock plugin project
anandamu16:
Hi,
I am trying to make a helloWorld Plugin. But on compiling, i am getting errors in files wx/buffer.h and wx/strings.h
Some more errors occurred in prep.h, sdk_events.h
Please help, i am a newbie in this field.
Note: I am using codeblocks 16.01, wxwidget2.8.12(UNICODE=1, MONOLITHIC=1, SHARED=1) configuration. I have also setup the global variables corresponding to cb and wx
oBFusCATed:
Try adding these -std=c++11 or -std=gnu++11 compiler options.
anandamu16:
yeah... it worked thanks.
Can you please give me some idea, why it worked.?
Moreover, after compilation I got this error too, as attached here.
"ld.exe||cannot find -lcodeblocks|"
yvesdm3000:
--- Quote from: anandamu16 on February 05, 2017, 12:13:01 pm ---yeah... it worked thanks.
Can you please give me some idea, why it worked.?
Moreover, after compilation I got this error too, as attached here.
"ld.exe||cannot find -lcodeblocks|"
--- End quote ---
The 'nullptr' keyword in your error is a keyword only supported from C++11 onwards.
Yves
yvesdm3000:
--- Quote from: anandamu16 on February 05, 2017, 12:13:01 pm ---yeah... it worked thanks.
Can you please give me some idea, why it worked.?
Moreover, after compilation I got this error too, as attached here.
"ld.exe||cannot find -lcodeblocks|"
--- End quote ---
ld.exe is your linker that 'links' all the compiled objects into 1 final object and the option "-lcodeblocks" means it wants to link with the library codeblocks.dll, libcodeblocks.dll or codeblocks.lib but it cannot find that file. Make sure you have the path in the library search path or fix the issue why it's not in your library search path. Normally you should have a cb-config.exe (or something similar I don't know the exact name on Windows) that returns these values.
Yves
Navigation
[0] Message Index
[#] Next page
Go to full version