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

ThreadSearch plugin is born !

<< < (5/12) > >>

dje:

--- Quote from: dje on March 13, 2007, 10:49:34 pm ---My source code is in the ThreadSearch.zip zip.
Just extract it to the <...>\codeblocks\src\plugins\contrib directory.

--- End quote ---

You will notice there is no LINUX/UNIX project.
Have a look at the linker settings.
To use it in my SVN environment, I use the generated static libs.
To use it with a nightly, I link directly with the corresponding dlls.
If I do not respect these rules, plugin install fails; I suspect the link because I didn't apply C::B team wxWidgets patch for menu alignement in my development environment.



--- Quote ---I don't think that making it writable is a good idea.
--- End quote ---
I agree. In my opinion, it is just a previewer, not an editor. The code preview is not there to fill the need of editors splitting/cascading.

Dje

jomeggs:

--- Quote from: dje on March 14, 2007, 01:16:33 pm ---I'm not sure to understand clearly what you mean, make column header clickable to sort the log items ?

--- End quote ---

No, i am referring to gather the search results in a treeview. Each file is a root node, the single search results are subitems of these root nodes.

dje:

--- Quote ---No, i am referring to gather the search results in a treeview.
--- End quote ---
I see now...
I keep it in mind but I have already planned changes before.

Thanks for the idea !

Pecan:
Under Linux, the following statements get error:
Does anyone know how to fix this?




--- Code: ----------------- Build: default in ThreadSearch-Lunix ---------------
g++-4.0 -Wall `pkg-config --cflags codeblocks` `wx-config --cflags` -g  -I/home/pecan/devel/trunk/src/include -I/usr/include -I/home/pecan/devel/trunk/src/include/wxFlatNotebook/include -I/home/pecan/devel/trunk/src/include/wxscintilla/include -I/usr/include  -c /mnt/e/linux/proj/ThreadSearch/ThreadSearch.cpp -o .objs/ThreadSearch.o
Package codeblocks was not found in the pkg-config search path.
Perhaps you should add the directory containing `codeblocks.pc'
to the PKG_CONFIG_PATH environment variable
No package 'codeblocks' found
/mnt/e/linux/proj/ThreadSearch/ThreadSearchEvent.h:48: error: ISO C++ forbids declaration of '__declspec' with no type
/mnt/e/linux/proj/ThreadSearch/ThreadSearchEvent.h:48: warning: '__declspec' initialized and declared 'extern'
/mnt/e/linux/proj/ThreadSearch/ThreadSearchEvent.h:48: error: 'dllexport' was not declared in this scope


--- End code ---

dje:
Hi !

I found info on the net.
You need to use __declspec(dllimport/dllexport) on windows to import/export symbol from/to a dll.
On Linux, it seems that nothing is required.

I'll define or use a set of macro to differentiate the OSs.

I'll update it today.

Dje

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version