[Gambas-user] Gambas on Windows
Rolf-Werner Eilert
rwe-sse at osnanet.de
Thu Jan 23 17:46:12 CET 2020
Martin,
this is what I achieved up to now:
- Installed WSL
As I was asked to do it under Admin rights, I did so. Maybe it was no
good idea, as up to now I can run the whole thing as Admin only. The
easy point-and-click method Dmitry told us does not run yet / runs only
under this limitation.
- In the WSL Linux, I installed Gambas. That installed a whole mass of
libraries with it, including GTK+ and Qt.
- As Dmitry did, I created a link on the Windows Desktop to start the
Gambas IDE directly. (But I have to right-click on it and say "Start as
Admin", giving Admin's password.)
- The Gambas IDE runs perfectly, hasn't crashed yet.
- Now came the tricky part: Copying a project from my main working
computer (Linux) to this one. Of course, one can easily copy it into
Users\Username... and this was what I did first. It worked well, because
C:\is mounted under /mnt/c automagically. But in Linux, everything is in
/home/user/..., and I wanted my project to be there. So I had to copy it
from there, and that was possible in a second step from within WSL.
- A few times, Defender interfered and I had to tell him to leave me
alone with my files.
- The IDE loads the program, and the program runs flawlessly.
- I still couldn't find a way to get access to our server's directory
for the data needed by this program. On Windows, there is a network
drive "Y:" which pretends to be a directory but is in fact a faked
network address to the Samba on the server. Creating a link within
Windows from this drive into a user directory doesn't help in Linux, as
for Linux this is just a file containing some data it cannot make use of.
- So I tried to setup sshfs, but I failed somewhere on the way... I
setup Fuse, made a fuse group, put the main user into this group... I
modprobed fuse... Don't really know if it was possible and I just missed
something or if it wouldn't be possible at all.
- In the end I simply copied some of the data from the server into the
Gambas project directory and pointed the program to these data.
- Then in the IDE I made a Gambas binary and in Windows I made a link
from the desktop pointing to it to try. It runs like a charme from
there, so I really hope I can solve the other problems.
Regards
Rolf
Am 23.01.20 um 13:12 schrieb Martin Cristia:
> Will swich to VcXsrv and give it a second try.
>
>
> > I haven't proceeded as far as you did, Martin, but at least I
> > managed to
> > install Gambas and VcXsrv. Everything runs fine, the only thing
> is that
> > I can start WSL and all Xserver application under Admin rights
> only. If
> > you happen to know how to fix this, please let me know. I am not so
> > experienced with modern Windows.
> >
> > When installing Gambas, a whole bunch of libraries is installed with
> > it,
> > such as the core GTK and Qt libraries. The Gambas IDE can be started,
> > and a simple first project runs. The whole appearence is somewhat...
> > well, crude, like an old TclTK or GTK application, but alas, it runs.
> >
> > There is one thing I could not solve yet, i. e. mounting a drive
> which
> > is a Samba drive on the windows host. I have mounted one Linux
> server's
> > partition as drive Y: on the Windows to have access to student data
> > otherwise managed by Linux software on the server itself. For my
> > project, I would need access to this drive.
> >
> > So WSL would have to mount Y:. Any idea how to achieve this?
> >
> > Regards
> > Rolf
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
More information about the User
mailing list