Author Topic: Installing CB on USB Drive under DVD Linux(Knoppix)  (Read 3504 times)

Offline phlox81

  • Multiple posting newcomer
  • *
  • Posts: 53
    • phlox81.de
Installing CB on USB Drive under DVD Linux(Knoppix)
« on: April 11, 2006, 10:47:31 am »
Title is already what I am trying to do:
I need to setup an Developement Environment under Linux (Knoppix)
which is able to build wxWidgets Programs.
I've done some tests with KDevelope (preinstalled by Knoppix),
but I kind of dislike KDevelope. And since I am using CB under Windows,
I thought I give the Linux version a try.

First attempt was to install a debian package,
but there I get the error that I need the packet libwxgtk-2.6.0.

And I don't know if installing a packet is the right thing to do, cause
I'd like CB to be installed on my USBDrive, with everything it needs.
So I am looking for "Out of the Box Build" for Linux/Knoppix,
or another way to install CB on the USB Drive.

phlox

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Installing CB on USB Drive under DVD Linux(Knoppix)
« Reply #1 on: April 11, 2006, 05:36:25 pm »
Code::Blocks is based on the wxWidgets library.  The linux version of wxwidgets is called wxGTK, if you are doing any wxWidget developement in any IDE or from the command line you need this library.  I am not sure about this, but I think you can set up knoppix to save any changes you make to the system to an external drive (usb key).  If you can do this then you can install all the needed Code::Blocks dependencies .  Then have everything saved to the USB drive, so every time you boot Knoppix you are back where you started.

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: Installing CB on USB Drive under DVD Linux(Knoppix)
« Reply #2 on: April 11, 2006, 05:39:15 pm »
And if Knoppix doesn't have that option, you can:
a) compile and install the wx package to the usb drive.
or
b) compile wx and cb, all statically linked.

Offline phlox81

  • Multiple posting newcomer
  • *
  • Posts: 53
    • phlox81.de
Re: Installing CB on USB Drive under DVD Linux(Knoppix)
« Reply #3 on: April 12, 2006, 09:00:11 am »
@Game_Ender
Currently I am running Knoppix from DVD, not sure
if I can get here somewhere a second usbstick to install knoppix on.
Hopefully I will :) But for the moment I don't have time for experiments...

@Takeshi Miya
I already compiled the wxBase2.6.3 on the USB Drive, and probably soon
gonna build the full Version of wx. But since I don't really now much about compiling
on Linux, I thought about asking, if somebody already has done this.

Currently I am thinking about just using the commandline to build the software,
and use CB under Windows to write most of the code. Since its Platformindependend,
I should work under both OS.