Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
14 user(s) are online (7 user(s) are browsing Forums)

Members: 0
Guests: 14

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 3 4 (5)
Re: CMake 3.29 Native (OS4)
Just can't stay away
Just can't stay away


See User information
@elfpipe

same problem:

#assign
Volúmenes:
BASURA [Montado]
Devel [Montado]
...
Workbench [Montado]

Asignaciones:
AMISSL         <DEVS:AmiSSL>
C              Workbench:C
CLASSES        Workbench
:Classes
CLIPS          RAM Disk
:Clipboards
cmake
-amiga    Devel:cmake-amiga
...

#cd build/
#cmake ..
-- CMAKE_HOST_SYSTEM_VERSION 53.18
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
CMake Error
Generatorexecution of make failedMake command was: /Devel/cmake-amiga/bin/cmake -E env VERBOSE=/SDK/C/gmake -f Makefile cmTC_629ed/fast
-- Detecting C compiler ABI info failed
-- Check for working C compiler: /SDK/gcc/bin/gcc
CMake Error
Generatorexecution of make failedMake command was: /Devel/cmake-amiga/bin/cmake -E env VERBOSE=/SDK/C/gmake -f Makefile cmTC_9582e/fast
-- Check for working C compiler: /SDK/gcc/bin/gcc broken
CMake Error at 
/Devel/cmake-amiga/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
  
The C compiler

    
"/SDK/gcc/bin/gcc"

  
is not able to compile a simple test program.

  
It fails with the following output:

    
Change Dir'/Devel/SDK/ejemplos/SDL2/game/build/CMakeFiles/CMakeScratch/TryCompile-TXPYHS'
    
    
Run Build Command(s): /Devel/cmake-amiga/bin/cmake -E env VERBOSE=/SDK/C/gmake -f Makefile cmTC_9582e/fast
    SIGHUP
    Generator
execution of make failedMake command was: /Devel/cmake-amiga/bin/cmake -E env VERBOSE=/SDK/C/gmake -f Makefile cmTC_9582e/fast
    

  

  CMake will not be able to correctly generate this project
.
Call Stack (most recent call first):
  
CMakeLists.txt:(project)


-- 
Configuring incompleteerrors occurred!



But will do ASAP a new SDK install and see if I "missed" something.

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


See User information
@jabirulo

I *think* you may still have the wrong path set up

from the cmake amigaos4 readme
Quote:

setenv PATH /SDK/gcc/bin:/SDK/C:/SDK/local/C:/cmake-amiga/bin
path cmake-amiga:bin ADD

also make sure that the old path to 3.29 is gone completely...

Best way to use them without using the old path setup is to do a reboot

because, if you look at your last CMake error it's still pointing to the old cmake3.29 install:
Quote:

CMake Error at /Devel/cmake-amiga/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler

"/SDK/gcc/bin/gcc"

is not able to compile a simple test program.

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


See User information
@Raziel

Old cmake 3.29 ¿:-/

Sorry don't get it, v3.29 (beta3) is latest version and package has such directory struct:
#list cmake-amiga:share/
Directory "cmake-amiga:share" on Sunday 29-Sep-24
cmake
-3.29                      Dir ----rwed Tuesday    18:37:43
aclocal                         Dir 
----rwed Tuesday    18:41:05
bash
-completion                 Dir ----rwed Tuesday    18:41:05
3 directories 
6 used blocks
#


My "setup" is:
#Devel:cmake-amiga/
#type cmake_init 
Assign cmake-amigaDevel:cmake-amiga
SetEnv PATH 
/SDK/gcc/bin:/SDK/C:/SDK/local/C:/cmake-amiga/bin
Path cmake
-amiga:bin ADD
Stack 1000000
#bin/cmake --version
cmake version 3.29.3

CMake suite maintained 
and supported by Kitware (kitware.com/cmake).
#

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


See User information
@jabirulo

Your setup looks correct. I don't know what to suggest. Maybe a run with snoopy?


Edited by elfpipe on 2024/9/29 11:41:20
Go to top
Re: CMake 3.29 Native (OS4)
Just can't stay away
Just can't stay away


