Results 1 to 6 of 6

Thread: ERROR: #2: Cannot load class 'Project':

  1. #1
    Join Date
    Sep 2008
    Beans
    148

    ERROR: #2: Cannot load class 'Project':

    I have tried installing gambas2 and I keep getting this error message.
    Code:
    ERROR: #2: Cannot load class 'Project': Unable to load class file
    I read in another thread that the folder it was trying to read didn't have the right permission's and to try this
    Code:
    sudo chmod -R o+w /usr/share/gambas2/examples
    And that didn't work

  2. #2
    Join Date
    Sep 2008
    Beans
    148

    Re: ERROR: #2: Cannot load class 'Project':

    Anyone?

  3. #3
    Join Date
    Oct 2007
    Beans
    1,914
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: ERROR: #2: Cannot load class 'Project':

    Did you try google?

    http://www.nabble.com/Unable-to-load...d14807758.html

    That means that you must compile the project first! To do that,
    run 'gbc3 -agt' inside the project directory.

  4. #4
    Join Date
    Sep 2008
    Beans
    148

    Re: ERROR: #2: Cannot load class 'Project':

    Quote Originally Posted by Zugzwang View Post
    Yea, well that didn't work so I completely removed it and decided to compile and install it again, and when I did
    Code:
    sudo ./configure -C
    It compiled
    Code:
    THESE COMPONENTS ARE DISABLED:
    
    - gb.corba
    - gb.db.firebird
    - gb.db.odbc
    - gb.db.postgresql
    - gb.db.sqlite2
    - gb.db.sqlite3
    - gb.desktop
    - gb.gtk
    - gb.gtk.svg
    - gb.net.curl
    - gb.net.smtp
    - gb.opengl
    - gb.pcre
    - gb.pdf
    - gb.qt
    - gb.qt.kde
    - gb.qte
    - gb.sdl
    - gb.sdl.sound
    - gb.v4l
    - gb.xml
    EDIT: Never mind figured out how to enable them.
    Last edited by ratmandall; October 7th, 2008 at 01:21 PM.

  5. #5
    Join Date
    Oct 2007
    Location
    Buenos Aires, Argentina
    Beans
    8
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ERROR: #2: Cannot load class 'Project':

    You can check the options of configure

    Code:
    ./configure -help
    For example

    Code:
    ./configure --enable-bzlib2

  6. #6
    Join Date
    May 2009
    Location
    Mumbai
    Beans
    25
    Distro
    Ubuntu Karmic Koala (testing)

    Red face Re: ERROR: #2: Cannot load class 'Project':

    The very same is troubling me..
    Tried building from source as well as installing from repos.
    Has anyone got a successful install???

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •