Author Topic: Patches needed to build Linux wx30 CB Contrib Projects  (Read 1684 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6675
    • My Best Post
Patches needed to build Linux wx30 CB Contrib Projects
« on: January 30, 2016, 02:43:27 am »
I have finally built Code::Blocks on Linux using wx30 contrib CB projects.
I still need to see of it runs.

Tim S.

Code: [Select]
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>

Code: [Select]
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++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Re: Patches needed to build Linux wx30 CB Contrib Projects
« Reply #1 on: January 30, 2016, 07:21:24 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: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