Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mentore

Pages: [1] 2 3 ... 12
1
Utilities / Re: K File Wizard
« on: May 15, 2024, 07:59:18 am »
K File Wizard is a file manager for OS/2 integrating file operations of both the local and the remote support FTP and SFTP. K File Wizard was written by KO Myung-Hun.

I downloaded it from HobbesArchive, but when I try to run it, I get the following error:

SYS0002: The system cannot find the file specified. "KCRYPTO"

Does anyone know where kcrypto.dll can be found?

I was under the impression it could be found in OpenSSL, but I just downloaded the latest one from Netlabs RPM archive and didn't find it. Which is strange, since I saw it under KO Myung Hun's Github tree for OpenSSL.
Maybe the best thing to do is to ping our beloved developer  8)

Mentore

2
Programming / Re: libALSA?
« on: April 30, 2024, 10:11:26 am »
You will have to implement the audio yourself, e.g. you could use KAI.

I was thinking about something like that. BTW the emulator works perfectly, so I'll probably upload it without sound support.
Mentore

3
Programming / libALSA?
« on: April 30, 2024, 09:17:40 am »
Hello all,
I finally managed in setting up some projects on OS/2 - mainly focusing on emulatio.
As it seems, I have a QL Emulator under SDL/2 working - never happened before (there was UQLX but needed X11 and I never saw a working copy).

Now for the difficult part:
I'm working on a newer release of FBZX, a ZX Spectrum emulator I already ported before. It uses libpulse, OSS or libALSA for sound - and we don't have any of them.
As UNIAUD is based on ALSA, I'm wondering how difficult it may be to port libalsa under OS/2.
Thoughts, anyone? I'm pulling it from github right now.

Mentore

4
Internet / Re: Tried Browservice ?
« on: April 23, 2024, 08:10:37 am »
It works great..  Can use all the Office 365 web apps in it just fine and anything else I've been able to throw at it.

-m

I think I'll give it a try, even though I really want a modern OS/2 browser.
Mentore

5
Applications / Re: LarsenCommander - new test version
« on: April 22, 2024, 08:26:44 am »
I've just uploaded v1.08.02 at https://sourceforge.net/projects/lcmd-git/files/

From the Readme -
Code: [Select]
Change History:
---------------
20240416 v1.8.2
- Improve EA handling routines to reduce memory leaks and silent crashes
- Fix TRAP 000e in JFS while copying >69000 files. Hint, please use latest ArcaOS (kernel, JFS, ACPI 3.23.17, ...)
- Removed gl16os2.dll dependency (link .obj into .exe)
- Handel out of memory conditions more gracefully
- Added abtrace for logging via pmprintf.dll (if available on target system)
- Improved build cmd files to break on error (ERRORLEVEL handling)
- Tuneed lxlite options to not remove bldlevel info
- Change to David G. icon files (no clue where they are used)
- Again tuning of dynamic copy buffer size adoption (even more speed on my system :-) )
- Change icons to the ones supplied by David G. Thanks for that although it's not clear to me where they are used.
(- Disable integrated exception handlers in favor of exceptq) reverted back
- Disabled ExceptQ handler as I can't get it to work in conjunction with lcmds own handlers

Bug reports please here - https://sourceforge.net/p/lcmd-git/tickets/

Of course I'll keep reading here as well from time to time. Have fun.

Btw. I've a really hard time to track down and reduce this terrible JFS traps when copying a lot of files. It seems to me that JFS still does not touch some memory pages when feed with >4k buffers some times which I guess leads to these 000e traps. Combined with the memory leaks which LCMD suffered when lot of files where copied I had uncountable crashes with long chkdsks afterwards. Now the I reduced memory need for extended attribute handling I can't see these memory leaks anymore with above512. But on some scenarios LCMD still seems to eat up some system resources which report out of memory. Closing LCMD will recover from such situations now.

If you encounter hangs of LCMD you may look at the lcmd.log file in the directory of lcmd.exe. F.i. tail -n 50 lcmd.log will show you the last messages which usually shows some exception infos. For this you've to enable 'Debug' or 'Test' in Help - Debug - Options. Be aware running LCMD with 'Debug' for a long time or while copying huge amount of files let lcmd.log become very big in minutes.

