Closed robcfg closed 2 months ago
Hi, The C64 version hasn't had the same amount of attention as the Spectrum version and hence doesn't currently compile on Mac/Linux. It's not a lot of work to get it compiling on Mac/Linux. It just hasn't been done yet. :) Cheers
Closing this as we are currently building fine on MacOS 10.14. 10.12 is old now.
Hi,
As I commented out on the CPCWiki, I had some problems compiling C64analiser on my Monterey MacBook Pro, and here's the list of issues I've found:
Use of sprintf_s Source/C64/C64Chips.cpp:362:9: error: use of undeclared identifier 'sprintf_s' Source/C64/C64Chips.cpp:370:13: error: use of undeclared identifier 'sprintf_s' Source/C64/C64Chips.cpp:378:13: error: use of undeclared identifier 'sprintf_s' Source/C64/C64Chips.cpp:382:13: error: use of undeclared identifier 'sprintf_s' Source/C64/C64Chips.cpp:391:13: error: use of undeclared identifier 'sprintf_s' Source/C64/C64Chips.cpp:575:5: error: use of undeclared identifier 'sprintf_s' Source/C64/C64Chips.cpp:582:5: error: use of undeclared identifier 'sprintf_s' Source/C64/IOAnalysis/IORegisterAnalysis.cpp:23:3: error: use of undeclared identifier 'sprintf_s' Source/C64/IOAnalysis/VICAnalysis.cpp:175:4: error: use of undeclared identifier 'sprintf_s'
Use of min/max instead of fmin/fmax Source/C64/C64Chips.cpp:620:29: error: use of undeclared identifier 'min'; did you mean 'fmin'? Source/C64/C64Chips.cpp:625:27: error: use of undeclared identifier 'max'; did you mean 'fmax'?
Unknown size_t (include to solve)
Source/C64/C64Display.h:13:2: error: unknown type name 'size_t'
Source/C64/C64Display.h:32:2: error: unknown type name 'size_t'
Linker errors Add find_library(AUDIOTOOLBOX_LIBRARY AudioToolbox) to darwin section of CMakeLists.txt Add ${AUDIOTOOLBOX_LIBRARY} to darwin's target_link_libraries section of CMakeLists.txt