Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
196 user(s) are online (100 user(s) are browsing Forums)

Members: 0
Guests: 196

more...

Headlines

Forum Index


Board index » All Posts (Capehill)




Re: CMake progress
Just can't stay away
Just can't stay away


@alfkil

The new CMake fixed the issue I had. I just don't understand 1) why it wants to link with -ldl 2) why it doesn't find from SOBJS: where I have it?

My workaround was to remove -ldl for the time being (from CMake script).

Do you have a Paypal button somewhere?

Go to top


Re: CMake progress
Just can't stay away
Just can't stay away


@alfkil

Cheers, will try it soon.

Go to top


Re: CMake progress
Just can't stay away
Just can't stay away


@Raziel

https://github.com/scummvm/scummvm/blob/master/Makefile.common

Can you debug the contents of DISTVERSION, a couple of lines above?

Go to top


Re: CMake progress
Just can't stay away
Just can't stay away


@alfkil

Thank you. One thing that happened on my system was that linker couldn't find libdl.so. I'm not sure why this is on the default lib list but even when removing it from the list (and linker giving undefined references xyz), CMake still thinks function exists.

Go to top


Aleph One
Just can't stay away
Just can't stay away


I saw a comment on OS4Depot but couldn't reply it due to captcha. Yes, I'm a bot.

So here is my response:

Alephone seems to be still in development and apparently they use SDL2. Maybe the AmigaOS 4 port could be refreshed.

(it just needs time and motivation)

https://github.com/Aleph-One-Marathon

Go to top


Re: CMake progress
Just can't stay away
Just can't stay away


@alfkil

I stumbled upon a problem where function always exists when it shouldn't, for example due to a linker failure. Below is a small example.

