Getting a Linux GLBasic program up and running

Previous topic - Next topic

MrTAToad


Wild_Duck

I`ve installed wine 1.1.10 and it now works ok except for the minute font in the results window.
Thanks for your help and A Merry Christmas to you

Wild_Duck

After compiling one of my own projects the font in the results window return to a readable size. =D

Moru

If you change font in the options of GLBasic, then close GLBasic and open it again, the debug window will work fine again.

Kitty Hello

Next update will bring this:
Code (glbasic) Select

user@Ubuntu-VirtualBox:/mnt/tauschxl$ ldd _support.linux
linux-gate.so.1 =>  (0x002a0000)
libGL.so.1 => /usr/lib/mesa/libGL.so.1 (0x0083b000)
libSDL_mixer-1.2.so.0 => /usr/lib/libSDL_mixer-1.2.so.0 (0x001c3000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x00eca000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x00b75000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00342000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x00763000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0x0016d000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0x00955000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0x00539000)
libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0x00110000)
libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0x00f8b000)
libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0x00d63000)
libdrm.so.2 => /lib/i386-linux-gnu/libdrm.so.2 (0x00114000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x00548000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x0011e000)
/lib/ld-linux.so.2 (0x00324000)
libmikmod.so.2 => /usr/lib/libmikmod.so.2 (0x0021b000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x008fd000)
libsmpeg-0.4.so.0 => /usr/lib/libsmpeg-0.4.so.0 (0x002a1000)
libpulse-simple.so.0 => /usr/lib/libpulse-simple.so.0 (0x00d3e000)
libpulse.so.0 => /usr/lib/libpulse.so.0 (0x004a3000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0x008cd000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0x0013a000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x0019b000)
libogg.so.0 => /usr/lib/libogg.so.0 (0x00b0a000)
libpulsecommon-0.9.22.so => /usr/lib/libpulsecommon-0.9.22.so (0x004e4000)
libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0x00abe000)
libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0x00143000)
libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0x0015b000)
libXtst.so.6 => /usr/lib/libXtst.so.6 (0x0090d000)
libxcb-atom.so.1 => /usr/lib/libxcb-atom.so.1 (0x00cb4000)
libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0x00633000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0x00163000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0x00d2f000)
libwrap.so.0 => /lib/libwrap.so.0 (0x00186000)
libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00670000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0x00e92000)
libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0x00267000)
libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x006d7000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00f91000)
user@Ubuntu-VirtualBox:/mnt/tauschxl$


Notice the non-dependency of libstdc++.so.5 now. Wo-hoo.


MrTAToad

Shouldn't be too bad really - looks like a more moderned STDC++ library is used too, which is good :)

Kitty Hello

I used a flag to ignore unresolved symbols and dropped the SDL_mixer lib dependencies. That way the program binds to the libs I specified but not the libs depending on these libs on link stage, but only at run time. very clever idea.

MrTAToad

Hopefully it'll be more stable on x64 machines now too...

Kitty Hello

OK, the current update (the setup with Caanoo support) has this fixed now. I hope the dependencies are "just" SDL_mixer on most systems now. A shame that ubuntu does not ship this on default.

Hemlos

Old thread, same subject. Long Live Linux.
I am using GLBasic on Linux Mint 17( :good:), Native OS, Multiboot Windows 7.
Using WINE To run GLBasic IDE, the binaries.app.exe i compile all seem to crash after a few minutes.
These binaries i compile are .exe that run in WINE/XP.
And the IDE wont compile multiplatform, win32 only.

Using Windows 7 OS, im trying to use GLBasic IDE to compile .linux programs using multiplatform, with linux in the program options.
When running one of these files, you need to set permissions and execute from terminal.
However, there is no luck here getting it to run, as there seems to be a problem with SDL errors, and OpenGL errors.

I compiled an .exe using windows 7, and it runs in linux using WINE/XP.
So far this method is working ok, for a 2d(havent tried 3d)OpenGL binary.app.exe compiled in windows.
Also, it doesnt seem to stop rendering after a few minutes of being minimized in linux (unlike windows, i made a bug report. about it)

@Gernot: And that leaves me with a question, which Linux Dist did you base the multiplatform linux distribution output.linux on? Ubuntu doesnt have everything, does fedora, or SUSE, or some other distribution?

Bing ChatGpt is pretty smart :O

mentalthink

Perhaps we can make runs GLBasic under Linux like in windows, I think the only we need it's now what uses GLBasic in windows ?¿ I refer to someFramekor or some V++Redistributable... Wine tricks permet install some of this packages... also, if Wine can done perhaps CodeWeaver can be the solution, it's WINE but more advanced...

Really I try both, but bad using I don't understand too much how make bottles and this things, and another thing perhaps don't works fine in all future versions or in different distros of Linux.

I give a idea for make a Ide for Linux, really I don't know if this it's a huge work then excuseme, but the guys of AGK the Ide are using it's CodeBlocks(in Window)  and the get money for the compiler, I think use CodeBlocks in Linux works perfectly and modify for use GLbasic?¿, I think eclipse can do this too, have a version for any one wants makes a own IDE, perhaps don't it's necessary have all the platforms at one time, progressive adding platforms to the Ide, while in the forum can do Betatesting and leave it OK, and finally have the IDE for Win and Linux and anyone select the better choice for him.


kanonet

Yeah newer GLBasic releases seems to be bugged on Linux, see my post here: www.glbasic.com/forum/index.php?topic=6497.msg87169#msg87169
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Parv

Quote from: Kitty Hello on 2011-Sep-23
OK, the current update (the setup with Caanoo support) has this fixed now. I hope the dependencies are "just" SDL_mixer on most systems now. A shame that ubuntu does not ship this on default.

I got my app running on MX-Linux 18.3 32 BIT, Great  :)

I have a phone with Ubuntu Touch OTA-9 (UBports), (the app did not run on this, of course it's an arm7).

Will there be a build for this environment?

The SDK available for Ubuntu Touch, since the linux build is on 8086 hardware and 32Bit, I think it would be possible to do the build on arm7 with the SDK from UBports

https://ubports.com/

Thanks,
Parv