[Gambas-user] Gambas-user Digest, Vol 37, Issue 29

Steven James Drinnan steven at ...2097...
Mon Jun 22 05:20:16 CEST 2009


No need it is included in gamba2-gb-db. I have had a similar problem
with the SDL component. 

if you are  installing and have a dependency problem. Make sure that the
above and all other required files are installed.

Then run from a cmd prompt

su

rpm -ivh --nodeps 'the-name-of-your-rpm'

if you like send me the program I can test further for you.

Steven.




On Sun, 2009-06-21 at 19:27 -0700, Swee Kwang Tan wrote:
> Dear Sir,
> I've upgrade my system from ubuntu8.04 to fedora 11, after intall the
> gambas2-2.13.1, I found that my program can't run on the latest gambas
> version, because the gambas2-gb-db-postgresql is missing, my program
> can run in ubuntu 8.04 normally, I wish to download the missing package, but where is  the package wed site ?
> Thank you.
> 
> 
> 
> 
> 
> ________________________________
> From: "gambas-user-request at lists.sourceforge.net" <gambas-user-request at lists.sourceforge.net>
> To: gambas-user at lists.sourceforge.net
> Sent: Saturday, June 20, 2009 6:44:21 PM
> Subject: Gambas-user Digest, Vol 37, Issue 29
> 
> Send Gambas-user mailing list submissions to
>     gambas-user at lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>     https://lists.sourceforge.net/lists/listinfo/gambas-user
> or, via email, send a message with subject or body 'help' to
>     gambas-user-request at lists.sourceforge.net
> 
> You can reach the person managing the list at
>     gambas-user-owner at lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gambas-user digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: build 2027 failing (Zach Smith)
>    2. Re: showdialog / showmodal auto center (kobolds)
>    3. Re: build 2027 failing (Beno?t Minisini)
>    4. GTK TRISTATE CHECKBOX NO POSSIBLE TO SET TO THREE    DIFFERENTS
>       STATES (Ricardo D?az Mart?n)
>    5. Please help me!!! (Swee Kwang Tan)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 19 Jun 2009 19:29:09 -0500
> From: Zach Smith <zachsmith022 at ...626...>
> Subject: Re: [Gambas-user] build 2027 failing
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID:
>     <add8d80a0906191729u6a9bbde4i5c3c394fca746d0a at ...627...>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Thanks Benoit, Laurent.  32 bit (desktop) works now but... 64 bit
> (laptop) still won't build, Arch, gcc 4.4.0-3,  #2030 now gives me:
> 
> make[5]: Entering directory `/home/craig/gambas3/src/trunk/gb.qt4/src/ext'
> /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
> -I. -I../.. -DQT3_SUPPORT -DQT_SHARED -DQT3_SUPPORT
> -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support
> -I/usr/include/QtNetwork -I/usr/include/QtSql  -I../../share
> -I../../src/share   -pipe -Wall -fno-exceptions -Wno-unused-value
> -fsigned-char -fvisibility=hidden -g -Os -fno-omit-frame-pointer  -MT
> CDial_moc.lo -MD -MP -MF .deps/CDial_moc.Tpo -c -o CDial_moc.lo
> CDial_moc.cpp
> g++ -DHAVE_CONFIG_H -I. -I../.. -DQT3_SUPPORT -DQT_SHARED
> -DQT3_SUPPORT -I/usr/include/QtCore -I/usr/include/QtGui
> -I/usr/include/Qt3Support -I/usr/include/QtNetwork
> -I/usr/include/QtSql -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT CDial_moc.lo -MD -MP -MF
> .deps/CDial_moc.Tpo -c CDial_moc.cpp  -fPIC -DPIC -o .libs/CDial_moc.o
> CDial_moc.cpp:14:2: error: #error "This file was generated using the
> moc from 4.4.3. It"
> CDial_moc.cpp:15:2: error: #error "cannot be used with the include
> files from this version of Qt."
> CDial_moc.cpp:16:2: error: #error "(The moc has changed too much.)"
> make[5]: *** [CDial_moc.lo] Error 1
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 19 Jun 2009 22:13:36 -0700 (PDT)
> From: kobolds <kobolds at ...2041...>
> Subject: Re: [Gambas-user] showdialog / showmodal auto center
> To: gambas-user at lists.sourceforge.net
> Message-ID: <24122180.post at ...2204...>
> Content-Type: text/plain; charset=UTF-8
> 
> 
> 
> 
> Beno?t Minisini wrote:
> > 
> >> i found that when display a window using showdialog / showmodal , the
> >> window show with auto center on screen. i don't want that , how do i
> >> disable it. i try using the X and Y but no effect
> > 
> > Why don't you want that?
> > 
> > -- 
> > Beno?t
> > 
> > ------------------------------------------------------------------------------
> > Crystal Reports - New Free Runtime and 30 Day Trial
> > Check out the new simplified licensing option that enables unlimited
> > royalty-free distribution of the report engine for externally facing 
> > server and web deployment.
> > http://p.sf.net/sfu/businessobjects
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > 
> > 
> 
> why would I need that for . if I want to make it center , I can do it from
> the code . 
> the current showmodal/show dialog not only auto center also prevent to
> change the position from the code . 
> 
> anyone know how to solve this problem ? 
> 
> -- 
> View this message in context: http://www.nabble.com/showdialog---showmodal-auto-center-tp24105720p24122180.html
> Sent from the gambas-user mailing list archive at Nabble..com.
> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Sat, 20 Jun 2009 11:02:52 +0200
> From: Beno?t Minisini <gambas at ...1...>
> Subject: Re: [Gambas-user] build 2027 failing
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <200906201102.52552.gambas at ...1...>
> Content-Type: Text/Plain;  charset="iso-8859-1"
> 
> > Thanks Benoit, Laurent.  32 bit (desktop) works now but... 64 bit
> > (laptop) still won't build, Arch, gcc 4.4.0-3,  #2030 now gives me:
> >
> > make[5]: Entering directory `/home/craig/gambas3/src/trunk/gb.qt4/src/ext'
> > /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
> > -I. -I../.. -DQT3_SUPPORT -DQT_SHARED -DQT3_SUPPORT
> > -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support
> > -I/usr/include/QtNetwork -I/usr/include/QtSql  -I../../share
> > -I../../src/share   -pipe -Wall -fno-exceptions -Wno-unused-value
> > -fsigned-char -fvisibility=hidden -g -Os -fno-omit-frame-pointer  -MT
> > CDial_moc.lo -MD -MP -MF .deps/CDial_moc.Tpo -c -o CDial_moc.lo
> > CDial_moc.cpp
> >  g++ -DHAVE_CONFIG_H -I. -I../.. -DQT3_SUPPORT -DQT_SHARED
> > -DQT3_SUPPORT -I/usr/include/QtCore -I/usr/include/QtGui
> > -I/usr/include/Qt3Support -I/usr/include/QtNetwork
> > -I/usr/include/QtSql -I../../share -I.../../src/share -pipe -Wall
> > -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> > -Os -fno-omit-frame-pointer -MT CDial_moc.lo -MD -MP -MF
> > .deps/CDial_moc.Tpo -c CDial_moc.cpp  -fPIC -DPIC -o .libs/CDial_moc.o
> > CDial_moc.cpp:14:2: error: #error "This file was generated using the
> > moc from 4.4.3. It"
> > CDial_moc.cpp:15:2: error: #error "cannot be used with the include
> > files from this version of Qt."
> > CDial_moc.cpp:16:2: error: #error "(The moc has changed too much.)"
> > make[5]: *** [CDial_moc.lo] Error 1
> >
> 
> Do a "make clean" inside the gb.qt4 directory: apparently you have already 
> compiled Gambas and changed your version of qt 4 since.
> 
> Regards,
> 
> -- 
> Beno?t
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Sat, 20 Jun 2009 12:28:05 +0200
> From: Ricardo D?az Mart?n  <oceanosoftlapalma at ...626...>
> Subject: [Gambas-user] GTK TRISTATE CHECKBOX NO POSSIBLE TO SET TO
>     THREE    DIFFERENTS STATES
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <4A3CB9B5.7050301 at ...626...>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi,
> 
> The checkbox control in gtk is no possible to change to other states y 
> you select CheckBox.None as default value. There's all ok if you use the 
> same code with qt component.
> 
> Somebody knows if is it a bug or a GTK limitation?
> 
> To reproduce this, it isn't necessary to write code: only put a checkbox 
> in a empty form a run.
> 
> I'm using gambas2 r.2028 in ubuntu 9.04x86_64
> 
> Regards,
> Ricardo D?az
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Sat, 20 Jun 2009 03:44:16 -0700 (PDT)
> From: Swee Kwang Tan <sktan007 at ...43...>
> Subject: [Gambas-user] Please help me!!!
> To: gambas-user at lists.sourceforge.net
> Message-ID: <714099.82128.qm at ...2203...>
> Content-Type: text/plain; charset=utf-8
> 
> Dear Sir,
> Gambas is good software, thank you for your working.
> I've upgrade my system from ubuntu 8.04 to fedora 11, and get the latest 
> gambas2-2.13.1 from fedora repo. But my gambas program can't work normally,
> although it can work noraml in ubuntu, the postgresql can't connect, because fedora 
> 11 repo have'nt gambas-db-postgresql-2.13.1-1.fc11 (i586). So it cause the following error message.
> (InputKuaDef:2963): IBUS-WARNING **: Connect to unix:path=/tmp/ibus-program/ibus-unix-0 failed: Failed to connect to socket /tmp/ibus-program/ibus-unix-0: refuse 
> connection
> (InputKuaDef:2963): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
> (InputKuaDef:2963): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
> The "InputKuaDef" is my program name. How can I do now ?
> 
> 
> 
> 
> 
> ________________________________
> From: "gambas-user-request at lists.sourceforge.net" <gambas-user-request at lists.sourceforge.net>
> To: gambas-user at lists.sourceforge.net
> Sent: Friday, June 19, 2009 7:03:00 PM
> Subject: Gambas-user Digest, Vol 37, Issue 27
> 
> Send Gambas-user mailing list submissions to
>     gambas-user at lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>     https://lists.sourceforge.net/lists/listinfo/gambas-user
> or, via email, send a message with subject or body 'help' to
>     gambas-user-request at lists.sourceforge.net
> 
> You can reach the person managing the list at
>     gambas-user-owner at lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gambas-user digest..."
> 
> 
> Today's Topics:
> 
>    1. build 2027 failing (Zach Smith)
>    2. Re: v4l - can not open device -solved (Steven James Drinnan)
>    3.  showdialog / showmodal auto center (kobolds)
>    4. Re: gbr2 crash at different points (Andreas Fr?hlke)
>    5.. Re: Database example (charlesg)
>    6. Re: showdialog / showmodal auto center (Beno?t Minisini)
>    7. Re: build 2027 failing (Beno?t Minisini)
>    8. Re: v4l - can not open device -solved (Beno?t Minisini)
>    9. Re: build 2026 failing (Beno?t Minisini)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 18 Jun 2009 19:37:44 -0500
> From: Zach Smith <zachsmith022 at ...626...>
> Subject: [Gambas-user] build 2027 failing
> To: gambas-user at lists.sourceforge.net
> Message-ID:
>     <add8d80a0906181737p710e51fan469bf6ecb49c123b at ...627...>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> gambas3, build 2027, x_64, arch
> 
> I'm getting:
> 
> make[4]: Entering directory `/home/craig/gambas3/src/trunk/gb.db.sqlite3/src'
> /bin/sh ../libtool? --tag=CXX?? --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I..??? -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char
> -fvisibility=hidden -g -Os -fno-omit-frame-pointer -fexceptions? -MT
> gb_db_sqlite3_la-main.lo -MD -MP -MF .deps/gb_db_sqlite3_la-main.Tpo
> -c -o gb_db_sqlite3_la-main.lo `test -f 'main.cpp' || echo
> './'`main.cpp
> ?g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
> -fno-omit-frame-pointer -fexceptions -MT gb_db_sqlite3_la-main..lo -MD
> -MP -MF .deps/gb_db_sqlite3_la-main.Tpo -c main.cpp? -fPIC -DPIC -o
> .libs/gb_db_sqlite3_la-main.o
> main.cpp: In function 'int field_index(void*, const char*, DB_DATABASE*)':
> main.cpp:1011: error: invalid conversion from 'const char*' to 'char*'
> make[4]: *** [gb_db_sqlite3_la-main.lo] Error 1
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 19 Jun 2009 12:26:05 +0800
> From: Steven James Drinnan <steven at ...2097...>
> Subject: Re: [Gambas-user] v4l - can not open device -solved
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <1245385566.3344.3.camel at ...2011...>
> Content-Type: text/plain; charset="UTF-8"
> 
> Had another look, looks like /dev/video is no longer created in v4l so
> the default now is /dev/video0.
> 
> I know you did not make this component. But does need to be updated to
> recognize v4l2 which is now the default in most major distributions.
> 
> Many thanks for your patience.
> 
> Steven
> 
> On Fri, 2009-06-19 at 00:30 +0200, Beno?t Minisini wrote:
> > > Have you have had a chance to check it out?
> > >
> > 
> > I have no webcam, nor any v4l device, and I didn't make the component, so it 
> > is hard for me to help you...
> > 
> > Try to open the device with an OPEN "xxxx" FOR READ WRITE instruction to see 
> > if you get a more detailed error message.
> > 
> > Regards,
> > 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Thu, 18 Jun 2009 22:27:38 -0700 (PDT)
> From: kobolds <kobolds at ...2041...>
> Subject: [Gambas-user]  showdialog / showmodal auto center
> To: gambas-user at lists.sourceforge.net
> Message-ID: <24105720.post at ...1379...>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> i found that when display a window using showdialog / showmodal , the window
> show with auto center on screen. i don't want that , how do i disable it. i
> try using the X and Y but no effect
> -- 
> View this message in context: http://www.nabble.com/showdialog---showmodal-auto-center-tp24105720p24105720.html
> Sent from the gambas-user mailing list archive at Nabble.com.
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Fri, 19 Jun 2009 09:23:54 +0200
> From: Andreas Fr?hlke <afroehlke at ...784...>
> Subject: Re: [Gambas-user] gbr2 crash at different points
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID:
>     <8D42310D957CFB46AA11921A711D4D160245AACFC4 at ...1899...>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hello,
> 
> just wanna know, do you get the mail?
> 
> Regards
> 
> Andreas Fr?hlke
> 
> -----Urspr?ngliche Nachricht-----
> Von: Beno?t Minisini [mailto:gambas at ...2205...] 
> Gesendet: Mittwoch, 17. Juni 2009 12:42
> An: mailing list for gambas users
> Betreff: Re: [Gambas-user] gbr2 crash at different points
> 
> > Hello,
> >
> > we used to send you an core dump created with gcore, but the admin of the
> > mailinglist blocked it, because it is bigger than 256k.
> >
> > Regards
> >
> > A.Fr?hlke
> >
> 
> This is automatic - Every 500+ subscribers will receive your mail, so it can't 
> be big! Send the mail to my private e-mail (gambas at ...764...)
> 
> Regards,
> 
> -- 
> Beno?t
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Fri, 19 Jun 2009 02:03:06 -0700 (PDT)
> From: charlesg <charles at ...1784...>
> Subject: Re: [Gambas-user] Database example
> To: gambas-user at lists.sourceforge.net
> Message-ID: <24107894.post at ...1379...>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> Hi
> 
> Thank you Ron for that. A bit more messing around and I think I now
> understand it.
> 
> Following on from richard terry's suggestion for simple examples, here it is
> as simple as I can get it. There is nothing new here: it all comes from the
> database example. Any corrections to the annotations welcome!
> 
> You just need a gridview, a button called btnRun and a preferably large
> database with lots of columns so that you can scroll around with ease
> 
> '========================================================
> ' Gambas class file
> PUBLIC $hConnLocl AS NEW Connection
> PUBLIC $resData AS Result
> '--------------------------------------------------------
> PUBLIC SUB Form_Open()
>   DIM sql AS String
>   
>   'open the database
>   WITH $hConnLocl
>     .type = "mysql"
>     .host = "localhost"
>     .Name = "stock"
>     .login = "charles"
>     .password="dog"    
>   END WITH 
>   $hConnLocl.Open()
>   
>   'create a result
>   sql = "SELECT * FROM grnLine"
>   $resData = $hConnLocl.Exec(sql)
>   END
> '---------------------------------------------------------
> PUBLIC SUB btnRun_Click()
>   DIM hForm AS FRequest
>   DIM hField AS ResultField
>   DIM iInd AS Integer
> 
>   GridView1.Rows.count = 0
>   'set the required number of columns
>   GridView1.Columns.count = $resData.Fields.Count
>   
>   'define the column headers and width
>   FOR EACH hField IN $resData.Fields
>     WITH hField
>       GridView1.Columns[iInd].text = .Name
>       GridView1.Columns[iInd].width = 60
>     END WITH 
>     INC iInd
>   NEXT
>   
>   'create the empty rows. Each empty and visible cell created calls
> GridView1_data
>   GridView1.Rows.Count = $resData.Count
> END
> '---------------------------------------------------------
> PUBLIC SUB GridView1_Data(Row AS Integer, Column AS Integer)
>   'move to the required result row
>   $resData.MoveTo(row)
>   'set the data for the cell in the GridView from the column in the selected
> row of the result
>   GridView1.Data.text = Str($resData[GridView1.Columns[column].text])
>   'lets you see how _data is being called as you scroll around the GridView
>   PRINT row & ":" & column & ":" &
> Str($resData[GridView1..Columns[column].text])
> END
> '----------------------------------------------------------
> 
> I also created a second small form. As you move the second form around on
> top of the gridview, the print command still shows the _Data frantically
> working in the background. Clever things these computers!
> 
> rgds
> -- 
> View this message in context: http://www.nabble.com/Database-example-tp24021356p24107894.html
> Sent from the gambas-user mailing list archive at Nabble.com.
> 
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Fri, 19 Jun 2009 12:52:59 +0200
> From: Beno?t Minisini <gambas at ...1...>
> Subject: Re: [Gambas-user] showdialog / showmodal auto center
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <200906191252.59641.gambas at ...1...>
> Content-Type: Text/Plain;  charset="iso-8859-1"
> 
> > i found that when display a window using showdialog / showmodal , the
> > window show with auto center on screen. i don't want that , how do i
> > disable it.. i try using the X and Y but no effect
> 
> Why don't you want that?
> 
> -- 
> Beno?t
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Fri, 19 Jun 2009 12:53:56 +0200
> From: Beno?t Minisini <gambas at ...1...>
> Subject: Re: [Gambas-user] build 2027 failing
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <200906191253.56345.gambas at ...1...>
> Content-Type: Text/Plain;  charset="iso-8859-1"
> 
> > gambas3, build 2027, x_64, arch
> >
> > I'm getting:
> >
> > make[4]: Entering directory
> > `/home/craig/gambas3/src/trunk/gb.db.sqlite3/src' /bin/sh ../libtool 
> > --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pipe -Wall
> > -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
> > -fno-omit-frame-pointer -fexceptions  -MT gb_db_sqlite3_la-main.lo -MD -MP
> > -MF ..deps/gb_db_sqlite3_la-main.Tpo -c -o gb_db_sqlite3_la-main.lo `test -f
> > 'main.cpp' || echo
> > './'`main.cpp
> >  g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions
> > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
> > -fno-omit-frame-pointer -fexceptions -MT gb_db_sqlite3_la-main.lo -MD
> > -MP -MF .deps/gb_db_sqlite3_la-main.Tpo -c main.cpp  -fPIC -DPIC -o
> > .libs/gb_db_sqlite3_la-main.o
> > main.cpp: In function 'int field_index(void*, const char*, DB_DATABASE*)':
> > main.cpp:1011: error: invalid conversion from 'const char*' to 'char*'
> > make[4]: *** [gb_db_sqlite3_la-main.lo] Error 1
> >
> > ---------------------------------------------------------------------------
> >--- Crystal Reports - New Free Runtime and 30 Day Trial
> > Check out the new simplified licensing option that enables unlimited
> > royalty-free distribution of the report engine for externally facing
> > server and web deployment.
> > http://p.sf.net/sfu/businessobjects
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> Which distribution do you use? Which version of gcc?
> 
> -- 
> Beno?t
> 
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Fri, 19 Jun 2009 12:55:57 +0200
> From: Beno?t Minisini <gambas at ...1...>
> Subject: Re: [Gambas-user] v4l - can not open device -solved
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <200906191255.57135.gambas at ...1...>
> Content-Type: Text/Plain;  charset="iso-8859-1"
> 
> > Had another look, looks like /dev/video is no longer created in v4l so
> > the default now is /dev/video0.
> >
> > I know you did not make this component. But does need to be updated to
> > recognize v4l2 which is now the default in most major distributions.
> >
> > Many thanks for your patience.
> >
> > Steven
> >
> 
> gb.v4l uses v4l2 but only in the development version.
> 
> Regards,
> 
> -- 
> Beno?t
> 
> 
> 
> ------------------------------
> 
> Message: 9
> Date: Fri, 19 Jun 2009 13:02:49 +0200
> From: Beno?t Minisini <gambas at ...1...>
> Subject: Re: [Gambas-user] build 2026 failing
> To: richard terry <rterry at ...1946...>,    mailing list for gambas
>     users <gambas-user at lists.sourceforge.net>
> Message-ID: <200906191302.49657.gambas at ...1...>
> Content-Type: Text/Plain;  charset="utf-8"
> 
> > On Fri, 19 Jun 2009 09:48:08 am Beno?t Minisini wrote:
> > > > gambas3, build 2026, x_64, arch
> > > >
> > > > I'm getting:
> > > >
> > > > make[4]: Entering directory `/home/test/gambas3/src/trunk/main/gbx'
> > > > gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I.../libltdl
> > > > -I/usr/lib/libffi-3.0.8/include
> > > > -DGAMBAS_PATH="\"/home/test/gambas3/pkg/usr/bin\"" -pipe -Wall
> > > > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT
> > > > gbx3-gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o
> > > > gbx3-gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
> > > > In file included from gbx_class..h:30,
> > > >                  from gbx_exec.h:31,
> > > >                  from gbx_debug.c:35:
> > > > gbx_class_desc.h:105: error: duplicate member ?_reserved?
> > > > gbx_class_desc.h:123: error: duplicate member ?_reserved?
> > > > In file included from gbx_exec.h:38,
> > > >                  from gbx_debug.c:35:
> > > > gbx_variant.h: In function ?VARIANT_free?:
> > > > gbx_variant.h:55: warning: dereferencing type-punned pointer will break
> > > > strict-aliasing rules
> > > > gbx_variant.h:55: warning: dereferencing type-punned pointer will break
> > > > strict-aliasing rules
> > > > gbx_variant.h:55: warning: dereferencing type-punned pointer will break
> > > > strict-aliasing rules
> > > > gbx_variant.h:55: warning: dereferencing type-punned pointer will break
> > > > strict-aliasing rules
> > > > gbx_variant.h: In function ?VARIANT_keep?:
> > > > gbx_variant.h:63: warning: dereferencing type-punned pointer will break
> > > > strict-aliasing rules
> > > > gbx_variant.h:67: warning: dereferencing type-punned pointer will break
> > > > strict-aliasing rules
> > > > gbx_variant.h:67: warning: dereferencing type-punned pointer will break
> > > > strict-aliasing rules
> > > > gbx_variant.h: In function ?VARIANT_is_null?:
> > > > gbx_variant.h:76: warning: dereferencing type-punned pointer will break
> > > > strict-aliasing rules
> > > > gbx_variant.h:79: warning: dereferencing type-punned pointer will break
> > > > strict-aliasing rules
> > > > gbx_variant.h: In function ?VARIANT_clear?:
> > > > gbx_variant.h:90: warning: dereferencing type-punned pointer will break
> > > > strict-aliasing rules
> > > > make[4]: *** [gbx3-gbx_debug.o] Error 1
> > >
> > > Fixed in revision #2027 !
> >
> > CEditor.cpp: In function 'void CEDITOR_show_word(void*, void*)':
> > CEditor.cpp:962: error: 'class GEditor' has no member named 'showWord'
> > make[5]: *** [CEditor.lo] Error 1
> > make[5]: Leaving directory
> > `/home/richard/gambas3-svn/src/trunk/gb.qt4/src/ext'
> > make[4]: *** [all-recursive] Error 1
> > make[4]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb..qt4/src'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb.qt4'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb.qt4'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/richard/gambas3-svn/src/trunk'
> > make: *** [all] Error 2
> > ==> ERROR: Build Failed.
> >
> > something not right on my machine in 2027
> >
> 
> Fixed in revision #2028. Nothing is wrong on your machine, I just sometimes 
> break the development version inadvertently.
> 
> Regards,
> 
> -- 
> Beno?t
> 
> 
> 
> ------------------------------
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment..
> http://p.sf.net/sfu/businessobjects
> 
> ------------------------------
> 
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
> End of Gambas-user Digest, Vol 37, Issue 27
> *******************************************
> 
> 
> _______________________________________
> ???????????? 
> http://cn.mail.yahoo.com 
> 
> ------------------------------
> 
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> 
> ------------------------------
> 
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
> End of Gambas-user Digest, Vol 37, Issue 29
> *******************************************
> 
> 
> _______________________________________
>  辣茩妏蚚閉湮⺍講捇誥蚘眊 
>  http://cn.mail.yahoo.com 
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list