U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
Re: Use TheIDE on Windows Subsystem for Linux v2
https://www.ultimatepp.org/forums/index.php?t=rview&goto=60451&th=12226#msg_60451
Sorry, didn't answer your first question.
There's no OpenGL library debate since the flathub package of TheIDE already includes the mesa OpenGL libraries.
As stated in my previous post, there are however some things to finetune (at least on the WSL2 Ubuntu distro).
I'll let you know when it works, and how to make it work !
]]>frederik.dumarey2024-02-06T20:05:09-00:00Re: Use TheIDE on Windows Subsystem for Linux v2
https://www.ultimatepp.org/forums/index.php?t=rview&goto=60450&th=12226#msg_60450
Didn't try this one yet .
I tried some things out, and what is happening?
I can load the OpenGL example, but when compiling it is missing the GL Utilities (glu header files).
This could be quickly solved by installing them using:
sudo apt install libglu1-mesa-dev freeglut3-dev
I think the OpenGL client will use the GLX (X11 extensions for OpenGL), so this should work technically without any problem.
Other than that, while I tried to run the application, I get a console error:
/home/administrator/.cache/upp.out/reference/CLANG.Debug.Deb ug_Full.Gui.Shared/OpenGL: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
I thought the libglu1-mesa library would solve this issue, but I'm stuck here.
Who can help us out?]]>frederik.dumarey2024-02-06T20:00:13-00:00Re: Use TheIDE on Windows Subsystem for Linux v2
https://www.ultimatepp.org/forums/index.php?t=rview&goto=60449&th=12226#msg_60449
About the WSL install, I have the doubt around how to install openGL to run the U++ example.
What is the option with better performance in WSL?]]>koldo2024-02-06T08:09:34-00:00Use TheIDE on Windows Subsystem for Linux v2
https://www.ultimatepp.org/forums/index.php?t=rview&goto=60448&th=12226#msg_60448
Just in case you were wondering: yes you can install TheIDE on WSLv2 with X11 support, so running a X11 window next to regular Windows forms.
I took a screenshot in attachment just in case you asked yourself how it looks like
I like it a lot, no need to install a second OS, very easy sharing of files between Windows & Linux subsystem, etc...
Here's how to (summarized), if you have problems let me know, I can try to help you out:
- install wsl2 on Windows 11 (wsl--install), this will enable the mini virtual machine manager, and install ubuntu as default distribution
- install flatpak, you can find detailed instructions here: https://flathub.org/setup/Ubuntu
- shutdown wsl: wsl -- shutdown
- restart wsl: wsl -- user [your_user_name] -> you need to provide the user name in order to make X11 work properly (and not making garbage on the screen)
- install TheIDE: flatpak install flathub org.ultimatepp.TheIDE
- run TheIDE: flatpak run org.ultimatepp.TheIDE
here in my case, the terminal did not want to install the extra libraries, so I did it manually in a separate terminal window: check the terminal window in order to copy/paste the apt-get install libraries you need.
After installation, just say "y" to continue, and happy you: TheIDE POSIX version is running on Windows next to your other Windows applications.
I did some simple tests, cli and gui, and all compiled well, and ran fantastically
]]>frederik.dumarey2024-02-05T21:50:11-00:00Re: Linux embedded development without X11/GTK dependencies
https://www.ultimatepp.org/forums/index.php?t=rview&goto=59241&th=11077#msg_59241
shawnx wrote on Wed, 30 November 2022 16:08
it's moving towards wayland from x11 these days.
upp-embedded(similar to qt-embedded) is actually interesting because there is no real offering in the market other than qt-embedded as far as I am aware, but you must pay). It runs on top of SDL2/framebuffer/directfb2, useful for HMI(human machine interface), or any non-smartphone-embedded-device that carries a small display, most of them do not need 3D acceleration either.
You might want to check VirtualGui (e.g. reference/SDL2UWord). There is just about 15 virtual methods that you have to implement to make it work on anything. E.g. implementation with SDL2 backend has then 600 lines.]]>mirek2022-12-01T18:25:43-00:00Re: Linux embedded development without X11/GTK dependencies
https://www.ultimatepp.org/forums/index.php?t=rview&goto=59240&th=11077#msg_59240
We do have a LinuxFrameBuffer package, based on VirtualGui.
I can't quite remember who was the original author of it (Zbych?), but I had tried to modify and improve it (It allows FB switching, etc.). (I'd plans to use this with TerminalCtrl) Bu it's still far from being perfect.
You can find the code attached. It if works for you or needs some tweak, I can upload and maintain it.
Best regards,
Oblivion]]>Oblivion2022-12-01T16:22:56-00:00Re: Linux embedded development without X11/GTK dependencies
https://www.ultimatepp.org/forums/index.php?t=rview&goto=59236&th=11077#msg_59236
zsolt wrote on Wed, 30 November 2022 16:15
What is your embedded platform?
This was a while ago but I was attempting to run under TinyCore linux.
zsolt
Why is it a problem, if those X11 libs are on the system?
No reason, I'd just like to try my hand at writing my own WM/DE without the X11 dependency. I just have this idea (and I'm probably not the only one) of working on some kind of small totally U++-based DE.
I've been messing with Vulkan + SDL2. Getting Vulkan/X11 working as a Ctrl under U++ was not bad (after you get over the major hurdle of setting up Vulkan itself - there's so much time spent in initial programming that it's a happy moment when you see your first triangle drawn on the screen), it's true that you can use Paint but it would also be nice to have a VulkanDraw class. I've only gotten to the point though where I can use assimp to import and draw FBX models so it would be quite a bit more work to look over the GLDraw code and get a Draw backend going.
It would be nice to swapping SDL2 out with DirectFB2
]]>jjacksonRIAB2022-11-30T20:17:05-00:00Re: Linux embedded development without X11/GTK dependencies
https://www.ultimatepp.org/forums/index.php?t=rview&goto=59235&th=11077#msg_59235
]]>zsolt2022-11-30T15:26:41-00:00Re: Linux embedded development without X11/GTK dependencies
https://www.ultimatepp.org/forums/index.php?t=rview&goto=59234&th=11077#msg_59234
zsolt2022-11-30T15:15:41-00:00Re: Linux embedded development without X11/GTK dependencies
https://www.ultimatepp.org/forums/index.php?t=rview&goto=59233&th=11077#msg_59233
upp-embedded(similar to qt-embedded) is actually interesting because there is no real offering in the market other than qt-embedded as far as I am aware, but you must pay). It runs on top of SDL2/framebuffer/directfb2, useful for HMI(human machine interface), or any non-smartphone-embedded-device that carries a small display, most of them do not need 3D acceleration either.