Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Hello world plugin example Codeblocks, error of execution. Need help

<< < (2/3) > >>

BlueHazzard:
You can check if your zip program is in the path by opening the cmd and type zip and hit enter:
Start->type in the search field cmd.exe -> in the black window type zip and press enter
if there is a error message about "not found" your zip program is not in the path...
to add it to the path:
https://www.google.de/#q=add+program+to+path

aindrajaya:
Okay Thanks a lot  ;D

anandamu16:
Hi,

I am also trying to make a helloWorld Plugin. But on compiling, i am getting errors in files wx/buffer.h and wx/strings.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

yvesdm3000:
When you see that strdup is not defined, you have to try looking up what that function does. When you are a bit experienced with C-coding, you'll know that this is a standard C-library function working on normal 8-bit C-strings. But oh wait, wx should be compiled using unicode and it is still using non-unicode functions so you probably have wrong compile options. To find out why, you should look at the failing line and figuring out with what #define the preprocessor thumbled upon the problem. I would guess you are not running the "wx-config" application that is designed to return you the compile options you need to use wxWidgets. When you run "wx-config --cflags" manually you should see what compile-options are set.

It can help if you put the path where the wx-config application lives into the $PATH environment variable and restart codeblocks.

Yves

BlueHazzard:
@anandamu16
1) don't use an unrelated thread for your problem. This has nothing to do with zip
2) http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

@yvesdm3000
wx-config is not that easy available on windows, so i don't think it is easy to use. You have to remember the correct compiler parameters on your own and put them in the command line

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version