Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
MathPlot
MortenMacFly:
--- Quote from: alexanderlegend on June 16, 2011, 05:48:48 pm ---why do I need to compile wxWidgets and C::B again?
--- End quote ---
The easiest thing is as following:
- install a nightly of C::B
- checkout the "wxsmith_addons" branch of C::B from SVN
- compile C::B using C::B (assuming you have compiled the prerequisite wxWidgets, too already)
- run it.
This plugin is already included in this distribution and working fine there.
oBFusCATed:
--- Quote from: alexanderlegend on June 16, 2011, 05:48:48 pm ---why do I need to compile wxWidgets and C::B again?
--- End quote ---
Because for a successful build you need all libraries (wxWidgets, libcodeblocks, all the plugins, etc) and all applications (codeblocks.exe) to be compiled with the same compiler.
alexanderlegend:
Okay so I have done the first 3 steps without any hassle.
I have also compiled C::B from the src in SVN(wxsmith_addons) using the nightly without any error.
But, when I run the newly built C::B I am greeted with a message saying:
"Cannot find resources...
Code::Blocks was configured to be installed in 'C:\Users\Abhipray\wxsmith_addons\src\output/share/codeblocks'.
Please use the command-line switch '--prefix' or set the CODEBLOCKS_DATA_DIR environment variable to point where Code::Blocks is installed,
or try re-installing the application..."
I was not sure how to fix this so I located the resources.zip file from the nightly build and copied it to the src\output\share\codeblocks directory .
Now, when I run C::B, it opens up with a default page missing and when trying to open a project, a dialog that says "Deactivating the compiler plugin is most unwise...." .
How do I fix this?
ouch:
you have to run update.bat if your on windows, or the update shell script if your on linux.
these copy and extract everything to the right places.
alexanderlegend:
Yes, I have used the update.bat.. as you can see, it has created the output folder.
However it complains that it cannot find *.zip and also initially, it says 'zip is not recognized as internal or external command.'
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version