Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Codeblocks ported to sqrat
Jenna:
You miss wxpropgrid from the link-libraries in the linux project-file.
In sc_plugin.cpp you miss "()" afgter GetName in line 77.
But with all that I get:
--- Code: ---/home/jens/codeblocks-build/codeblocks.bluehazzard/src/sdk/scripting/bindings/sq_wx/sq_wx_base_controls.cpp:1221: undefined reference to `ScriptBindings::sq_wx_propgrid_wrapper::GetLabelEditor()'
/home/jens/codeblocks-build/codeblocks.bluehazzard/src/sdk/scripting/bindings/sq_wx/sq_wx_base_controls.cpp:1220: undefined reference to `ScriptBindings::sq_wx_propgrid_wrapper::GetEntry(wxString)'
/home/jens/codeblocks-build/codeblocks.bluehazzard/src/sdk/scripting/bindings/sq_wx/sq_wx_base_controls.cpp:1219: undefined reference to `ScriptBindings::sq_wx_propgrid_wrapper::GetRoot()'
/home/jens/codeblocks-build/codeblocks.bluehazzard/src/sdk/scripting/bindings/sq_wx/sq_wx_base_controls.cpp:1218: undefined reference to `ScriptBindings::sq_wx_propgrid_wrapper::GetSelectedProperty()'
/home/jens/codeblocks-build/codeblocks.bluehazzard/src/sdk/scripting/bindings/sq_wx/sq_wx_base_controls.cpp:1217: undefined reference to `ScriptBindings::sq_wx_propgrid_wrapper::Populate(Sqrat::Table)'
/home/jens/codeblocks-build/codeblocks.bluehazzard/src/sdk/scripting/bindings/sq_wx/sq_wx_base_controls.cpp:1215: undefined reference to `ScriptBindings::sq_wx_propgrid_wrapper_constructor(SQVM*)'
--- End code ---
as error while linking.
Jenna:
Simple solution:
"sq_wx/sq_wx_propgrid.cpp" is not added to the project.
"sq_wx_propgrid.h" is also not added, but this does (obviously) no harm.
Jenna:
cctest-project also needs to be linked with wxpropgrid now and we get tons of warnings about not handled enum-values in libFinder-plugin.
But besides of that the linux workspace-file seems to compile fine.
BlueHazzard:
*facepalm* thanks jens.... I thought wxpropgrid is a standard library, so i didn't thought that it wasn't included...
well it is bad that the sdk has a other dependency to a gui component...
BlueHazzard:
So lets give some update here:
I have worked a lot in the last time, so i hadn't time to write much code, but anyway i have made some improvements:
Now it is possible to make plugins in squirrel. This means no compiling for different platforms, and having problems with binary files. Simply write your plugin in squirrel, your dialogs in xrc files and pack it to a .cbplugin file and distribute it. I will describe the detailed process, like file handling , sometime later (probably tomorrow).
For now you can test the whole thing with a plugin i uploaded on github: https://github.com/bluehazzard/cdSelectiveCompiling . You need only the "SelectiveCompiling.cbplugin" file (it is a zip file). It is a neat plugin that helps you compile large projects. The ui is sh*t, because i have my problems with the xrc file format. I will update it in the next days.
A detailed instruction how to install and use the plugin is in the readme.md file in the repository.
I'm not 100% sure if my c::b version will compile on linux, because there are some changes in sqrat, and i had no time to test it on linux. (if it won't compile try to remove the SCRAT_EXPORT and SCRAT_IMPORT compile options in the "sdk" and "compiler" targets).
[Edit:] On my linux workstation i can compile it, and it runs fine. (from time to time there is a block when i compile, but i can't reproduce it with the debugger)
As always i hope i get some feedback. (and some help with the precompiled header files)
greetings
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version