User forums > Help
FileManager plugin
Andrew94:
I changed the build options and reduced the number of errors down to ten:
/home/andrew/projects/codeblocks-10.05-release/src/include/sdk_common.h|95|error: wx/wxscintilla.h: No such file or directory|
/home/andrew/projects/codeblocks-10.05-release/src/include/editorcolourset.h|55|error: ‘wxSCI_KEYWORDSET_MAX’ was not declared in this scope|
/home/andrew/projects/codeblocks-10.05-release/src/include/editorcolourset.h|63|error: ‘wxSCI_KEYWORDSET_MAX’ was not declared in this scope|
/home/andrew/projects/FileManager/FileExplorer.cpp|128|error: invalid use of incomplete type ‘struct wxDropTarget’|
/usr/include/wx-2.8/wx/window.h|60|error: forward declaration of ‘struct wxDropTarget’|
/home/andrew/projects/FileManager/FileExplorer.cpp|136|error: ‘wxDragResult’ does not name a type|
/home/andrew/projects/FileManager/FileExplorer.cpp|206|error: ‘wxDragResult’ does not name a type|
/home/andrew/projects/FileManager/FileExplorer.cpp||In constructor ‘wxFEDropTarget::wxFEDropTarget(FileExplorer*)’:|
/home/andrew/projects/FileManager/FileExplorer.cpp|130|error: type ‘wxDropTarget’ is not a direct base of ‘wxFEDropTarget’|
/home/andrew/projects/FileManager/FileExplorer.cpp|134|error: ‘SetDataObject’ was not declared in this scope|
/home/andrew/projects/FileManager/FileExplorer.cpp||In constructor ‘FileExplorer::FileExplorer(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&)’:|
/home/andrew/projects/FileManager/FileExplorer.cpp|321|error: no matching function for call to ‘FileTreeCtrl::SetDropTarget(wxFEDropTarget*&)’|
/usr/include/wx-2.8/wx/gtk/window.h|110|note: candidates are: virtual void wxWindow::SetDropTarget(wxDropTarget*)|
/home/andrew/projects/FileManager/FileExplorer.cpp||In member function ‘void FileExplorer::OnRightClick(wxTreeEvent&)’:|
/home/andrew/projects/FileManager/FileExplorer.cpp|1164|warning: suggest explicit braces to avoid ambiguous ‘else’|
/home/andrew/projects/FileManager/FileExplorer.cpp||In member function ‘void FileExplorer::OnDelete(wxCommandEvent&)’:|
/home/andrew/projects/FileManager/FileExplorer.cpp|1425|warning: comparison between signed and unsigned integer expressions|
/home/andrew/projects/FileManager/FileExplorer.cpp|1430|warning: comparison between signed and unsigned integer expressions|
||=== Build finished: 10 errors, 3 warnings ===|
What do I do now and thanks for all of your help.
God bless you,
Andrew Wells
dmoore:
The way the file manager project is currently set up, you should put the filemanager source in the "contrib" folder of the codeblocks source. (If you go to project -> build options -> search directories, you should see ../../../include and ../../../include/wxscintilla/include). Note that the FileManager project is set up expecting to find codeblocks SDK libraries in ../../../devel (this is where the codeblocks binaries will be placed if you build codeblocks using codeblocks). If those files are missing, GCC will look in the default location "/usr/lib", which means you will be building against whatever version of codeblocks you have installed on your system (this may differ from the version of source you have and potentially cause a crash when you install the plugin)
dmoore:
--- Quote from: Andrew94 on August 27, 2010, 02:05:40 am ---I changed the build options and reduced the number of errors down to ten:
/home/andrew/projects/codeblocks-10.05-release/src/include/sdk_common.h|95|error: wx/wxscintilla.h: No such file or directory|
--- End quote ---
assuming you don't follow the instruction above you would need to add this search directory:
$(#cb)/include/wxscintilla/include
you will also need goto search directories -> linker and a path to wherever libcodeblocks.so is located (which is currently set to ../../../devel)
Andrew94:
I now only have one error:
/usr/bin/ld: cannot find -lcodeblocks
collect2: ld returned 1 exit status
do I need to install the source ( I installed an RPM on Fedora) or is there another way to fix this?
God bless you,
Andrew Wells
stahta01:
This might help
http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version