Recent Posts

Pages: 1 ... 8 9 [10]
91
Programming / Re: ArcaOS - Recreate a complete build environment?
« Last post by Mentore on April 10, 2024, 11:11:56 am »
This thread is immensely useful and a great complement (or replacement) to BitWise Works wiki page on how to build qt5 (https://github.com/bitwiseworks/qt5-os2/wiki/Developers#building-qt)

Considering there's an official developer page through EDM2, perhaps the very first article should be "how to get started", with this information? Also, should anyone have a script to automate some of this yak shaving setup, it could reduce the friction that many hobbyist developers have to face when approaching OS/2 development...

Hi,
If I'm not wrong most of it is already covered in some other places of these forums. Yet I must say I'm doing much research (in my almost zero spare time) to try and get up-and-running in as few steps as possible.

I'll try to gather and organize as much information as possible and try to contribute to what has already been written. Ad EDM/2 column would be really useful (provided it doesn't already exist!).

Mentore

Quoting myself because I came across an interesting problem.
If I try to set variables like CFLAGS like this

Code: [Select]
set CFLAGS=-O2 -g

configure and autoreconf work correctly. But I can't set options like -march or -mtune. If I try to set these in double quotes as in

Code: [Select]
set CFLAGS="-O2 -g -march=generic"

even after autoreconf, configure fails giving me troubles in gcc, gxx and cpp - even if I tweak the script.
How can I include -march / -mtune and similar options?
This happens also if I try to use export directive in a shell script...

Mentore
92
Programming / Re: ArcaOS - Recreate a complete build environment?
« Last post by Mentore on April 10, 2024, 08:08:09 am »
This thread is immensely useful and a great complement (or replacement) to BitWise Works wiki page on how to build qt5 (https://github.com/bitwiseworks/qt5-os2/wiki/Developers#building-qt)

Considering there's an official developer page through EDM2, perhaps the very first article should be "how to get started", with this information? Also, should anyone have a script to automate some of this yak shaving setup, it could reduce the friction that many hobbyist developers have to face when approaching OS/2 development...

Hi,
If I'm not wrong most of it is already covered in some other places of these forums. Yet I must say I'm doing much research (in my almost zero spare time) to try and get up-and-running in as few steps as possible.

I'll try to gather and organize as much information as possible and try to contribute to what has already been written. Ad EDM/2 column would be really useful (provided it doesn't already exist!).

Mentore
93
Programming / Re: ArcaOS - Recreate a complete build environment?
« Last post by SoundChaser on April 10, 2024, 12:38:24 am »
This thread is immensely useful and a great complement (or replacement) to BitWise Works wiki page on how to build qt5 (https://github.com/bitwiseworks/qt5-os2/wiki/Developers#building-qt)

Considering there's an official developer page through EDM2, perhaps the very first article should be "how to get started", with this information? Also, should anyone have a script to automate some of this yak shaving setup, it could reduce the friction that many hobbyist developers have to face when approaching OS/2 development...
94
Applications / Re: XWP v1.0.16
« Last post by Rich Walsh on April 09, 2024, 07:19:40 pm »
XWP full does not enable by default the "Enable global object hotkeys".

I made the mistake of assuming it did, and that the settings on the Icon page would be disabled if the feature were disabled - neither of which was true. I've now fixed both.

In doing so, I found a bigger issue: XWP-Full starts with fewer features enabled than XWP-Lite/ANXWP. Since nothing in Lite is risky/experimental/controversial, I can't see any reason why Full shouldn't default to the same feature set as Lite. In the next version (1.0.17), it will. All the checkboxes will remain, only the ones that are checked by default will change.

BTW... this only affects new installations - upgrades will use your existing settings and shouldn't change anything.
95
Games / Re: Minecraft
« Last post by Jochen Schäfer on April 09, 2024, 06:10:26 pm »
Thanks a lot. I will look into it, and try to code something from your example.
96
Games / Re: Minecraft
« Last post by Pete on April 09, 2024, 04:35:33 pm »
Hi Jochen

Sent you a PM with my code.

Hope it is of help.


Pete

97
Games / Re: Minecraft
« Last post by Jochen Schäfer on April 09, 2024, 09:39:42 am »
Hi David

Getting around 10fps, and can move the view by moving the mouse. ...
I think I have your same experience, with the exception of moving with the mouse. How do you know it is moving, does the image/background moves?

Do you use SNAP or Panorama. In my case I used Panorama on real hardware.

Regards

Hi Martin, here the background/view changes when I move the mouse. Using Panorama on real hardware
The frames are displayed one after another. So it can take some time until all mouse movements are worked through and get displayed. Sorry, SoftGPU is really really slow.
You can get some more frames out of it, when you set the view distance in the options menus.
98
Games / Re: Minecraft
« Last post by Jochen Schäfer on April 09, 2024, 09:33:22 am »
Hi Jochen

Re "Register": The Button only tries to execute an URL, which on other platforms opens the default browser with the URL. I don't know, how to fix that. Perhaps somebody has done something similar and can tell me.



You need to read the os2.ini file to get default browser (and profile) data then use DosExecPgm to start browser with profile data and website url as parameter.

Happy to send you the code I used in USBcfg - it is in Pascal but that is not too different from c.


Regards

Pete
Thanks, I'd like to have your code. I can read Pascal ;-)
99
Programming / Re: ArcaOS - Recreate a complete build environment?
« Last post by Jochen Schäfer on April 09, 2024, 09:32:10 am »
That is an important tip, because otherwise the generated script can fail.
100
Programming / Re: ArcaOS - Recreate a complete build environment?
« Last post by Mentore on April 09, 2024, 08:28:30 am »
If you can, use cmake. It makes life easier.

Cmake will be the next step. Many projects I'm woking on use configure (for example ngspice 4.2, mup and others) so I'm basically stuck on noticing many other developers are seeing the same behavior (like configure not finding gcc RIGHT AFTER FINDING IT...  8))


Are you rebuilding the configure script using the autoconf port? Try running "sh c:/usr/bin/autoreconf -sfy" adjust C: as needed, then run configure.
Autoreconf will also run the other autotools, especially libtool.

Thanks Dave, this I didn't know. Guess I have to dig deeper in build tools, even searching through forums didn't help a lot.

Mentore
Pages: 1 ... 8 9 [10]