Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
55 user(s) are online (41 user(s) are browsing Forums)

Members: 1
Guests: 54

trixie, more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
CMake 3.29 Native (OS4)
Just can't stay away
Just can't stay away


See User information
Hi all,

A few of my friends (cheers!) motivated me to show some of my latest work.

I have been working on different stuff, but the most successful is by far a port of a quite recent version of CMake, that you can use for native development work.

https://www.dropbox.com/scl/fi/qqy746o ... y4ejy3up&st=2nfz4k4p&dl=0

This shot is a few weeks old, and currently the port doesn't quite work with latest libraries (clib and dos). But it's a success, and it is inevetable, that it will float at some point.

I hope this is enough to arouse your senses. :)

Go to top
Re: CMake 3.29 Native (OS4)
Home away from home
Home away from home


See User information
@elfpipe

ooooh...nice, great work, thank you and kudos

/watching this space

Go to top
Re: CMake 3.29 Native (OS4)
Not too shy to talk
Not too shy to talk


See User information
Thank you, thank you, thank you!


Amiga x5040 ı 16GB ı RX580
GB-A1000 060@100,
A1200 PiStorm32-Lite CM4
Go to top
Re: CMake 3.29 Native (OS4)
Quite a regular
Quite a regular


See User information
@elfpipe
This is great. There are, for sure, people still working on useful projects!

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: CMake 3.29 Native (OS4)
Home away from home
Home away from home


See User information
@elfpipe

Thanks for working on this. It's certainly great to have a newer version of CMake.

One of the reasons I haven't promoted The CMake Tutorial to AmigaOS users, is because the version of CMake that we had was too old.

Of course, now I have the next problem: some examples use Raylib, and Raylib does NOT compile out-of-the-box from the source-code repository. If we can't get our port into the official repository, then maybe we can set up an AmigaOS-specific one that does compile out-of-the-box.

Hans

Join the Kea Campus - upgrade your skills; support my work; enjoy the Amiga corner.
https://keasigmadelta.com/ - see more of my work
Go to top
Re: CMake 3.29 Native (OS4)
Not too shy to talk
Not too shy to talk


See User information
@Hans

I'm a bit tied up with family stuff at the moment but I can check that for you - I think I did compile RayLib (from the source of afxgroup) natively on the Amiga. If that's true and I'm remembering correctly, then with a cmake that also runs natively the tutorial should work. Of course that does depend on the fetch functionality being implemented and working.