cmake_minimum_required(VERSION 3.7)
include(
CheckFunctionExists)  
check_function_exists(pink_unicorn HAVE_PINK_UNICORN
CHECK_FUNCTION_EXISTS(pink_elephant HAVE_PINK_ELEPHANT)


Go to top


Re: CMake progress
Just can't stay away
Just can't stay away


@alfkil

Yeah, path was not set previously. However I don't see this in the instructions which I followed too literally. I have now something like:

path code:cmake-3.7.1/bin
setenv PATH 
/SDK/c:/SDK/gcc/bin:/code/cmake-3.7.1/bin


and I can configure SDL2. So situation is looking better.

Go to top


Re: CMake progress
Just can't stay away
Just can't stay away


@alfkil

I tried to follow the instructions. Below is my config and log.

path code:cmake-3.7.1/bin
setenv PATH $PATH
:/code/cmake-3.7.1/bin



Log Generated by
Snoopy 53.39 (9.1.2016)

00001 Shell Process   o.k. = GetVar("_pchar",0x59037D18,32,0x00000200) [19uS]
00002 Shell Process   o.k. = GetVar("_mchar",0x59037D18,32,0x00000200) [6uS]
00003 Shell Process   o.k. = GetVar("_pchar",0x59037D18,32,0x00000200) [7uS]
00004 Shell Process   o.k. = GetVar("_mchar",0x59037D18,32,0x00000200) [5uS]
00005 Shell Process   FAIL FindSegment("cmake",0x00000000,USER) [12uS]
00006 Shell Process   FAIL FindSegment("cmake",0x00000000,SYSTEM) [5uS]
00007 Shell Process   :        SetCurrentDir("<untracked>")
00008 : 
Shell Process   FAIL Lock("cmake",SHARED) [73uS]
00009 : 
Shell Process   :        SetCurrentDir("<untracked>")
00010 Shell Process   :        SetCurrentDir("<untracked>")
00011 Shell Process   FAIL Lock("cmake",SHARED) [69uS]
00012 Shell Process   :        SetCurrentDir("<untracked>")
00013 Shell Process   :        SetCurrentDir("<untracked>")
00014 Shell Process   FAIL Lock("cmake",SHARED) [59uS]
00015 Shell Process   :        SetCurrentDir("<untracked>")
00016 Shell Process   :        SetCurrentDir("<untracked>")
00017 Shell Process   FAIL Lock("cmake",SHARED) [31uS]
00018 : 
Shell Process   :        SetCurrentDir("<untracked>")
00019 : 
Shell Process   :        SetCurrentDir("<untracked>")
00020 Shell Process   FAIL Lock("cmake",SHARED) [24uS]
00021 Shell Process   :        SetCurrentDir("<untracked>")
00022 Shell Process   :        SetCurrentDir("<untracked>")
00023 Shell Process   FAIL Lock("cmake",SHARED) [30uS]
00024 Shell Process   :        SetCurrentDir("<untracked>")
00025 Shell Process   :        SetCurrentDir("<untracked>")
00026 Shell Process   FAIL Lock("cmake",SHARED) [26uS]
00027 Shell Process   :        SetCurrentDir("<untracked>")
00028 : 
Shell Process   :        SetCurrentDir("<untracked>")
00029 : 
Shell Process   FAIL Lock("cmake",SHARED) [33uS]
00030 Shell Process   :        SetCurrentDir("<untracked>")
00031 Shell Process   :        SetCurrentDir("<untracked>")
00032 Shell Process   FAIL Lock("cmake",SHARED) [46uS]
00033 Shell Process   :        SetCurrentDir("<untracked>")
00034 Shell Process   :        SetCurrentDir("<untracked>")
00035 Shell Process   FAIL Lock("cmake",SHARED) [42uS]
00036 Shell Process   :        SetCurrentDir("<untracked>")
00037 Shell Process   :        SetCurrentDir("<untracked>")
00038 : 
Shell Process   FAIL Lock("cmake",SHARED) [36uS]
00039 : 
Shell Process   :        SetCurrentDir("<untracked>")
00040 Shell Process   :        SetCurrentDir("<untracked>")
00041 Shell Process   FAIL Lock("cmake",SHARED) [31uS]
00042 Shell Process   :        SetCurrentDir("<untracked>")
00043 Shell Process   :        SetCurrentDir("<untracked>")
00044 Shell Process   FAIL Lock("cmake",SHARED) [29uS]
00045 Shell Process   :        SetCurrentDir("<untracked>")
00046 Shell Process   :        SetCurrentDir("<untracked>")
00047 Shell Process   FAIL Lock("cmake",SHARED) [8119uS]
00048 : 
Shell Process   :        SetCurrentDir("<untracked>")
00049 : 
Shell Process   :        SetCurrentDir("<untracked>")
00050 Shell Process   o.k. = Lock("cmake",SHARED) [72uS]
00051 Shell Process   o.k. = ExamineObject(0x59037CA8) [43uS]
00052 Shell Process   o.k. = LoadSeg("cmake") = [0x16416C35] [974663uS]
00053 Shell Process   o.k. = Lock("cmake",SHARED) [39uS]
00054 Shell Process   DIR  ParentDir("cmake") [20uS]
00055 Shell Process   :        SetCurrentDir("<untracked>")
00056 cmake           o.k. = Open("CONSOLE:",OLD) = [0x17F1BE00] [1904uS]
00057 cmake           o.k. = IsInteractive("CONSOLE:")
00058 : 
cmake           0    FindSegmentStackSize("cmake") [105317uS]
00059 : 
cmake           : -----> RunCommand(0x16416C35 "cmake",,"..",3
00060 cmake           0    FindSegmentStackSize("cmake") [6uS]
00061 cmake           o.k. = [execOpenLibrary("newlib.library",52) [14uS]
00062 cmake           o.k. = IsInteractive("<untracked>")
00063 cmake           o.k. = IsInteractive("<untracked>")
00064 cmake           o.k. = IsInteractive("CONSOLE:")
00065 cmake           o.k. = IsInteractive("CONSOLE:")
00066 cmake           FAIL GetVar("EXEC_IMPORT_LOCAL",0x5899ED28,8,0x00000200) [19uS]
00067 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest",SHARED) [80uS]
00068 : 
cmake           :        SetCurrentDir("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest")
00069 : 
cmake           o.k. = [execOpenLibrary("pthreads.library",53) [74uS]
00070 cmake           o.k. = [execOpenLibrary("dos.library",52) [10uS]
00071 cmake           o.k. = [execOpenDevice("timer.device",3,0x5B745BD0,0x00000000) = [46uS]
00072 cmake           o.k. = Lock("T:",SHARED) [117uS]
00073 cmake           o.k. = Lock("RAM Disk:T",SHARED) [64uS]
00074 cmake           o.k. = ExamineObject(0x5899D5C8) [25uS]
00075 cmake           FAIL Lock("cmake",SHARED) [84uS]
00076 cmake           FAIL Lock("$PATH/cmake",SHARED) [83uS]
00077 cmake           o.k. = Lock("code:cmake-3.7.1/bin/cmake",SHARED) [109uS]
00078 : 
cmake           o.k. = ExamineObject(0x5899DF48) [49uS]
00079 : 
cmake           o.k. = Lock("code:cmake-3.7.1/bin/cmake",SHARED) [85uS]
00080 : 
cmake           o.k. = ExamineObject(0x5899D948) [39uS]
00081 : 
cmake           o.k. = Lock("code:cmake-3.7.1/bin/cmake",SHARED) [98uS]
00082 : 
cmake           o.k. = ExamineObject(0x5899E0F8) [46uS]
00083 : 
cmake           o.k. = Lock("code:cmake-3.7.1/bin/cmake",SHARED) [89uS]
00084 : 
cmake           o.k. = ExamineObject(0x5899E0F8) [39uS]
00085 : 
cmake           o.k. = Lock("code:cmake-3.7.1/bin/cmake",SHARED) [93uS]
00086 : 
cmake           FAIL Lock("Code:cmake-3.7.1/bin/cmake-gui",SHARED) [91uS]
00087 : 
cmake           FAIL Lock("Code:cmake-3.7.1/bin/ccmake",SHARED) [88uS]
00088 : 
cmake           FAIL Lock("Code:cmake-3.7.1/bin/cmcldeps",SHARED) [85uS]
00089 : 
cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMake.cmake",SHARED) [121uS]
00090 : 
cmake           o.k. = ExamineObject(0x5899E228) [48uS]
00091 : 
cmake           o.k. = Lock("/",SHARED) [101uS]
00092 : 
cmake           o.k. = ExamineObject(0x5899D6F8) [40uS]
00093 : 
cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/CMakeCache.txt",SHARED) [97uS]
00094 : 
cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt",SHARED) [111uS]
00095 : 
cmake           o.k. = ExamineObject(0x5899DBA8) [46uS]
00096 : 
cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt",SHARED) [127uS]
00097 : 
cmake           o.k. = ExamineObject(0x5899D6C8) [49uS]
00098 : 
cmake           o.k. = Open("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt",OLD) = [0x17F1BFA6] [154u
00099 : cmake           o.k. = ExamineObject(0x5899D528) [49uS]
00100 cmake           FAIL IsInteractive("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt")
00101 cmake           o.k. = IsFileSystem("Code:") [41uS]
00102 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt",SHARED) [136uS]
00103 cmake           o.k. = ExamineObject(0x5899D6F8) [51uS]
00104 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt",SHARED) [97uS]
00105 cmake           o.k. = ExamineObject(0x5899D6F8) [1522uS]
00106 cmake           DIR  ParentOfFH(0x17F1BFA6"Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt" [424uS]
00107 cmake           o.k. = ExamineObject(0x5899D7E8) [4675uS]
00108 : 
cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMake.cmake",SHARED) [1201uS]
00109 : 
cmake           o.k. = ExamineObject(0x5899DCC8) [2080uS]
00110 cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/PreLoad.cmake",SHARED) [112uS]
00111 cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/PreLoad.cmake",SHARED) [99uS]
00112 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt",SHARED) [133uS]
00113 cmake           o.k. = ExamineObject(0x5899D7A8) [50uS]
00114 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt",SHARED) [100uS]
00115 cmake           o.k. = ExamineObject(0x5899D7D8) [50uS]
00116 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt",SHARED) [112uS]
00117 cmake           o.k. = ExamineObject(0x5899D7D8) [43uS]
00118 : 
cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeOutput.log",SHARED) [119uS]
00119 : 
cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeError.log",SHARED) [96uS]
00120 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles",SHARED) [147uS]
00121 cmake           o.k. = ExamineObject(0x5899CFF8) [51uS]
00122 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles",SHARED) [109uS]
00123 cmake           o.k. = ExamineObject(0x5899C9F8) [42uS]
00124 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt",SHARED) [111uS]
00125 cmake           o.k. = ExamineObject(0x5899D128) [48uS]
00126 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt",SHARED) [94uS]
00127 cmake           o.k. = ExamineObject(0x5899CB28) [41uS]
00128 : 
cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt",SHARED) [110uS]
00129 : 
cmake           o.k. = ExamineObject(0x5899CF88) [47uS]
00130 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt",SHARED) [99uS]
00131 cmake           o.k. = ExamineObject(0x5899CAD8) [43uS]
00132 cmake           o.k. = Open("Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt",OLD) = [0x17F1BFA6] [142uS]
00133 cmake           o.k. = ExamineObject(0x5899CE28) [50uS]
00134 cmake           FAIL IsInteractive("Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt")
00135 cmake           o.k. = IsFileSystem("Code:") [43uS]
00136 cmake           o.k. = ExamineObject(0x5899D078) [53uS]
00137 cmake           o.k. = GetFilePosition(0x17F1BFA6) = 32768 [16uS]
00138 : 
cmake           DIR  ParentOfFH(0x17F1BFA6"Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt" [63uS]
00139 : 
cmake           o.k. = ExamineObject(0x5899D198) [43uS]
00140 cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeUnixFindMake.cmake",SHARED) [152uS]
00141 cmake           o.k. = ExamineObject(0x5899B868) [52uS]
00142 cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeUnixFindMake.cmake",SHARED) [134uS]
00143 cmake           o.k. = ExamineObject(0x5899B7D8) [49uS]
00144 cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeUnixFindMake.cmake",SHARED) [106uS]
00145 cmake           o.k. = ExamineObject(0x5899B328) [44uS]
00146 cmake           o.k. = Open("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeUnixFindMake.cmake",OLD) = [0x17F1BFA6
00147 cmake           o.k. = ExamineObject(0x5899B678) [50uS]
00148 : 
cmake           FAIL IsInteractive("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeUnixFindMake.cmake")
00149 : 
cmake           o.k. = IsFileSystem("Code:") [40uS]
00150 cmake           o.k. = ExamineObject(0x5899B8C8) [47uS]
00151 cmake           o.k. = GetFilePosition(0x17F1BFA6) = 575 [16uS]
00152 cmake           DIR  ParentOfFH(0x17F1BFA6"Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeUnixFindMake.cmake" [6
00153 
cmake           o.k. = ExamineObject(0x5899B9E8) [45uS]
00154 cmake           FAIL Lock("gmake",SHARED) [79uS]
00155 cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/$PATH/gmake",SHARED) [102uS]
00156 cmake           FAIL Lock("code:cmake-3.7.1/bin/gmake",SHARED) [88uS]
00157 cmake           FAIL Lock("make",SHARED) [63uS]
00158 : 
cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/$PATH/make",SHARED) [93uS]
00159 : 
cmake           FAIL Lock("code:cmake-3.7.1/bin/make",SHARED) [81uS]
00160 cmake           FAIL Lock("smake",SHARED) [66uS]
00161 cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/$PATH/smake",SHARED) [96uS]
00162 cmake           FAIL Lock("code:cmake-3.7.1/bin/smake",SHARED) [83uS]
00163 cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles/3.7.1/CMakeSystem.cmake",SHARE
00164 
cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake",SHARED) [133uS]
00165 cmake           o.k. = ExamineObject(0x5899BB28) [52uS]
00166 cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake",SHARED) [135uS]
00167 cmake           o.k. = ExamineObject(0x5899BA98) [52uS]
00168 : 
cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake",SHARED) [114uS]
00169 : 
cmake           o.k. = ExamineObject(0x5899B5E8) [45uS]
00170 cmake           o.k. = Open("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake",OLD) = [0x17F1BFA
00171 
cmake           o.k. = ExamineObject(0x5899B938) [50uS]
00172 cmake           FAIL IsInteractive("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake")
00173 cmake           o.k. = IsFileSystem("Code:") [40uS]
00174 cmake           o.k. = ExamineObject(0x5899BB88) [48uS]
00175 cmake           o.k. = GetFilePosition(0x17F1BFA6) = 7505 [16uS]
00176 cmake           DIR  ParentOfFH(0x17F1BFA6"Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake"
00177 cmake           o.k. = ExamineObject(0x5899BCA8) [43uS]
00178 : 
cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles/3.7.1/CMakeSystem.cmake",SHARE
00179 : cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeSystemSpecificInitialize.cmake",SHARED
00180 : 
cmake           o.k. = ExamineObject(0x5899BB28) [53uS]
00181 : 
cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeSystemSpecificInitialize.cmake",SHARED
00182 : 
cmake           o.k. = ExamineObject(0x5899BA98) [51uS]
00183 : 
cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeSystemSpecificInitialize.cmake",SHARED
00184 : 
cmake           o.k. = ExamineObject(0x5899B5E8) [46uS]
00185 : 
cmake           o.k. = Open("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeSystemSpecificInitialize.cmake",OLD) = [
00186 : 
cmake           o.k. = ExamineObject(0x5899B938) [53uS]
00187 : 
cmake           FAIL IsInteractive("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeSystemSpecificInitialize.cmake"
00188 : cmake           o.k. = IsFileSystem("Code:") [43uS]
00189 : 
cmake           o.k. = ExamineObject(0x5899BB88) [54uS]
00190 : 
cmake           o.k. = GetFilePosition(0x17F1BFA6) = 372 [14uS]
00191 : 
cmake           DIR  ParentOfFH(0x17F1BFA6"Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeSystemSpecificInitiali
00192 : cmake           : o.k. = ExamineObject(0x5899BCA8) [45uS]
00193 : cmake           : FAIL = Lock("
Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles/3.7.1/CMakeCCompiler.cmake",SH
00194 : cmake           : o.k. = Lock("
Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cmake",SHARED) [129uS
00195 : cmake           : o.k. = ExamineObject(0x5899BB28) [54uS]
00196 : cmake           : o.k. = Lock("
Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cmake",SHARED) [122uS
00197 : cmake           : o.k. = ExamineObject(0x5899BA98) [49uS]
00198 : cmake           : o.k. = Lock("
Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cmake",SHARED) [114uS
00199 : cmake           : o.k. = ExamineObject(0x5899B5E8) [48uS]
00200 : cmake           : o.k. = Open("
Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cmake",OLD) = [0x17F1
00201 : cmake           : o.k. = ExamineObject(0x5899B938) [50uS]
00202 : cmake           : FAIL = IsInteractive("
Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cmake")
00203 : cmake           : o.k. = IsFileSystem("
Code:") [41uS]
00204 : cmake           : o.k. = ExamineObject(0x5899BB88) [47uS]
00205 : cmake           : o.k. = GetFilePosition(0x17F1BFA6) = 6658 [16uS]
00206 : cmake           : DIR  = ParentOfFH(0x17F1BFA6) "
Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cma
00207 
cmake           o.k. = ExamineObject(0x5899BCA8) [43uS]
00208 : 
cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CPackConfig.cmake",SHARED) [128uS]
00209 : 
cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CPackSourceConfig.cmake",SHARED) [93uS]
00210 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/CMakeLists.txt",SHARED) [134uS]
00211 cmake           o.k. = ExamineObject(0x5899CFD8) [51uS]
00212 cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeUnixFindMake.cmake",SHARED) [125uS]
00213 cmake           o.k. = ExamineObject(0x5899CFD8) [48uS]
00214 cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake",SHARED) [125uS]
00215 cmake           o.k. = ExamineObject(0x5899CFD8) [46uS]
00216 cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeSystemSpecificInitialize.cmake",SHARED
00217 cmake           o.k. = ExamineObject(0x5899CFD8) [62uS]
00218 : 
cmake           o.k. = Lock("Code:cmake-3.7.1/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cmake",SHARED) [139uS
00219 : cmake           o.k. = ExamineObject(0x5899CFD8) [48uS]
00220 cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles/CMakeOutput.log",SHARED) [124u
00221 
cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles/CMakeError.log",SHARED) [100uS
00222 
cmake           FAIL ExamineObject(0x5899D4E8) [15153uS]
00223 cmake           FAIL Delete("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp") [126uS]
00224 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest",SHARED) [99uS]
00225 cmake           o.k. = ExamineObject(0x5899CB58) [50uS]
00226 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest",SHARED) [90uS]
00227 cmake           o.k. = ExamineObject(0x5899C558) [42uS]
00228 : 
cmake           FAIL Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp",SHARED) [103uS]
00229 : 
cmake           o.k. = Open("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp",RW ) = [0x17F1BFA6] [
00230 cmake           o.k. = ExamineObject(0x5899CD78) [48uS]
00231 cmake           FAIL IsInteractive("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp")
00232 cmake           o.k. = IsFileSystem("Code:") [49uS]
00233 cmake           DIR  ParentOfFH(0x17F1BFA6"Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp" [57
00234 
cmake           o.k. = ExamineObject(0x5899D3B8) [43uS]
00235 cmake           :        SetCurrentDir("<untracked>")
00236 cmake           o.k. = SetProtection("CMakeCache.txt.tmp",0x00008802) [12848uS]
00237 cmake           :        SetCurrentDir("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest")
00238 : 
cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp",SHARED) [132uS]
00239 : 
cmake           o.k. = ExamineObject(0x5899ABD8) [48uS]
00240 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt",SHARED) [104uS]
00241 cmake           o.k. = ExamineObject(0x5899ABD8) [52uS]
00242 cmake           o.k. = Open("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp",OLD) = [0x17F1BFA6] [
00243 cmake           o.k. = ExamineObject(0x5899A968) [51uS]
00244 cmake           FAIL IsInteractive("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp")
00245 cmake           o.k. = IsFileSystem("Code:") [41uS]
00246 cmake           o.k. = Open("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt",OLD) = [0x17F1B94C] [157u
00247 
cmake           o.k. = ExamineObject(0x5899A968) [48uS]
00248 : 
cmake           FAIL IsInteractive("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt")
00249 : 
cmake           o.k. = IsFileSystem("Code:") [41uS]
00250 cmake           DIR  ParentOfFH(0x17F1B94C"Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt" [51uS]
00251 cmake           o.k. = ExamineObject(0x5899AC28) [47uS]
00252 cmake           DIR  ParentOfFH(0x17F1BFA6"Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp" [43
00253 
cmake           o.k. = ExamineObject(0x5899AC28) [41uS]
00254 cmake           o.k. = Delete("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp") [17708uS]
00255 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles",SHARED) [143uS]
00256 cmake           o.k. = ExamineObject(0x5899CF18) [43uS]
00257 cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles",SHARED) [102uS]
00258 : 
cmake           o.k. = ExamineObject(0x5899C918) [48uS]
00259 : 
cmake           o.k. = Lock("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles/cmake.check_cache",SHARED) [13
00260 
cmake           o.k. = ExamineObject(0x5899CEC8) [49uS]
00261 cmake           o.k. = Open("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles/cmake.check_cache",NEW) = [0x1
00262 
cmake           FAIL IsInteractive("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles/cmake.check_cache")
00263 cmake           o.k. = IsFileSystem("Code:") [51uS]
00264 cmake           o.k. = ChangeMode(CHANGE_FH,0x17F1BFA6,SHARED_LOCK) [9uS]
00265 cmake           DIR  ParentOfFH(0x17F1BFA6"Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeFiles/cmake.check_
00266 : cmake           : o.k. = ExamineObject(0x5899D188) [15766uS]
00267 : cmake           :        SetCurrentDir("
<untracked>")
00268 : cmake           : o.k. = SetProtection("
cmake.check_cache",0x00008802) [623uS]
00269 : cmake           :        SetCurrentDir("
Code:svn/sdl2-amigaos4-code/trunk/_cmaketest")
00270 : cmake           : FAIL = Lock("
Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp",SHARED) [111uS]
00271 : cmake           : FAIL = Rename("
Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp" -> "Code:svn/sdl2-a
00272 
cmake           FAIL Delete("Code:svn/sdl2-amigaos4-code/trunk/_cmaketest/CMakeCache.txt.tmp") [102uS]
00273 cmake           :        SetCurrentDir("<untracked>")
00274 cmake           : <----- RunCommand(0x16416C35 "cmake",,"..",3) = [0x00000001] [889430uS]
00275 Shell Process   o.k. = SetMode("<untracked>",[LINE]) [1626uS]
00276 Shell Process   FAIL GetVar("_Title",0x5B0D140C,256,0x00000200) [20uS]
00277 Shell Process   FAIL GetVar("Echo",0x59037D38,32,0x00000200) [17uS]
00278 : 
Shell Process   FAIL GetVar("OldRedirect",0x59037D38,32,0x00000200) [7uS]
00279 : 
Shell Process   FAIL GetVar("KeepDoubleQuotes",0x59037D38,32,0x00000200) [5uS]
00280 : 
Shell Process   FAIL GetVar("Interactive",0x59037D38,32,0x00000200) [5uS]




Go to top


Re: CMake progress
Just can't stay away
Just can't stay away


After some snooping, it looks like cmake is not able to Lock "make" command. Make still works from the same shell though, as usual.

If I copy make to my Cmake/bin directory, it proceeds, until failing with compiler check.

Go to top


Re: CMake progress
Just can't stay away
Just can't stay away


@alfkil

First of all, thanks for working on CMake, it seems quite important tool today.

I tried to build SDL2 with it but first it crashed (could be my 64 kilobyte stack, because crash couldn't be reproduced with 100 kilobytes - maybe some stack cookie would be nice?).

After stack increase it started to give this error:

Code:svn/sdl2-amigaos4-code/trunk/_cmaketestcmake .. 
CMake ErrorCMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.
You probably need to select a different build toolCMake ErrorCMAKE_C_COMPILER not setafter EnableLanguage -- Configuring incompleteerrors occurred!


Anyone else seen this?

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


@Raziel

Please try this:

SDL_RendererInfo ri;
int result;

result SDL_GetRendererInfo(renderer, &ri);

if (
result) {
    
SDL_Log("Failed to get renderer info\n");
} else {
    
SDL_Log("Renderer called [%s], flags 0x%X\n"ri.nameri.flags);
}


I checked your project and it doesn't need frame buffer objects. Therefore all renderers should be OK. However, since both "compositing" and "opengl" renderers support 32-bit textures, 16-bit texture that your project uses, needs extra conversion which slows things.

I will create a ticket to add support for 16-bit textures for compositing renderer. Then at least one step can be removed from this scenario:

1) game draws pixels to 16-bit surface
2) surface is converted to 16-bit texture
3) 16-bit texture is converted to 32-bit texture (if opengl or compositing)
4) texture is uploaded from RAM to VRAM
5) 32-bit texture is blitted onto window (of N depth)

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


@Raziel

If application uses 32-bit textures internally then it will work regardless of the screen depth. But color conversion can slow down the blitting.

Most SDL2 apps I have seen so far used 32-bit textures. Support for others might be considered.

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


@Raziel

You need to give hint before creating renderer. After renderer has been created, you can call another function to check the name of the created renderer. https://wiki.libsdl.org/SDL_GetRendererInfo

Anyway, without hint, you should get compositing renderer. It's faster than OpenGL renderer in most cases. OGLES2 renderer I haven't personally tested and I heard it is not bug-free so that's why it's not mentioned in the readme file at all.

MiniGL doesn't support frame buffer objects, therefore OpenGL renderer cannot support SDL_RENDERER_TARGETTEXTURE.

So, if you need SDL_RENDERER_TARGETTEXTURE, you can use either compositing or software. (Maybe some day OGLES2.)


Go to top


Re: SDL2
Just can't stay away
Just can't stay away


r164 binaries are now published: https://sourceforge.net/projects/sdl2-amigaos4/files/

And OS4Depot soon I hope. Changes after r119:

- SDL 2.0.4 merge
- bugfixes
- experimental OGLES2 context support

Next stop SDL 2.0.5...

Go to top


Re: emotion media player
Just can't stay away
Just can't stay away


@kas1e

Cool, I didn't even know that Emotion was released. Have to get it now :)

Go to top


Re: My MiniGL experiments,recompilation,tips,etc...
Just can't stay away
Just can't stay away


Hacked the vertex array code a bit, now it draws all triangles with one call (when using compiled vertex arrays a la Q3). On my Sam440 there seems to be about 1% FPS boost so not much to write home about but at least the direction is correct.

It would be interesting to hear how faster system perform though.

Lib + dirty patch here: http://capehill.kapsi.fi/minigl/

Go to top


Re: Work on Qt 5.8 has begun :)
Just can't stay away
Just can't stay away


@alfkil

If you have commited them, they are only in your local repo. You have to push the commits to remote. For example

sgit push origin master

supposing you are working on the master branch.

Go to top


Re: Work on Qt 5.8 has begun :)
Just can't stay away
Just can't stay away


Try:

sgit config user.name alfkil
sgit config user.email alfkil@mailaddress

Go to top


Re: Work on Qt 5.8 has begun :)
Just can't stay away
Just can't stay away


@alfkil

SimpleGit works with Github and Bitbucket. At least basic things like clone, commit, push.

https://github.com/sba1/simplegit
http://os4depot.net/index.php?functio ... elopment/utility/sgit.lha

I can checkout an SVN project from Sourceforge but can't commit. If I remember correctly it was related to SSL support.

Go to top


Re: My MiniGL experiments,recompilation,tips,etc...
Just can't stay away
Just can't stay away


@BSzili

Maybe I missed the info but did you finish the vertex buffer for clipped triangles? Any conclusions there?

Did anybody try inlining hg_ClipCode or V_ToScreen functions?

And what is the meaning of "align" member? It was documented for padding usage but it seems to be used as a condition in the code...

Go to top



TopTop
« 1 ... 70 71 72 (73) 74 75 76 ... 83 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project