From david.villalobos.c at ...176... Sun Aug 1 03:56:14 2010 From: david.villalobos.c at ...176... (David Villalobos Cambronero) Date: Sat, 31 Jul 2010 19:56:14 -0600 Subject: [Gambas-devel] MessageLabel and DatePicker Message-ID: Hi, I just read the log entry: [GB.FORM] * BUG: Fix the behaviour of automatic expanding in the DirView control. * NEW: Hide DatePicker and MessageLabel controls. They have many problems, and I want to see if someone use them. I just want to let you know that I use MessageLabel (as a Status bar) in all my Gambas project (of course, I wrote it). But if it isn't helpful to someone else, just delete and I can add it to my projects. Regards --- David From gambas at ...1... Sun Aug 1 04:04:27 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 1 Aug 2010 04:04:27 +0200 Subject: [Gambas-devel] MessageLabel and DatePicker In-Reply-To: References: Message-ID: <201008010404.27319.gambas@...1...> > Hi, I just read the log entry: > > [GB.FORM] > * BUG: Fix the behaviour of automatic expanding in the DirView control. > * NEW: Hide DatePicker and MessageLabel controls. They have many problems, > and I want to see if someone use them. > > I just want to let you know that I use MessageLabel (as a Status bar) > in all my Gambas project (of course, I wrote it). But if it isn't > helpful to someone else, just delete and I can add it to my projects. > > Regards > --- > David > I just wanted to know who uses it, and I'd like to know if you are interesting in enhancing it or not. I'd like to have a widget that would display messages inside the application, and that have a close button to automatically hide it, and eventually buttons. Something that would be cool then is making a component that would replace the standard message dialog boxes by a MessageLabel inside the main window automagically. Are you interested in enhancing the component? If you are not, I will replace MessageLabel by it sooner or later anyway. :-) Regards, -- Beno?t Minisini From david.villalobos.c at ...176... Sun Aug 1 04:17:18 2010 From: david.villalobos.c at ...176... (David Villalobos Cambronero) Date: Sat, 31 Jul 2010 20:17:18 -0600 Subject: [Gambas-devel] MessageLabel and DatePicker In-Reply-To: <201008010404.27319.gambas@...1...> References: <201008010404.27319.gambas@...1...> Message-ID: Unfortunately I have to say no. I really want to help you, but now I have a lot of work and in my time off I', trying to learn Qt. And I really don't want to happened like last time we where working in the TimePicker widget and I could not finish it, so, I prefer to say no to the proposal. Right now I just have time to help you with the Spanish translation of Gambas 3 and the full maintenance of gb.mysql I really sorry for not having more time to help you out. Regards --- David 2010/7/31 Beno?t Minisini : >> Hi, I just read the log entry: >> >> [GB.FORM] >> * BUG: Fix the behaviour of automatic expanding in the DirView control. >> * NEW: Hide DatePicker and MessageLabel controls. They have many problems, >> ?and I want to see if someone use them. >> >> I just want to let you know that I use MessageLabel (as a Status bar) >> in all my Gambas project (of course, I wrote it). But if it isn't >> helpful to someone else, just delete and I can add it to my projects. >> >> Regards >> --- >> David >> > > I just wanted to know who uses it, and I'd like to know if you are interesting > in enhancing it or not. > > I'd like to have a widget that would display messages inside the application, > and that have a close button to automatically hide it, and eventually buttons. > > Something that would be cool then is making a component that would replace the > standard message dialog boxes by a MessageLabel inside the main window > automagically. > > Are you interested in enhancing the component? If you are not, I will replace > MessageLabel by it sooner or later anyway. :-) > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From gambas at ...1... Sun Aug 1 12:58:02 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 1 Aug 2010 12:58:02 +0200 Subject: [Gambas-devel] MessageLabel and DatePicker In-Reply-To: References: <201008010404.27319.gambas@...1...> Message-ID: <201008011258.02477.gambas@...1...> > Unfortunately I have to say no. I really want to help you, but now I > have a lot of work and in my time off I', trying to learn Qt. > > And I really don't want to happened like last time we where working in > the TimePicker widget and I could not finish it, so, I prefer to say > no to the proposal. > > Right now I just have time to help you with the Spanish translation of > Gambas 3 and the full maintenance of gb.mysql > > I really sorry for not having more time to help you out. > > Regards > --- > David > No problem. Do you mind if "MessageLabel" is renamed "MessagePanel" and if the interface changes? I don't really like having many color properties (one for error, one for warning...) and seeing the control flashing. I'd prefer having a big icon, like in message box, and making the flashing optional. And why do you need a "Change" event? -- Beno?t Minisini From david.villalobos.c at ...176... Sun Aug 1 17:45:13 2010 From: david.villalobos.c at ...176... (David Villalobos Cambronero) Date: Sun, 1 Aug 2010 09:45:13 -0600 Subject: [Gambas-devel] MessageLabel and DatePicker In-Reply-To: <201008011258.02477.gambas@...1...> References: <201008010404.27319.gambas@...1...> <201008011258.02477.gambas@...1...> Message-ID: Hi, not at all, thanks for asking. You can rename it as you want (I'm not good with names). I can remember now why did I place that event, if you do not need it just remove it. Regards --- David 2010/8/1 Beno?t Minisini : >> Unfortunately I have to say no. I really want to help you, but now I >> have a lot of work and in my time off I', trying to learn Qt. >> >> And I really don't want to happened like last time we where working in >> the TimePicker widget and I could not finish it, so, I prefer to say >> no to the proposal. >> >> Right now I just have time to help you with the Spanish translation of >> Gambas 3 and the full maintenance of gb.mysql >> >> I really sorry for not having more time to help you out. >> >> Regards >> --- >> David >> > > No problem. > > Do you mind if "MessageLabel" is renamed "MessagePanel" and if the interface > changes? > > I don't really like having many color properties (one for error, one for > warning...) and seeing the control flashing. I'd prefer having a big icon, > like in message box, and making the flashing optional. > > And why do you need a "Change" event? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From karl.reinl at ...16... Mon Aug 2 12:16:21 2010 From: karl.reinl at ...16... (Karl Reinl) Date: Mon, 02 Aug 2010 12:16:21 +0200 Subject: [Gambas-devel] gambas2,IDE, make an Executable Message-ID: <1280744181.6505.40.camel@...102...> Salut Beno?t, the Optional dialog when finish a make, differs between Gambas.Executable, where you can 'create a shortcut on your desktop', and Gambas.Component, where you asked weather you want 'Install in the user component directory ' While the parts of DBReport2 is mostly use both, they are executables and components, you always have only the Gambas.Component dialog. Would be nice to have also the 'create a shortcut on your desktop' dialog. -- Amicalement Charlie From gambas at ...1... Mon Aug 2 12:46:44 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 2 Aug 2010 12:46:44 +0200 Subject: [Gambas-devel] gambas2,IDE, make an Executable In-Reply-To: <1280744181.6505.40.camel@...102...> References: <1280744181.6505.40.camel@...102...> Message-ID: <201008021246.44386.gambas@...1...> > Salut Beno?t, > > the Optional dialog when finish a make, differs between > Gambas.Executable, where you can 'create a shortcut on your desktop', > and Gambas.Component, where you asked weather you want 'Install in the > user component directory ' > > While the parts of DBReport2 is mostly use both, they are executables > and components, you always have only the Gambas.Component dialog. > > Would be nice to have also the 'create a shortcut on your desktop' > dialog. *Both* an executable and a component? Even if it is possible, it was never intended. Why are you doing that? -- Beno?t Minisini From Karl.Reinl at ...646... Mon Aug 2 21:29:08 2010 From: Karl.Reinl at ...646... (Charlie Reinl) Date: Mon, 02 Aug 2010 21:29:08 +0200 Subject: [Gambas-devel] gambas2,IDE, make an Executable In-Reply-To: <201008021246.44386.gambas@...1...> References: <1280744181.6505.40.camel@...102...> <201008021246.44386.gambas@...1...> Message-ID: <1280777348.6476.19.camel@...102...> Am Montag, den 02.08.2010, 12:46 +0200 schrieb Beno?t Minisini: > > Salut Beno?t, > > > > the Optional dialog when finish a make, differs between > > Gambas.Executable, where you can 'create a shortcut on your desktop', > > and Gambas.Component, where you asked weather you want 'Install in the > > user component directory ' > > > > While the parts of DBReport2 is mostly use both, they are executables > > and components, you always have only the Gambas.Component dialog. > > > > Would be nice to have also the 'create a shortcut on your desktop' > > dialog. > > *Both* an executable and a component? Even if it is possible, it was never > intended. Why are you doing that? > Salut Beno?t, yeah, both. DBReport2 was ported from DBReport a gambas1 project to gambas2. The IDE (DBReportDesigner2) uses the Viewer (DBReportViewer2) for PreView during the "mise en page". But the Viewer as standalone is the preview/printer interface. For using them both, out from my other projects I made also the IDE a component. -- Amicalement Charlie From gene1943 at ...640... Wed Aug 4 05:44:52 2010 From: gene1943 at ...640... (gene1943) Date: Tue, 3 Aug 2010 20:44:52 -0700 (PDT) Subject: [Gambas-devel] BUG signal 11 when using webkit web browser In-Reply-To: <201007302018.00101.gambas@...1...> References: <29258857.post@...565...> <201007302018.00101.gambas@...1...> Message-ID: <29342375.post@...565...> Beno?t Minisini wrote: > >> This is for Benoit:-D >> >> Gambas3 console window shows the following after crash >> >> warning: unable to load Qt translation: en_US >> QWebInspector: QSettings couldn't read configuration setting >> [resourceTrackingEnabled]. >> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No >> such file or directory >> QFileSystemWatcher: failed to add paths: /home/paul/.config/ibus/bus >> Bus::open: Can not get ibus-daemon's address. >> IBusInputContext::createInputContext: no connection to ibus-daemon >> >> (process:2460): GLib-GObject-CRITICAL **: >> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call >> g_type_init() >> >> (process:2460): GLib-CRITICAL **: g_once_init_leave: assertion >> `initialization_value != 0' failed >> >> (process:2460): GLib-GObject-CRITICAL **: g_object_new: assertion >> `G_TYPE_IS_OBJECT (object_type)' failed >> >> >> cannot trap with 'TRY' >> >> Happens accessing http://www.powerbasic.com >> >> thanks for any help > > I have no crash there. I guess that the Flash plugin is guilty... > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > well I tended to agree, but with all websettings off -except for loading pictures- it still crashes with same glib complaints:confused: -- View this message in context: http://old.nabble.com/BUG----signal-11--when-using-webkit-web-browser-tp29258857p29342375.html Sent from the gambas-devel mailing list archive at Nabble.com. From gambas at ...1... Wed Aug 4 13:41:03 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 4 Aug 2010 13:41:03 +0200 Subject: [Gambas-devel] BUG signal 11 when using webkit web browser In-Reply-To: <29342375.post@...565...> References: <29258857.post@...565...> <201007302018.00101.gambas@...1...> <29342375.post@...565...> Message-ID: <201008041341.03461.gambas@...1...> > Beno?t Minisini wrote: > >> This is for Benoit:-D > >> > >> Gambas3 console window shows the following after crash > >> > >> warning: unable to load Qt translation: en_US > >> QWebInspector: QSettings couldn't read configuration setting > >> [resourceTrackingEnabled]. > >> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No > >> such file or directory > >> QFileSystemWatcher: failed to add paths: /home/paul/.config/ibus/bus > >> Bus::open: Can not get ibus-daemon's address. > >> IBusInputContext::createInputContext: no connection to ibus-daemon > >> > >> (process:2460): GLib-GObject-CRITICAL **: > >> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call > >> g_type_init() > >> > >> (process:2460): GLib-CRITICAL **: g_once_init_leave: assertion > >> `initialization_value != 0' failed > >> > >> (process:2460): GLib-GObject-CRITICAL **: g_object_new: assertion > >> `G_TYPE_IS_OBJECT (object_type)' failed > >> > >> > >> cannot trap with 'TRY' > >> > >> Happens accessing http://www.powerbasic.com > >> > >> thanks for any help > > > > I have no crash there. I guess that the Flash plugin is guilty... > > well I tended to agree, but with all websettings off -except for loading > pictures- it still crashes with same glib complaints:confused: Don't. Webkit is not finished yet, and maybe you are using a different version than me, and so you have a crash and I don't. Maybe the Qt/Webkit error messages would help to find the problem? Your environment? Which desktop do you use? Can you try from a user account created from scratch? Or maybe I patched Webkit so that it crashes for everything having "basic" in its name and that is not Gambas? ;-) -- Beno?t Minisini From gene1943 at ...640... Wed Aug 4 16:31:28 2010 From: gene1943 at ...640... (gene1943) Date: Wed, 4 Aug 2010 07:31:28 -0700 (PDT) Subject: [Gambas-devel] BUG signal 11 when using webkit web browser In-Reply-To: <201008041341.03461.gambas@...1...> References: <29258857.post@...565...> <201007302018.00101.gambas@...1...> <29342375.post@...565...> <201008041341.03461.gambas@...1...> Message-ID: <29346983.post@...565...> Beno?t Minisini wrote: > >> Beno?t Minisini wrote: >> >> This is for Benoit:-D >> >> >> >> Gambas3 console window shows the following after crash >> >> >> >> warning: unable to load Qt translation: en_US >> >> QWebInspector: QSettings couldn't read configuration setting >> >> [resourceTrackingEnabled]. >> >> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: >> No >> >> such file or directory >> >> QFileSystemWatcher: failed to add paths: /home/paul/.config/ibus/bus >> >> Bus::open: Can not get ibus-daemon's address. >> >> IBusInputContext::createInputContext: no connection to ibus-daemon >> >> >> >> (process:2460): GLib-GObject-CRITICAL **: >> >> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call >> >> g_type_init() >> >> >> >> (process:2460): GLib-CRITICAL **: g_once_init_leave: assertion >> >> `initialization_value != 0' failed >> >> >> >> (process:2460): GLib-GObject-CRITICAL **: g_object_new: assertion >> >> `G_TYPE_IS_OBJECT (object_type)' failed >> >> >> >> >> >> cannot trap with 'TRY' >> >> >> >> Happens accessing http://www.powerbasic.com >> >> >> >> thanks for any help >> > >> > I have no crash there. I guess that the Flash plugin is guilty... >> >> well I tended to agree, but with all websettings off -except for loading >> pictures- it still crashes with same glib complaints:confused: > > Don't. Webkit is not finished yet, and maybe you are using a different > version > than me, and so you have a crash and I don't. > > Maybe the Qt/Webkit error messages would help to find the problem? Your > environment? Which desktop do you use? Can you try from a user account > created > from scratch? > > Or maybe I patched Webkit so that it crashes for everything having "basic" > in > its name and that is not Gambas? ;-) > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > will try looking further... using kubuntu 10.04 with update I might add that this is a recent thing...last 90 days... Don't mean to beat a dead horse.. -- View this message in context: http://old.nabble.com/BUG----signal-11--when-using-webkit-web-browser-tp29258857p29346983.html Sent from the gambas-devel mailing list archive at Nabble.com. From kevinfishburne at ...590... Thu Aug 5 20:27:49 2010 From: kevinfishburne at ...590... (kevinfishburne) Date: Thu, 5 Aug 2010 11:27:49 -0700 (PDT) Subject: [Gambas-devel] 2-2.21.0: QT ComboBox loses .Text value upon execution In-Reply-To: <201007310130.46120.gambas@...1...> References: <29292716.post@...565...> <201007302015.05373.gambas@...1...> <29308770.post@...565...> <201007302213.13010.gambas@...1...> <29309812.post@...565...> <201007310130.46120.gambas@...1...> Message-ID: <29356383.post@...565...> Beno?t Minisini wrote: > > Can you try the latest revision? I tried to fix the behaviour of the > ComboBox, > both in gb.qt and gb.gtk. The problem was the order in which ReadOnly, > Text > and List properties were set. Now, you should be able to set them in any > order, and get the expected result. > I tried and possibly failed to install the latest revision. I executed this script: svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/branches/2.0 cd 2.0 sudo ./reconf-all It appeared to work fine but all the GAMBAS files in /usr/local/bin still have old dates as though they weren't overwritten. Any ideas on what I'm doing wrong? ----- Kevin Fishburne, Eight Virtues www: http://sales.eightvirtues.com http://sales.eightvirtues.com e-mail: mailto:sales at ...590... sales at ...590... phone: (770) 853-6271 -- View this message in context: http://old.nabble.com/2-2.21.0%3A-QT-ComboBox-loses-.Text-value-upon-execution-tp29292716p29356383.html Sent from the gambas-devel mailing list archive at Nabble.com. From gambas at ...1... Thu Aug 5 20:39:08 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 5 Aug 2010 20:39:08 +0200 Subject: [Gambas-devel] 2-2.21.0: QT ComboBox loses .Text value upon execution In-Reply-To: <29356383.post@...565...> References: <29292716.post@...565...> <201007310130.46120.gambas@...1...> <29356383.post@...565...> Message-ID: <201008052039.08946.gambas@...1...> > Beno?t Minisini wrote: > > Can you try the latest revision? I tried to fix the behaviour of the > > ComboBox, > > both in gb.qt and gb.gtk. The problem was the order in which ReadOnly, > > Text > > and List properties were set. Now, you should be able to set them in any > > order, and get the expected result. > > I tried and possibly failed to install the latest revision. I executed this > script: > > svn checkout > https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/branches/2.0 > cd 2.0 > sudo ./reconf-all > > It appeared to work fine but all the GAMBAS files in /usr/local/bin still > have old dates as though they weren't overwritten. Any ideas on what I'm > doing wrong? > > ----- > Kevin Fishburne, Eight Virtues > www: http://sales.eightvirtues.com http://sales.eightvirtues.com > e-mail: mailto:sales at ...590... sales at ...590... > phone: (770) 853-6271 As I cannot read your screen directly in my mind yet, I suggest you send me the full output of 'configure', 'make' and 'make install'. :-) If you don't know how to do that, everything is explained in the "Reporting a problem" page on the web site! Regards, -- Beno?t Minisini From kevinfishburne at ...590... Fri Aug 6 22:51:06 2010 From: kevinfishburne at ...590... (Kevin Fishburne) Date: Fri, 06 Aug 2010 16:51:06 -0400 Subject: [Gambas-devel] 2-2.21.0: QT ComboBox loses .Text value upon execution Message-ID: <4C5C75BA.3010508@...590...> An HTML attachment was scrubbed... URL: From ron at ...572... Wed Aug 11 12:38:00 2010 From: ron at ...572... (Ron) Date: Wed, 11 Aug 2010 12:38:00 +0200 Subject: [Gambas-devel] Type mismatch: wanted Byte[], got Integer[] instead Message-ID: <4C627D88.7010704@...572...> Hi, "Type mismatch: wanted Byte[], got Integer[] instead" I get the above error on the following code line while running my project... is this expected behavior or did I miss something? Dim b1 As Byte[] = [CByte(&HF0), CByte(&H33), &HF0, &H33] Worked with Gambas2. The following changes seems to fix it, but what an overhead... Dim b1 As Byte[] = [CByte(&HF0), CByte(&H33), CByte(&HF0), CByte(&H33)] Now running Gambas3 rev 3098 on Ubuntu 10.04 Regards, Ron. From gambas at ...1... Wed Aug 11 13:15:02 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 11 Aug 2010 13:15:02 +0200 Subject: [Gambas-devel] Type mismatch: wanted Byte[], got Integer[] instead In-Reply-To: <4C627D88.7010704@...572...> References: <4C627D88.7010704@...572...> Message-ID: <201008111315.02495.gambas@...1...> > Hi, > > "Type mismatch: wanted Byte[], got Integer[] instead" > > I get the above error on the following code line while running my > project... is this expected behavior or did I miss something? > > Dim b1 As Byte[] = [CByte(&HF0), CByte(&H33), &HF0, &H33] > > Worked with Gambas2. > > The following changes seems to fix it, but what an overhead... > > Dim b1 As Byte[] = [CByte(&HF0), CByte(&H33), CByte(&HF0), CByte(&H33)] > > > Now running Gambas3 rev 3098 on Ubuntu 10.04 > > Regards, > Ron. > Alas you have to do that. Numeric constants are all integers, and Gambas 3 checks all datatypes inside the [...] operator. Gambas 2 did differently. I see two possible solutions: 1) Create a syntax for byte/short constants. I have no idea of syntax at the moment. 2) Make "= [ ... ]" a special syntax managed by the compiler, so that it automatically converts the constants when initializing the array. But that needs some thought... -- Beno?t Minisini From mindiell at ...227... Wed Aug 18 15:00:22 2010 From: mindiell at ...227... (mindiell at ...227...) Date: Wed, 18 Aug 2010 15:00:22 +0200 Subject: [Gambas-devel] Compiling on Windows... Message-ID: <1282136422.4c6bd966aa2ef@...654...> Hi everyone, I'm new and certainly mad, but I want to try to compile and use Gambas on Windows. I downloaded the stable 2.21 version. In order to try that and fail correctly, I would need some informations about Gambas ;o) - Do I need to use Qt ? - Do you think I can use Code::Blocks to compile it ? - I saw there is some .component files : are they needed for compilation ? - I started to try to compile the content of /main/lib/db thing, but the config.h has not been configured (no ./configure on windows) If you have any ideas, any help, I would like to help, but I know more from windows and a little with Makefiles and configure things... Mindiell, From garulfounix at ...176... Wed Aug 18 15:21:57 2010 From: garulfounix at ...176... (=?iso-8859-1?q?Fran=E7ois?=) Date: Wed, 18 Aug 2010 15:21:57 +0200 Subject: [Gambas-devel] Compiling on Windows... In-Reply-To: <1282136422.4c6bd966aa2ef@...654...> References: <1282136422.4c6bd966aa2ef@...654...> Message-ID: <201008181521.57473.garulfounix@...176...> Le mercredi 18 ao?t 2010 15:00:22, mindiell at ...227... a ?crit : > Hi everyone, > > I'm new and certainly mad, but I want to try to compile and use Gambas on > Windows. > I downloaded the stable 2.21 version. > > In order to try that and fail correctly, I would need some informations > about Gambas ;o) > - Do I need to use Qt ? > - Do you think I can use Code::Blocks to compile it ? > - I saw there is some .component files : are they needed for compilation ? > - I started to try to compile the content of /main/lib/db thing, but the > config.h has not been configured (no ./configure on windows) > > If you have any ideas, any help, I would like to help, but I know more from > windows and a little with Makefiles and configure things... > > Mindiell, > First, if you want to compile Gambas on Windows you'll need Cygwin. Porting Gambas on Windows is not a thing easy. With Cygwin, you can get the main/ directory compliant and run (with a little modification) the gbx (Gambas's runtime). Start by installing a Cygwin environment that works. In second place, begin to read Gambas's source code. This one use sometimes a lot of Linux system call and so, you must find equivalent functions for Windows. To conclude, GOOD LUCK. > > --------------------------------------------------------------------------- > --- This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel From mindiell at ...227... Wed Aug 18 16:11:05 2010 From: mindiell at ...227... (mindiell at ...227...) Date: Wed, 18 Aug 2010 16:11:05 +0200 Subject: [Gambas-devel] Compiling on Windows... In-Reply-To: <201008181521.57473.garulfounix@...176...> References: <1282136422.4c6bd966aa2ef@...654...> <201008181521.57473.garulfounix@...176...> Message-ID: <1282140665.4c6be9f982474@...654...> > Start by installing a Cygwin environment that works. Ok, is MinGW compatible or only CygWin ? I thought MinGW was able to do it... > In second place, begin to read Gambas's source code. This one use sometimes > a lot of Linux system call and so, you must find equivalent functions for > Windows. Yep, but What I want to know is if each module is a library or if I only have to compile the "main" thing. What I saw is a lot of main.c files in a lot of directories... I'm a little confused with that. Do these stuff create some .so (.dll in windows) ? > To conclude, GOOD LUCK. Thanks :o) From garulfounix at ...176... Wed Aug 18 16:37:23 2010 From: garulfounix at ...176... (=?iso-8859-1?q?Fran=E7ois?=) Date: Wed, 18 Aug 2010 16:37:23 +0200 Subject: [Gambas-devel] Compiling on Windows... In-Reply-To: <1282140665.4c6be9f982474@...654...> References: <1282136422.4c6bd966aa2ef@...654...> <201008181521.57473.garulfounix@...176...> <1282140665.4c6be9f982474@...654...> Message-ID: <201008181637.23934.garulfounix@...176...> Le mercredi 18 ao?t 2010 16:11:05, mindiell at ...227... a ?crit : > > Start by installing a Cygwin environment that works. > > Ok, is MinGW compatible or only CygWin ? > I thought MinGW was able to do it... I recommend you to use CygWin that contains many tools and librairies from UNIX to Windows. Most of librairies needed to compile Gambas are into Cygwin. MinGW is a part that complete Cygwin. A kind of set that allows you to get a UNIX shell around librairies (like Qt, Gtk+ ... and so on). > > > In second place, begin to read Gambas's source code. This one use > > sometimes a lot of Linux system call and so, you must find equivalent > > functions for Windows. > > Yep, but What I want to know is if each module is a library or if I only > have to compile the "main" thing. What I saw is a lot of main.c files in a > lot of directories... I'm a little confused with that. Do these stuff > create some .so (.dll in windows) ? No, to use fully Gambas you have to compile the main/ directory and the gb.qt component. The rest is not mandatory but recommanded of course. Have a look at this page : http://gambas.sourceforge.net/en/architecture.html This is the Gambas architecture where you can click on each parts to see a small explanation. Through this you'll have an idea on how the project works over all. > > To conclude, GOOD LUCK. > > Thanks :o) > > --------------------------------------------------------------------------- > --- This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel From ron at ...572... Thu Aug 19 13:11:20 2010 From: ron at ...572... (Ron) Date: Thu, 19 Aug 2010 13:11:20 +0200 Subject: [Gambas-devel] Signal 11 rev 3124 Message-ID: <4C6D1158.9040309@...572...> With rev 3124 I get the signal 11 below. It appears to come (don't know for sure) after this error message and a close (ME.close) of an modal window. (FSplashScreen) opened via FSplashScreen.ShowModal "Error: Unknown symbol 'GetArrow'in class 'Main'11 FSidePanel.RefreshArrow.248 Program Aborted" ron at ...218...:~/domotiga/DomotiGa3$ gbc3 -agpmt OK ron at ...218...:~/domotiga/DomotiGa3$ gdb gbx3 GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/local/bin/gbx3...done. (gdb) set args -p (gdb) run Starting program: /usr/local/bin/gbx3 -p [Thread debugging using libthread_db enabled] warning: unable to load Qt translation: en_US warning: unable to load Qt translation: en_US [New Thread 0xb40ddb70 (LWP 18383)] [Thread 0xb40ddb70 (LWP 18383) exited] [New Thread 0xb40ddb70 (LWP 18386)] [Thread 0xb40ddb70 (LWP 18386) exited] Program received signal SIGSEGV, Segmentation fault. 0x013d5f7f in QEventLoop::exit(int) () from /usr/lib/libQtCore.so.4 (gdb) bt #0 0x013d5f7f in QEventLoop::exit(int) () from /usr/lib/libQtCore.so.4 #1 0x0030a41e in MyMainWindow::closeEvent (this=0x845f770, e=0xbfffe658) at CWindow.cpp:2263 #2 0x00986d09 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #3 0x009284dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #4 0x0092f0f9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #5 0x013d7a3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #6 0x0093793e in QCoreApplication::sendEvent(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #7 0x0098c046 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/libQtGui.so.4 #8 0x0098c178 in QWidget::close() () from /usr/lib/libQtGui.so.4 #9 0x00309993 in do_close (_object=0x845f65c, ret=0, destroyed=false) at CWindow.cpp:593 #10 0x00309a24 in CWINDOW_close (_object=0x845f65c, _param=0x808b774) at CWindow.cpp:627 #11 0x080502e7 in EXEC_native () at gbx_exec.c:1241 #12 0x080751d7 in EXEC_loop () at gbx_exec_loop.c:970 #13 0x08050773 in EXEC_function_loop () at gbx_exec.c:858 #14 0x080510a6 in EXEC_function_real () at gbx_exec.c:845 ---Type to continue, or q to quit--- #15 0x08062193 in raise_event (observer=0xbfffeefc, object=, func_id=, nparam=0) at gbx_api.c:483 #16 0x080627c3 in GB_Raise (object=0x83c644c, event_id=0, nparam=0) at gbx_api.c:583 #17 0x08071cce in CTIMER_raise (_object=0x83c644c) at gbx_c_timer.c:41 #18 0x00301871 in MyTimer::timerEvent (this=0x83c6480, e=0xbfffee40) at main.cpp:485 #19 0x013e8254 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #20 0x009284dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #21 0x0092f05e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #22 0x013d7a3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #23 0x01406d66 in ?? () from /usr/lib/libQtCore.so.4 #24 0x01406f17 in QEventDispatcherUNIX::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 #25 0x009e91a2 in ?? () from /usr/lib/libQtGui.so.4 #26 0x013d6059 in QEventLoop::processEvents(QFlags) () from /usr/lib/libQtCore.so.4 #27 0x013d64aa in QEventLoop::exec(QFlags) () from /usr/lib/libQtCore.so.4 ---Type to continue, or q to quit--- #28 0x00e674f3 in QDialog::exec() () from /usr/lib/libQtGui.so.4 #29 0x0032acbb in make_message (type=, nbmax=, _param=0x808b714) at CMessage.cpp:247 #30 0x0032ad8e in CMESSAGE_error (_object=0x0, _param=0x808b714) at CMessage.cpp:456 #31 0x080502e7 in EXEC_native () at gbx_exec.c:1241 #32 0x080751d7 in EXEC_loop () at gbx_exec_loop.c:970 #33 0x08050773 in EXEC_function_loop () at gbx_exec.c:858 #34 0x080510a6 in EXEC_function_real () at gbx_exec.c:845 #35 0x08067662 in main (argc=1, argv=0xbffff544) at gb (gdb) p DEBUG_get_position(EXEC_current.cp, EXEC_current.fp, EXEC_current.pc) $1 = 0x808300c "FSplashScreen.StartProgram.89" (gdb) gcore Saved corefile core.18364 If Main.bAuthEnabled Then Login() Else bAuthOk = True Me.Close <------------------------- = FSplashScreen.StartProgram.89 End If Running Gambas3 rev 3124 on Ubuntu 10.04 32 Bits, and gb.qt Regards, Ron_2nd. From acardenas at ...598... Sat Aug 21 04:57:22 2010 From: acardenas at ...598... (=?ISO-8859-1?Q?Alonso_C=E1rdenas_M=E1rquez?=) Date: Fri, 20 Aug 2010 21:57:22 -0500 Subject: [Gambas-devel] gambas2 on FreeBSD Segment fault Message-ID: Hi I'm back to work on gambas2/FreeBSD. I applied those patch files to gambas2-2.21.0 source code for it compiles without problems on FreeBSD but it crashed when I tried run gambas2 (IDE) with a segment failed. You can see build log at http://people.freebsd.org/~acm/ports/gambas2/build-gambas.out The backtrace show the following hellfire# pwd /usr/ports/editors/gambas2-ide/work/gambas2-2.21.0/app/src/gambas2 hellfire# gbc2 -agt OK hellfire# gdb gbx2 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... (gdb) set args -p (gdb) r Starting program: /usr/local/bin/gbx2 -p (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New LWP 100169] [New Thread 8012041c0 (LWP 100169)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 8012041c0 (LWP 100169)] 0x000000000040d1de in _start () (gdb) bt #0 0x000000000040d1de in _start () #1 0x000000000040ee09 in _start () #2 0x000000000043d15f in _start () #3 0x000000000040c6a3 in _start () #4 0x000000000040c637 in _start () #5 0x000000000040e8ff in _start () #6 0x000000000043d170 in _start () #7 0x000000000040c6a3 in _start () #8 0x000000000040c637 in _start () #9 0x000000000040d641 in _start () #10 0x000000000040d8b1 in _start () #11 0x000000000042e831 in _start () #12 0x0000000000411767 in _start () #13 0x000000000040df5e in _start () #14 0x000000000040d59d in _start () #15 0x000000000040ee25 in _start () #16 0x000000000043d15f in _start () ... See the patch files at http://freebsd.pastebin.org/644102. It add some changes for FreeBSD BTW I'm running gambas2 on FreeBSD-8.1/amd64, 4G RAM, AMD Phenom II X2 550 Processor Greetings ACM From garulfounix at ...176... Mon Aug 23 10:44:59 2010 From: garulfounix at ...176... (=?iso-8859-1?Q?Fran=E7ois_Gallo?=) Date: Mon, 23 Aug 2010 10:44:59 +0200 Subject: [Gambas-devel] gambas2 on FreeBSD Segment fault In-Reply-To: References: Message-ID: Nice to see there are persons that work on Gambas portages :) . Benoit is currently in holliday so you won't get a response of him now. Le 21 ao?t 2010 ? 04:57, Alonso C?rdenas M?rquez a ?crit : > Hi > > I'm back to work on gambas2/FreeBSD. I applied those patch files to > gambas2-2.21.0 source code for it compiles without problems on FreeBSD > but it crashed when I tried run gambas2 (IDE) with a segment failed. > You can see build log at > http://people.freebsd.org/~acm/ports/gambas2/build-gambas.out > > The backtrace show the following > > hellfire# pwd > /usr/ports/editors/gambas2-ide/work/gambas2-2.21.0/app/src/gambas2 > hellfire# gbc2 -agt > OK > hellfire# gdb gbx2 > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-marcel-freebsd"...(no debugging > symbols found)... > (gdb) set args -p > (gdb) r > Starting program: /usr/local/bin/gbx2 -p > (no debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...[New LWP 100169] > [New Thread 8012041c0 (LWP 100169)] > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 8012041c0 (LWP 100169)] > 0x000000000040d1de in _start () > (gdb) bt > #0 0x000000000040d1de in _start () > #1 0x000000000040ee09 in _start () > #2 0x000000000043d15f in _start () > #3 0x000000000040c6a3 in _start () > #4 0x000000000040c637 in _start () > #5 0x000000000040e8ff in _start () > #6 0x000000000043d170 in _start () > #7 0x000000000040c6a3 in _start () > #8 0x000000000040c637 in _start () > #9 0x000000000040d641 in _start () > #10 0x000000000040d8b1 in _start () > #11 0x000000000042e831 in _start () > #12 0x0000000000411767 in _start () > #13 0x000000000040df5e in _start () > #14 0x000000000040d59d in _start () > #15 0x000000000040ee25 in _start () > #16 0x000000000043d15f in _start () > ... > > See the patch files at http://freebsd.pastebin.org/644102. It add some > changes for FreeBSD > > BTW I'm running gambas2 on FreeBSD-8.1/amd64, 4G RAM, AMD Phenom II X2 > 550 Processor > > Greetings > ACM > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel From silvan.calarco at ...531... Mon Aug 23 12:53:03 2010 From: silvan.calarco at ...531... (Silvan Calarco) Date: Mon, 23 Aug 2010 12:53:03 +0200 Subject: [Gambas-devel] Gambas 2.21 build error with iodbc Message-ID: <201008231253.03592.silvan.calarco@...531...> Hi. Since I've switched from libodbc to libiodbc (http://www.iodbc.org) I'm unable to build gambas anymore (see failed build log below). Is this a major incompatibility or can the issue be fixed with minor changes? Thanks! Silvan ---- libtool: compile: ccache i586-openmamba-linux-gnu-gcc -DHAVE_CONFIG_H -I. - I.. -pipe -Wall -Wno-unused-value -Wcast-align -fsigned-char - fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c - fPIC -DPIC -o .libs/main.o In file included from main.h:28:0, from main.c:51: ../gambas.h:54:0: warning: "EXPORT" redefined /usr/include/iodbcunix.h:97:0: note: this is the location of the previous definition main.c: In function ?table_init?: main.c:1594:26: error: ?SQLColumns_COLUMN_NAME? undeclared (first use in this function) main.c:1594:26: note: each undeclared identifier is reported only once for each function it appears in main.c:1597:35: error: ?SQLColumns_SQL_DATA_TYPE? undeclared (first use in this function) main.c:1605:35: error: ?SQLColumns_COLUMN_SIZE? undeclared (first use in this function) main.c: In function ?table_index?: main.c:1712:36: error: ?SQLColumns_COLUMN_NAME? undeclared (first use in this function) main.c: In function ?table_exist?: main.c:1882:25: error: ?SQLTables_TABLE_NAME? undeclared (first use in this function) main.c:1884:25: error: ?SQLTables_TABLE_TYPE? undeclared (first use in this function) main.c:1886:25: error: ?SQLTables_REMARKS? undeclared (first use in this function) main.c: In function ?table_list?: main.c:1968:25: error: ?SQLTables_TABLE_NAME? undeclared (first use in this function) main.c:1970:25: error: ?SQLTables_TABLE_TYPE? undeclared (first use in this function) main.c:1972:25: error: ?SQLTables_REMARKS? undeclared (first use in this function) main.c: In function ?field_exist?: main.c:2364:26: error: ?SQLColumns_COLUMN_NAME? undeclared (first use in this function) main.c: In function ?field_list?: main.c:2452:35: error: ?SQLColumns_COLUMN_NAME? undeclared (first use in this function) main.c: In function ?field_info?: main.c:2569:26: error: ?SQLColumns_COLUMN_NAME? undeclared (first use in this function) main.c:2574:30: error: ?SQLColumns_SQL_DATA_TYPE? undeclared (first use in this function) main.c:2575:30: error: ?SQLColumns_COLUMN_SIZE? undeclared (first use in this function) make[4]: *** [main.lo] Errore 1 make[4]: Leaving directory `/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0/gb.db.odbc/src' make[3]: *** [all-recursive] Errore 1 make[3]: Leaving directory `/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0/gb.db.odbc' make[2]: *** [all] Errore 2 make[2]: Leaving directory `/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0/gb.db.odbc' make[1]: *** [all-recursive] Errore 1 make[1]: Leaving directory `/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0' make: *** [all] Errore 2 [autodist at ...655... gambas2-2.21.0]$ -- mambaSoft di Calarco Silvan Web: http://www.mambasoft.it mambaSoft Store @ http://shop.mambasoft.it openmamba GNU/Linux development @ http://www.openmamba.org From gambas at ...1... Mon Aug 23 22:03:39 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 23 Aug 2010 22:03:39 +0200 Subject: [Gambas-devel] Signal 11 rev 3124 In-Reply-To: <4C6D1158.9040309@...572...> References: <4C6D1158.9040309@...572...> Message-ID: <201008232203.39681.gambas@...1...> > With rev 3124 I get the signal 11 below. > > It appears to come (don't know for sure) after this error message and a > close (ME.close) of an modal window. (FSplashScreen) opened via > FSplashScreen.ShowModal > > "Error: Unknown symbol 'GetArrow'in class 'Main'11 > FSidePanel.RefreshArrow.248 > Program Aborted" > Either the gb.form component was not correctly compiled, either there was a bug that corrupted memory. Can you use valgrind to run your program until you get the previous error message then the crash, and send me the output? Regards, -- Beno?t Minisini From acardenas at ...598... Tue Aug 24 03:19:13 2010 From: acardenas at ...598... (=?ISO-8859-1?Q?Alonso_C=E1rdenas_M=E1rquez?=) Date: Mon, 23 Aug 2010 20:19:13 -0500 Subject: [Gambas-devel] gambas2 on FreeBSD Segment fault In-Reply-To: References: Message-ID: 2010/8/23 Fran?ois Gallo : > > > Nice to see there are persons that work on Gambas portages :) . > Benoit is currently in holliday so you won't get a response of him now. > > > Le 21 ao?t 2010 ? 04:57, Alonso C?rdenas M?rquez a ?crit : > Hey :) Thanks for the info. no problem I can wait for an answer :D Greetings ACM From ron at ...572... Tue Aug 24 08:51:46 2010 From: ron at ...572... (Ron) Date: Tue, 24 Aug 2010 08:51:46 +0200 Subject: [Gambas-devel] Signal 11 rev 3124 In-Reply-To: <201008232203.39681.gambas@...1...> References: <4C6D1158.9040309@...572...> <201008232203.39681.gambas@...1...> Message-ID: <4C736C02.20109@...572...> On 23-8-2010 22:03, Beno?t Minisini wrote: >> With rev 3124 I get the signal 11 below. >> >> It appears to come (don't know for sure) after this error message and a >> close (ME.close) of an modal window. (FSplashScreen) opened via >> FSplashScreen.ShowModal >> >> "Error: Unknown symbol 'GetArrow'in class 'Main'11 >> FSidePanel.RefreshArrow.248 >> Program Aborted" >> > Either the gb.form component was not correctly compiled, either there was a > bug that corrupted memory. Can you use valgrind to run your program until you > get the previous error message then the crash, and send me the output? > > Regards, > Beno?t, gb.form compile was ok: --- Compiling gb.form... OK Installing gb.form... --- Corrupted memory is the fault, see attached the valgrind log. As far as I can see with my untrained eye, it reflects exactly what happens, it crashes on a window close because of an uninitialised value. This was run against rev 3127. on Ubuntu 10.04, gb.qt4 Regards, Ron_2nd. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: valgrind.log URL: From andrea_bortolan at ...112... Tue Aug 24 10:37:35 2010 From: andrea_bortolan at ...112... (Andrea Bortolan) Date: Tue, 24 Aug 2010 08:37:35 +0000 (GMT) Subject: [Gambas-devel] Gambas 2.21 build error with iodbc In-Reply-To: <201008231253.03592.silvan.calarco@...531...> References: <201008231253.03592.silvan.calarco@...531...> Message-ID: <829209.96100.qm@...656...> Hi, the ODBC component depends on unixODBC driver manager and was developed to be used only with unixODBC. iODBC is different in many ways from unixODBC, probably with some work it will be possible to change the Gambas ODBC component in order to use both unixODBC and iODBC driver managers but it's not on my plans right now. Ciao, Andrea. ________________________________ Da: Silvan Calarco A: mailing list for gambas developers Inviato: Lun 23 agosto 2010, 12:53:03 Oggetto: [Gambas-devel] Gambas 2.21 build error with iodbc Hi. Since I've switched from libodbc to libiodbc (http://www.iodbc.org) I'm unable to build gambas anymore (see failed build log below). Is this a major incompatibility or can the issue be fixed with minor changes? Thanks! Silvan ---- libtool: compile: ccache i586-openmamba-linux-gnu-gcc -DHAVE_CONFIG_H -I. - I.. -pipe -Wall -Wno-unused-value -Wcast-align -fsigned-char - fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c - fPIC -DPIC -o .libs/main.o In file included from main.h:28:0, from main.c:51: ../gambas.h:54:0: warning: "EXPORT" redefined /usr/include/iodbcunix.h:97:0: note: this is the location of the previous definition main.c: In function ?table_init?: main.c:1594:26: error: ?SQLColumns_COLUMN_NAME? undeclared (first use in this function) main.c:1594:26: note: each undeclared identifier is reported only once for each function it appears in main.c:1597:35: error: ?SQLColumns_SQL_DATA_TYPE? undeclared (first use in this function) main.c:1605:35: error: ?SQLColumns_COLUMN_SIZE? undeclared (first use in this function) main.c: In function ?table_index?: main.c:1712:36: error: ?SQLColumns_COLUMN_NAME? undeclared (first use in this function) main.c: In function ?table_exist?: main.c:1882:25: error: ?SQLTables_TABLE_NAME? undeclared (first use in this function) main.c:1884:25: error: ?SQLTables_TABLE_TYPE? undeclared (first use in this function) main.c:1886:25: error: ?SQLTables_REMARKS? undeclared (first use in this function) main.c: In function ?table_list?: main.c:1968:25: error: ?SQLTables_TABLE_NAME? undeclared (first use in this function) main.c:1970:25: error: ?SQLTables_TABLE_TYPE? undeclared (first use in this function) main.c:1972:25: error: ?SQLTables_REMARKS? undeclared (first use in this function) main.c: In function ?field_exist?: main.c:2364:26: error: ?SQLColumns_COLUMN_NAME? undeclared (first use in this function) main.c: In function ?field_list?: main.c:2452:35: error: ?SQLColumns_COLUMN_NAME? undeclared (first use in this function) main.c: In function ?field_info?: main.c:2569:26: error: ?SQLColumns_COLUMN_NAME? undeclared (first use in this function) main.c:2574:30: error: ?SQLColumns_SQL_DATA_TYPE? undeclared (first use in this function) main.c:2575:30: error: ?SQLColumns_COLUMN_SIZE? undeclared (first use in this function) make[4]: *** [main.lo] Errore 1 make[4]: Leaving directory `/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0/gb.db.odbc/src' make[3]: *** [all-recursive] Errore 1 make[3]: Leaving directory `/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0/gb.db.odbc' make[2]: *** [all] Errore 2 make[2]: Leaving directory `/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0/gb.db.odbc' make[1]: *** [all-recursive] Errore 1 make[1]: Leaving directory `/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0' make: *** [all] Errore 2 [autodist at ...655... gambas2-2.21.0]$ -- mambaSoft di Calarco Silvan Web: http://www.mambasoft.it mambaSoft Store @ http://shop.mambasoft.it openmamba GNU/Linux development @ http://www.openmamba.org ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Tue Aug 24 10:45:03 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 24 Aug 2010 10:45:03 +0200 Subject: [Gambas-devel] Signal 11 rev 3124 In-Reply-To: <4C736C02.20109@...572...> References: <4C6D1158.9040309@...572...> <201008232203.39681.gambas@...1...> <4C736C02.20109@...572...> Message-ID: <201008241045.03528.gambas@...1...> > On 23-8-2010 22:03, Beno?t Minisini wrote: > >> With rev 3124 I get the signal 11 below. > >> > >> It appears to come (don't know for sure) after this error message and a > >> close (ME.close) of an modal window. (FSplashScreen) opened via > >> FSplashScreen.ShowModal > >> > >> "Error: Unknown symbol 'GetArrow'in class 'Main'11 > >> FSidePanel.RefreshArrow.248 > >> Program Aborted" > > > > Either the gb.form component was not correctly compiled, either there was > > a bug that corrupted memory. Can you use valgrind to run your program > > until you get the previous error message then the crash, and send me the > > output? > > > > Regards, > > Beno?t, > > gb.form compile was ok: > --- > Compiling gb.form... > OK > Installing gb.form... > --- > Corrupted memory is the fault, see attached the valgrind log. > As far as I can see with my untrained eye, it reflects exactly what > happens, it crashes on a window close because of an uninitialised value. > > This was run against rev 3127. on Ubuntu 10.04, gb.qt4 > > Regards, > Ron_2nd. That's worse than that. Apparently you display an error message with Message.Error(), but there is a running timer that triggers and close a window. I need your source code and a way to reproduce the bug, to be able to fix it. Regards, -- Beno?t Minisini From ron at ...572... Tue Aug 24 12:04:06 2010 From: ron at ...572... (Ron) Date: Tue, 24 Aug 2010 12:04:06 +0200 Subject: [Gambas-devel] Signal 11 rev 3124 In-Reply-To: <201008241045.03528.gambas@...1...> References: <4C6D1158.9040309@...572...> <201008232203.39681.gambas@...1...> <4C736C02.20109@...572...> <201008241045.03528.gambas@...1...> Message-ID: <4C739916.4060604@...572...> On 24-8-2010 10:45, Beno?t Minisini wrote: >> On 23-8-2010 22:03, Beno?t Minisini wrote: >>>> With rev 3124 I get the signal 11 below. >>>> >>>> It appears to come (don't know for sure) after this error message and a >>>> close (ME.close) of an modal window. (FSplashScreen) opened via >>>> FSplashScreen.ShowModal >>>> >>>> "Error: Unknown symbol 'GetArrow'in class 'Main'11 >>>> FSidePanel.RefreshArrow.248 >>>> Program Aborted" >>> Either the gb.form component was not correctly compiled, either there was >>> a bug that corrupted memory. Can you use valgrind to run your program >>> until you get the previous error message then the crash, and send me the >>> output? >>> >>> Regards, >> Beno?t, >> >> gb.form compile was ok: >> --- >> Compiling gb.form... >> OK >> Installing gb.form... >> --- >> Corrupted memory is the fault, see attached the valgrind log. >> As far as I can see with my untrained eye, it reflects exactly what >> happens, it crashes on a window close because of an uninitialised value. >> >> This was run against rev 3127. on Ubuntu 10.04, gb.qt4 >> >> Regards, >> Ron_2nd. > That's worse than that. Apparently you display an error message with > Message.Error(), but there is a running timer that triggers and close a > window. > > I need your source code and a way to reproduce the bug, to be able to fix it. > > Regards, > I show a splash screen when I start my program with FSplashscreen.Showmodal and indeed there is a timer in it to close it after x seconds. Maybe not the best way implemented, but it works 100% in gambas2. And I guess you know by now that my coding style sure is a bug magnet ;) But it's a big project with a database etc, i'll will sent you login details for my system per e-mail in a minute. So you can take a look at the other issues to if you want. Regards, Ron_2nd. From silvan.calarco at ...531... Tue Aug 24 22:31:02 2010 From: silvan.calarco at ...531... (Silvan Calarco) Date: Tue, 24 Aug 2010 22:31:02 +0200 Subject: [Gambas-devel] Gambas 2.21 build error with iodbc In-Reply-To: <829209.96100.qm@...656...> References: <201008231253.03592.silvan.calarco@...531...> <829209.96100.qm@...656...> Message-ID: <201008242231.03080.silvan.calarco@...531...> On Tuesday 24 August 2010 10:37:35 Andrea Bortolan wrote: > Hi, > the ODBC component depends on unixODBC driver manager and was developed to > be used only with unixODBC. > > iODBC is different in many ways from unixODBC, probably with some work it > will be possible to change the Gambas ODBC component in order to use both > unixODBC and iODBC driver managers but it's not on my plans right now. Hi Andrea, thank you for your answer. I switched the system back to unixODBC and configured iODBC not to provide the not-so-compatible libodbc.so and headers. > Ciao, Andrea. ciao, Silvan -- mambaSoft di Calarco Silvan Web: http://www.mambasoft.it mambaSoft Store @ http://shop.mambasoft.it openmamba GNU/Linux development @ http://www.openmamba.org From prog at ...657... Sun Aug 29 19:55:55 2010 From: prog at ...657... (craf) Date: Sun, 29 Aug 2010 13:55:55 -0400 Subject: [Gambas-devel] Installer Message-ID: <1283104555.4672.5.camel@...658...> Hi. Do not know if this is the appropriate channel to communicate. If not, please let me know and write to the user list. At this point I still have the evidence to make a Windows-style installer, which includes all shared libraries, components and executable. Following the kind indications of Benoit, I have managed to create installers for GTK, QT and shell scripts. All this is slow as I try on in each of the distributions are known and date of support. For example, the script file (exe.sh) to run a console program is as follows: #---------------------------------------------------------------------------- #!/bin/sh export PATH=/home/User/Desktop/Installer/gambas2/bin:"$PATH" export LD_LIBRARY_PATH=/home/User/Desktop/Installer/gambas2/lib_shared/usr/lib export GB_DIR=/home/User/Desktop/Installer/gambas2 exec /home/User/Desktop/Installer/console.gambas #------------------------------------------------------------------------------ The tree of the installed folder is as follows: ------------------------------------------------------------------------- . |-- Installer | |-- exe.sh | |-- gambas2 | | |-- bin | | | |-- gbr2 -> /home/User/Desktop/Installer/gambas2/bin/gbx2 | | | `-- gbx2 | | |-- lib | | | `-- gambas2 | | | |-- gb.so -> /home/User/Desktop/Installer/gambas2/lib/gambas2/gb.so.0.0.0 | | | |-- gb.so.0 -> /home/User/Desktop/Installer/gambas2/lib/gambas2/gb.so.0.0.0 | | | `-- gb.so.0.0.0 | | `-- lib_shared | | `-- usr | | `-- lib | | |-- libffi.so.5 -> /home/User/Desktop/Installer/gambas2/lib_shared/usr/lib/libffi.so.5.0.10 | | `-- libffi.so.5.0.10 | `-- console.gambas ----------------------------------------------------------------------------- The file gbr2 was compiled with 2.10.1 GLIBC in Ubuntu 9.10. If I run the script, runs smoothly on any computer with GBLIC version 2.10.1. Now, if I run the program in Ubuntu 10.4, an error is generated due to the incompatibility of GLIBC. (This uses the version 2.11 of glibc) ------------------------------------------------------------------------------------- gbr2: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found (required by gbr2) ------------------------------------------------------------------------------------- Searching the Internet, I found a possible solution. here the link: --------------------------------------------------------------- http://www.novell.com/coolsolutions/feature/11775.html --------------------------------------------------------------- I have tried to do what follows, but there are some problems: According to step 3 of the tutorial: Create a wrapper script to set up the appropriate environment variables and start the program: ------------------------------------------------------------------------- % cd $prefix/bin % mv zoo zoo.exec % cat > zoo << EOF #! /bin/bash prefix=/opt/compat-env/zoo LD_LIBRARY_PATH="$prefix/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" export LD_LIBRARY_PATH $prefix/lib/ld-linux.so.2 ${0}.exec "$@" EOF % chmod 755 zoo ------------------------------------------------------------------------- The executable (.exec) begins with the indication of the path of the library ld-linux.so.2 This should work if the executable is compiled and not interpreted. If replacement .exec by console.gambas , I get an error ELF. This is due to be gbr2 and not console.gambas which is called with ld-linux.so.2 I apologize for such a long email.I appreciate any suggestions Regards. Cristian Abarz?a From gambas at ...1... Tue Aug 31 03:19:03 2010 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 31 Aug 2010 03:19:03 +0200 Subject: [Gambas-devel] gambas2 on FreeBSD Segment fault In-Reply-To: References: Message-ID: <201008310319.03553.gambas@...1...> > Hi > > I'm back to work on gambas2/FreeBSD. I applied those patch files to > gambas2-2.21.0 source code for it compiles without problems on FreeBSD > but it crashed when I tried run gambas2 (IDE) with a segment failed. > You can see build log at > http://people.freebsd.org/~acm/ports/gambas2/build-gambas.out > > The backtrace show the following > > hellfire# pwd > /usr/ports/editors/gambas2-ide/work/gambas2-2.21.0/app/src/gambas2 > hellfire# gbc2 -agt > OK > hellfire# gdb gbx2 > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-marcel-freebsd"...(no debugging > symbols found)... > (gdb) set args -p > (gdb) r > Starting program: /usr/local/bin/gbx2 -p > (no debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...[New LWP 100169] > [New Thread 8012041c0 (LWP 100169)] > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 8012041c0 (LWP 100169)] > 0x000000000040d1de in _start () > (gdb) bt > #0 0x000000000040d1de in _start () > #1 0x000000000040ee09 in _start () > #2 0x000000000043d15f in _start () > #3 0x000000000040c6a3 in _start () > #4 0x000000000040c637 in _start () > #5 0x000000000040e8ff in _start () > #6 0x000000000043d170 in _start () > #7 0x000000000040c6a3 in _start () > #8 0x000000000040c637 in _start () > #9 0x000000000040d641 in _start () > #10 0x000000000040d8b1 in _start () > #11 0x000000000042e831 in _start () > #12 0x0000000000411767 in _start () > #13 0x000000000040df5e in _start () > #14 0x000000000040d59d in _start () > #15 0x000000000040ee25 in _start () > #16 0x000000000043d15f in _start () > ... > > See the patch files at http://freebsd.pastebin.org/644102. It add some > changes for FreeBSD > > BTW I'm running gambas2 on FreeBSD-8.1/amd64, 4G RAM, AMD Phenom II X2 > 550 Processor > > Greetings > ACM Hi, I can't read the patches from freebsd.pastebin.org. Can you send them to me? -- Beno?t Minisini