Btw. if you've pmprintf.dll on your system PmPrintf.exe will show you these messages from LCMD with 'Debug' or 'Test' enabled too.

Downloading right now, I use LCMD all the time.
Should I notice some bug, I'll report it ASAP.
Thanks a lot Andi!

Mentore

6
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 10, 2024, 11:45:51 am »
What error message do the compilers give you?

It's not a compiler error, instead it's configure complaining that the compiler found "can't produce executables". If I set the environment variables without double quotes everything works perfectly (I just finished libfftw-3.3.10).

But, if I don't use double quotes, I can't put -march or -mtune in a CMD file or a shell script.

Mentore

7
Programming / Re: ArcaOS - Recreate a complete build environment?
« 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

8
Programming / Re: ArcaOS - Recreate a complete build environment?
« 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

9
Programming / Re: ArcaOS - Recreate a complete build environment?
« 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

10
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 08, 2024, 10:52:19 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))

After playing with these gcc command line programs I want to work on some SDL and Qt ports, then try to get back on "real" OS/2 development like REXX GUI and C++ software. Wish me luck.

Mentore

11
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 05, 2024, 08:02:02 am »
A copy of my buildenv from April  last year is at https://drive.google.com/file/d/1VPR-z1EPTzrkYwrsvrRw3UOSQ_v7yZV_/view?usp=drive_link - nothing significant would have changed since then...

Wow Paul, thanks a lot for this pointer.
I've already started porting some rather simple applications like normalize, moving forward to SDL apps as soon as possible. I'm finding myself sometimes stuck in configure script troubles like trying to compile some C dummy code to check for gcc and failing, but I'm starting to understand these little quirks.

Mentore

12
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 03, 2024, 12:42:48 pm »
Quote
because I like to keep OS volume and application on separated units - albeit logically, or even better on separate drives,
SET UNIXROOT=x: where x: is your separate drive. It's that easy with BWWs rpm packages.

Stupid me didn't think about this.
Thanks a million!

Mentore
Of course you've to decide this when you install ArcaOS as a lot of things depend on the files there. I don't recommend moving it afterwards.

Too late  8) already made many modifications on my system. I'll fix broken things as I see them, but it's all working (for now).
Now I'm hitting my head trying to port mup from arkkra enterprise, it's gotten really complex since the last version I ported... Gonna let you know.

Mentore

13
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 03, 2024, 10:51:28 am »
Quote
because I like to keep OS volume and application on separated units - albeit logically, or even better on separate drives,
SET UNIXROOT=x: where x: is your separate drive. It's that easy with BWWs rpm packages.

Stupid me didn't think about this.
Thanks a million!

Mentore

14
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 03, 2024, 07:51:37 am »
I have adapted Paul's environment script to my needs, and run it from an copied shell object by calling the script via parameter. This confines the scope of the environment values and everything apart from development remains untouched.

Also, I have cmake installed, since many projects use that and we have good support for it.

Hi Jochen,
this was my first intention since my old OS/2 machine was already perfectly set up for the job (but currently I can't use it). Sadly, I seem unable to access Paul's build environment anymore - every link I tried was broken.

I'd have preferred his way simply because I like to keep OS volume and application on separated units - albeit logically, or even better on separate drives, in order to keep the OS volume clean and hosting only the system (as much as possible).
Should you have some link for Paul's B.E. may you put it here? TIA.

Mentore

15
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 02, 2024, 08:00:50 am »
Need at least some of this in your environment too,
Code: [Select]
SET SHELL=sh.exe
SET EMXSHELL=sh.exe
SET CONFIG_SHELL=sh.exe
SET MAKESHELL=sh.exe
SET EXECSHELL=sh.exe

Be very careful with SET EMXSHELL -- in my experience, having this defined will cause many programs built with the old EMX+GCC to break horribly. I never set this (and make sure to remove it if any RPM adds it), and I've never needed it to build modern gcc stuff.

Thanks Alex. Didn't have the time to correctly test the environment (just some projects already too complex to be easily configure/make'd).
Thanks also Andi, binutils is one of many mandatory packages.
Guess I'll need to set my C:\ virtual drive more than 2 GB space...

Mentore

Pages: [1] 2 3 ... 12