[Gambas-user] Problem compiling projects
Peter Roc
peteroc at ...178...
Sun Feb 14 16:59:39 CET 2016
A bit with a red face right now... Tobias, I followed your tip and did a
compille all before running the project, everything working now. A big
thanks and sorry for the annoyance. If I don't email again, it means that
everything is working in Mint as well. Cheers,
Peter
Sent: Sunday, February 14, 2016 at 3:45 PM
From: "Peter Roc" <peteroc at ...178...>
To: gambas-user at lists.sourceforge.net
Subject: Re: [Gambas-user] Problem compiling projects
F7 and Alt+F7 it's the same here. About the <project>.gambas file, until
this problem surfaced I can assure you that the files were created.
Typing from the Lubuntu (x64, it was the only available at home), and same
problem. Tested removing the .gambas dir and its created fine with all the
classes there.
The test project is working now. I'm gonna create fresh forms and copy
everything from the older ones and see if it fixes my problem (did it once
with a form that was misbehaving and it worked). After that I will reinstall
Mint and see if the problem persists.
Peter
Sent: Sunday, February 14, 2016 at 3:23 PM
From: "Tobias Boege" <taboege at ...626...>
To: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
Subject: Re: [Gambas-user] Problem compiling projects
On Sun, 14 Feb 2016, Peter Roc wrote:
>
> Hi Tobias. Thank you for your reply.
>
> Yes, I did make uninstall. By stopped I mean, everything worked fine, it's
> just than when pressing F7 nothing happens. Going to the project folder
> there is no <project>.gambas file. Alt+F7 results in some warnings but
> nothing special, they were there before the problem.
>
On my system F7 is mapped to "Compile" and Alt+F7 to "Compile all". I think
it's the same at yours. Compiling a project mostly creates compiled files in
the hidden ".gambas" directory in your project. It does *not* create an exe-
cutable archive (<project>.gambas file). "Compile all" is similar in that it
compiles everything from scratch, even if some classes have not been
modified since last compilation.
Usually there is no visual output or waiting time (except maybe for very
large projects) for project compilation. You can check if a compilation
happened by going to your project directory in a file manager, deleting the
hidden ".gambas" directory, then hitting "Compile all" in the IDE. If after
that the ".gambas" directory is present and filled with your classes, then
it works.
> Because I have the /home dir in a separate partition, I made an reinstall,
> Linux Mint 17 Rosa on my case. Problem persists, but now it's worse.
> Creating a new project, a simple form with a button, result that when
> pressing the run button (at the IDE) only the form shows up but not the
> button. I will try with a different distro, lubuntu, and check if the
> problem persists.
>
> For the record: Linux Mint 17 Rosa, ppa stable
>
If the problem persists after you reinstalled the whole system, it must be
something wrong with the project (meta)data... Can you send a misbehaving
project to the list?
As a general advice, if you switch back and forth between Gambas versions,
the first thing you should do is "Compile all" each project that was
compiled with a different version of Gambas. Only then you should run it.
But I doubt that this would fix your current problem.
Regards,
Tobi
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
----------------------------------------------------------------------------
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
[1][1]http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
[2][2]https://lists.sourceforge.net/lists/listinfo/gambas-user
References
1. [3]http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
2. [4]https://lists.sourceforge.net/lists/listinfo/gambas-user
----------------------------------------------------------------------------
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
[5]http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
[6]https://lists.sourceforge.net/lists/listinfo/gambas-user
References
1. http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
2. https://lists.sourceforge.net/lists/listinfo/gambas-user
3. http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
4. https://lists.sourceforge.net/lists/listinfo/gambas-user
5. http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
6. https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list