News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Patches needed to build Linux wx30 CB Contrib Projects

Started by stahta01, January 30, 2016, 02:43:27 AM

Previous topic - Next topic

stahta01

I have finally built Code::Blocks on Linux using wx30 contrib CB projects.
I still need to see of it runs.

Tim S.


diff --git a/src/plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp b/src/plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp
index 97022e7..90c6ec5 100644
--- a/src/plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp
+++ b/src/plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp
@@ -461,6 +461,12 @@
<Unit filename="wxled/ledpanel/src/wxledpanel.cpp">
<Option target="wxLED" />
</Unit>
+ <Unit filename="wxmathplot/mathplot.cpp">
+ <Option target="wxMathPlot" />
+ </Unit>
+ <Unit filename="wxmathplot/mathplot.h">
+ <Option target="wxMathPlot" />
+ </Unit>
<Unit filename="wxthings/include/wx/things/toggle.h">
<Option target="wxCustomButton" />
</Unit>



diff --git a/src/update30 b/src/update30
index ffe0238..d07911f 100755
--- a/src/update30
+++ b/src/update30
@@ -116,19 +116,19 @@ then
   mkdir -p output30/share/codeblocks/images/ThreadSearch/22x22
   cp -f devel30/share/codeblocks/images/ThreadSearch/22x22/*.png output30/share/codeblocks/images/ThreadSearch/22x22 > /dev/null
fi
-if [ -d "devdevel30el/share/codeblocks/images/wxsmith" ]
+if [ -d "devel30/share/codeblocks/images/wxsmith" ]
then
   mkdir -p output30/share/codeblocks/images/wxsmith
-  cp -f devel/share/codeblocks/images/wxsmith/*.png output30/share/codeblocks/images/wxsmith > /dev/null
+  cp -f devel30/share/codeblocks/images/wxsmith/*.png output30/share/codeblocks/images/wxsmith > /dev/null
fi
-if [ -d "devel/share/codeblocks/lib_finder" ]
+if [ -d "devel30/share/codeblocks/lib_finder" ]
then
   mkdir -p output30/share/codeblocks/lib_finder
-  cp -f devel/share/codeblocks/lib_finder/*.xml output30/share/codeblocks/lib_finder > /dev/null
+  cp -f devel30/share/codeblocks/lib_finder/*.xml output30/share/codeblocks/lib_finder > /dev/null
fi
# misc. contrib plugin settings:
-cp -f devel/share/codeblocks/images/16x16/*.png    output30/share/codeblocks/images/16x16    > /dev/null
-cp -f devel/share/codeblocks/images/settings/*.png output30/share/codeblocks/images/settings > /dev/null
+cp -f devel30/share/codeblocks/images/16x16/*.png    output30/share/codeblocks/images/16x16    > /dev/null
+cp -f devel30/share/codeblocks/images/settings/*.png output30/share/codeblocks/images/settings > /dev/null

rsync -au --exclude-from=excludes.txt plugins/scriptedwizard/resources/ ${RESDIR}/templates/wizard > /dev/null
rsync -au --exclude-from=excludes.txt plugins/scriptedwizard/resources/ output30/share/codeblocks/templates/wizard > /dev/null
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MortenMacFly

Quote from: stahta01 on January 30, 2016, 02:43:27 AM
I have finally built Code::Blocks on Linux using wx30 contrib CB projects.
Done that (slightly modified) in SVN.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]