See User information
@jabirulo

I have changed my theory : I believe now, that it is your compiler, that fails to build an executable. The step that fails would be some call on try_compile() (in the ABI detection script). This could potentially happen, if the setup you are working with requires, say, "-athread=native" in order to compile (and not fail).

Could you please try and change the compiler version with the

SDK:Tools/set_defGCC

tool?

EDIT: It could also potentially be caused by the spelling of symlink names in the version control of the SDK. This might be different in different version.

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


See User information
@thread

I have not fixed case sensitivity issues in cmake, since it never came up in my tests. I will try and find time to address this issue. In the meantime, be aware, that spelling (upper-lower case) in path names might be the subject of success/failure of calls during generation/build.

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


See User information
@elfpipe
Quote:
I have not fixed case sensitivity issues in cmake, since it never came up in my tests. I will try and find time to address this issue.
Don't do that, it may break more than it fixes.
For example I could build OWB on AmigaOS 4.x only if the sources were on case sensitive formatted SFS partitions.
On any other file system, default on AmigaOS is upper=lower case for the ASCII chars, it failed because it had different files with the same names where only the case of some chars differed.

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


See User information
@jabirulo

yeah, just ignore me, wrong glasses

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


See User information
This doesn't particularly help anyone with their troubles, but I did manage to get 20 minutes just now to update my copy of cmake and can confirm that for me, everything still works as it did before. I haven't had a chance to progress to a more complex program yet - real life getting in the way!


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
@elfpipe

a first test with a small project shows that it works for me now

one policy warning (more on a bigger project) but that's it.
I take it those warning are the same as with compiler warnings, i can suppress them with flags, but it would be better to fix them?

CMake Deprecation Warning at CMakeLists.txt:(CMAKE_MINIMUM_REQUIRED):
  
Compatibility with CMake 3.5 will be removed from a future version of
  CMake
.

  
Update the VERSION argument <minvalue or use ...<maxsuffix to tell
  CMake that the project does not need compatibility with older versions
.


-- 
CMAKE_HOST_SYSTEM_VERSION 53.18
-- The C compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info done
-- Check for working C compiler: /SDK/gcc/bin/gcc skipped
-- Detecting C compile features
-- Detecting C compile features done
-- Configuring done (8.8s)
CMake Warning (devat src/CMakeLists.txt:(add_library):
  
Policy CMP0115 is not setSource file extensions must be explicit.  Run
  
"cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy 
and suppress this warning.

  
File:

    /
Development/Porting/musepack/libreplaygain_r475/src/gain_analysis.c
This warning is 
for project developers.  Use -Wno-dev to suppress it.

-- 
Generating done (0.2s)
-- 
Build files have been written to: /Development/Porting/musepack/libreplaygain_r475/build


Thanks a lot

Now, off to play


edit:

I have yet to find a way to reproduce it, but after some time all the cmake binaries turn non-executable...i get the error message that this binary is not exectuable (all three cmake, ctest and cpack)


Edited by Raziel on 2024/10/3 13:27:41
Go to top
Re: CMake 3.29 Native (OS4)
Just can't stay away
Just can't stay away


See User information
@Raziel

Quote:
I take it those warning are the same as with compiler warnings,


Those warnings should be there. It indicates, that it is an old project and should be updated.

Quote:
i get the error message that this binary is not exectuable (all three cmake, ctest and cpack)


Have you checked your memory consumption? There is a memory leak that we haven't trapped yet. More on this latter.

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


See User information
@elfpipe

nope, I didn't, but eill do now...it happened mostly after jumping between two projects

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


See User information
@elfpipe

yep, that seems to be it, eats away upto 770 MB, i still should have roughly the same left, but it looks like it's either hellishly fragmented or the display is wrong.

once the "file is not executable" comes up not even odyssey starts up anymore

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


See User information
@Raziel

That'a all good fun. Maybe we will have time this weekend to trap the memory gnome. Good to see, though, that the software actually runs somewhere in the outer universe.

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


See User information
@elfpipe

take your time

Go to top

  Register To Post
« 1 2 3 4 (5)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project