As always, I've been sidetracked, and it's not desperately on-topic for this thread anyway, but there was a specific area of functionality that didn't work for me in the current build of Raylib on OS4. I can't remember if it was 3D generally (I don't think so), or shaders. In which case it could well have been that the project I was building was using incompatible shader code to the version supported by OS4 / Raylib.

Like I say, need to get back up to speed after my holidays (not school holidays, so a couple weeks)

[EDIT] Of course, a Raylib that has some specific things that don't work is still ok for the tutorial. Provided those things are not used in the tutorial Not perfect but not really a problem.


Amiga x5040 ı 16GB ı RX580
GB-A1000 060@100,
A1200 PiStorm32-Lite CM4
Go to top
Re: CMake 3.29 Native (OS4)
Home away from home
Home away from home


See User information
@MartinW

Quote:
I'm a bit tied up with family stuff at the moment but I can check that for you - I think I did compile RayLib (from the source of afxgroup) natively on the Amiga. If that's true and I'm remembering correctly, then with a cmake that also runs natively the tutorial should work. Of course that does depend on the fetch functionality being implemented and working.

Thanks. IIRC, the current Raylib port needs certain libraries to be installed into the SDK. Raylib itself includes all needed dependencies (for other OSes). That's why it builds out-of-the-box on other OSes. No need to manually install anything. it just works.

Either way, having an updated native version of CMake is a good step forward.

Hans

Join the Kea Campus - upgrade your skills; support my work; enjoy the Amiga corner.
https://keasigmadelta.com/ - see more of my work
Go to top
Re: CMake 3.29 Native (OS4)
Amigans Defender
Amigans Defender


See User information
@MartinW

I've tried all RayLib examples and they all are working correctly. At least with my compiled version.
Try to find which problem you have and i'll try to fix them

i'm really tired...
Go to top
Re: CMake 3.29 Native (OS4)
Not too shy to talk
Not too shy to talk


See User information
@afxgroup

Will do - but if you say you've successfully run all the test examples then it will be my shader code (that I didn't write because I wouldn't know how). Will be a couple weeks.


Amiga x5040 ı 16GB ı RX580
GB-A1000 060@100,
A1200 PiStorm32-Lite CM4
Go to top
Re: CMake 3.29 Native (OS4)
Just can't stay away
Just can't stay away


See User information
This is the current version :

CMake 3.29 for AmigaOS4 on github.com

It would be good, if some people would test. It currently runs fine here using a specific version of clib4.library (namely the beta10 branch).

The reason I am not promoting too much or posting a finalized version on os4depot, is that we are struggling a bit to make it run on another system. If more people test, we can get to the goal zone quicker.

Note : I would be so happy to have a version, that runs on every system, especially to support Hans' work.

Go to top
Re: CMake 3.29 Native (OS4)
Home away from home
Home away from home


See User information
@elfpipe

nice, thanks alot for your work

is there a prebuilt binary somewhere available, or do I need to build it myself...not that i would mind

Go to top
Re: CMake 3.29 Native (OS4)
Not too shy to talk
Not too shy to talk


See User information
@elfpipe

Nice job. Been wondering how much work this is. Looks like a cleaner build system than dealing with old style configure that always break.

Is your build based on Alfkil's work or a new port from scratch?

Go to top
Re: CMake 3.29 Native (OS4)
Home away from home
Home away from home


See User information
@Hypex
If you visit link, you will see that elfpipe and alfkil are the same person :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: CMake 3.29 Native (OS4)
Just can't stay away
Just can't stay away


See User information


Edited by elfpipe on 2024/9/6 16:14:17
Edited by elfpipe on 2024/9/6 17:27:57
Reason: Other info
Go to top
Re: CMake 3.29 Native (OS4)
Home away from home
Home away from home


See User information
@elfpipe

do you have a preference to where the bugreports should go?

here or guthub?

Go to top
Re: CMake 3.29 Native (OS4)
Just can't stay away
Just can't stay away


See User information
@Raziel

Well, this space is a bit more entertaining and has sentimental value. Github is more dry and conventional. I say, it is up to you.

I am looking forward to see, what you find.

Go to top
Re: CMake 3.29 Native (OS4)
Home away from home
Home away from home


See User information
@elfpipe

You won't get much from me i'm afraid, just starting to understand (and thats an *understatement*) cmake, but here you go...

Just downloaded SDL-main and let your alpha loose on it
26.Development:Porting/SDL-main/cmake-buildcmake ..
[
cmake] /home/alfkil/repos/cmake-amiga/Source/cmMakefile.cxx:1750failed assertion "cmSystemTools::FileExists(currentStart, true)".
Abnormal program termination

and if i do the same command a second thime i get this
26.Development:Porting/SDL-main/cmake-buildcmake ..
-- 
Configuring done (0.0s)
CMake ErrorCannot open file for writeDevelopment:Porting/SDL-main/cmake-build/Development:Porting/SDL-main/cmake-build/Development:Porting/SDL-main/cmake-build/CMakeCache.txt.tmpb1a6f
CMake Error
: : System ErrorNo such file or directory
CMake Error
Unable to open cache file for saveDevelopment:Porting/SDL-main/cmake-build/Development:Porting/SDL-main/cmake-build/CMakeCache.txt
CMake Error
: : System ErrorNo such file or directory

What is worse is that there is some kind of "soft-link" added to the build subdirectory, which is called and points to "Development:Porting" (yes, the name of the link or directory is violently using ":" in it`s name...

...i have yet to see how to get rid of it again, without deleting all of my development stuff

...Still, nice to see cmake not immediately crashing on start

Go to top
Re: CMake 3.29 Native (OS4)
Just can't stay away
Just can't stay away


See User information
@Raziel

Quote:
...Still, nice to see cmake not immediately crashing on start


Yes. Just for beginners - did you do this : ?

AmigaOS.README.txt

Quote:
...i have yet to see how to get rid of it again, without deleting all of my development stuff


When using cmake, usually the only domain of affected files are inside the "build" folder that you create.

Go to top
Re: CMake 3.29 Native (OS4)
Just can't stay away
Just can't stay away


See User information
<double post, sorry!>

Go to top
Re: CMake 3.29 Native (OS4)
Home away from home
Home away from home


See User information
@elfpipe

heh, i missed the .unix part since i had the assign already on place fore the older cmake (just adapted it to the new path)

I have now

I'll try and see if *that* error is gone

Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 10 ( 1 members and 9 Anonymous Users )
trixie  




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project