[Gambas-user] Problems with OpenSuSE 11 and gcc 4.3

Benoit Minisini gambas at ...1...
Wed Jul 30 12:12:56 CEST 2008


On mercredi 30 juillet 2008, Steven Lobbezoo wrote:
> Le mercredi 30 juillet 2008 à 11:47 +0200, Benoit Minisini a écrit :
> > On mercredi 30 juillet 2008, Steven Lobbezoo wrote:
> > > Le mercredi 30 juillet 2008 à 11:27 +0200, Benoit Minisini a écrit :
> > > > On mercredi 30 juillet 2008, Steven Lobbezoo wrote:
> > > > > As clear as glas ;-) , but .....
> > > > > I don't want to contradict you, but it does not work like that.
> > > > > If I do exactly as you said, it's not the ide that is launched !
> > > > > It's the program directly, and that works just fine.
> > > > > I need to start the ide, select my project and run it in the ide.
> > > > > I don't get the chance to do that, since
> > > > > 
> > > > >
> > > > > > valgrind --tool=memcheck --trace-children=yes --num-callers=50
> > > > > > gbx2 -p
> > > > >
> > > > > just starts my little test program.
> > > > >
> > > > > Regards,
> > > > > Steven
> > > >
> > > > Because you didn't go to the IDE project directory as I told you...
> > >
> > > Ok, I'm stupid, but please help me here.
> > > I thought the IDE project directory was the directory where my project
> > > files are, like this :
> > >
> > > drwxr-xr-x 3 steven users  120 juil.  5 13:56 ..
> > > -rw-r--r-- 1 steven users   33 juil.  5 10:27 .directory
> > > -rw-r--r-- 1 steven users 1116 juil.  5 10:35 fileselector.class
> > > -rw-r--r-- 1 steven users 1116 juil.  5 10:29 fileselector.class~
> > > -rw-r--r-- 1 steven users 1361 juil.  5 10:29 fileselector.form
> > > -rw-r--r-- 1 steven users  225 juil.  5 10:35 FMain.class
> > > -rw-r--r-- 1 steven users   73 juil.  5 10:27 FMain.class~
> > > -rw-r--r-- 1 steven users  149 juil.  5 10:35 FMain.form
> > > -rw-r--r-- 1 steven users   94 juil.  5 10:27 FMain.form~
> > > drwxr-xr-x 2 steven users  128 juil. 28 10:47 .gambas
> > > -rw-r--r-- 1 steven users 6785 juil.  5 10:27 .icon.png
> > > drwxr-xr-x 2 steven users  144 juil. 30 11:17 .lang
> > > -rw-r--r-- 1 steven users  139 juil.  5 10:37 Mglobal.module
> > > -rw-r--r-- 1 steven users 6068 juil.  5 10:35 Mglobal.module~
> > > -rw-r--r-- 1 steven users  106 juil. 28 10:47 .project
> > > -rw-r--r-- 1 steven users  335 juil. 29 13:48 .settings
> > > steven at ...1948...:~/test_gambas/test_gambas>
> > >
> > > So that's where i went.
> > > So, what is the IDE project directory ????????
> > > Is it some sub-directory in the 2.0 trunk ?
> > >
> > > Steven
> >
> > Yes: 2.0/app/src/gambas2
>
> But this gives me :
>
> steven at ...1948...:~/2.0/app/src/gambas2> valgrind --tool=memcheck
> --trace-children=yes --num-callers=50 gbx2 -p
> ==12040== Memcheck, a memory error detector.
> ==12040== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et
> al.
> ==12040== Using LibVEX rev 1804, a library for dynamic binary
> translation.
> ==12040== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
> ==12040== Using valgrind-3.3.0, a dynamic binary instrumentation
> framework.
> ==12040== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et
> al.
> ==12040== For more details, rerun with: -v
> ==12040==
> ERROR: #2: Cannot load class 'Project': Unable to load class file

Please do exactly what I told you. First you must compile the project with:

$ gbc2 -agt

Then you run valgrind.

Regards,

-- 
Benoit Minisini




More information about the User mailing list