Open ThorvaldAagaard opened 1 year ago
Check #126
I just used Xcode
I just used Xcode
How? I have solved the problem following ZiggerZZ, but interested in using Xcode if there comes an update
This is what I did as I recall:
Run Xcode, choose Library template, give it a name dds, Framework None, Type Dynamic, click Create. Click Add files, check copy files if needed, add the include and src directories from the dds source, leave Add to targets checked. Remove the makefiles. Build then worked, even without fixing up sprintf
Thx, I will try that, I assume Xcode 15?
Yes Xcode 15.2 currently. Need to look at the multi-threading.
I found that defining the DDS_THREADS_GCD preprocessor macro is enough to get threading working
I used brew install boost
, and replaced the CC_BOOST location in Makefiles/Makefile_Mac_clang_shared
with the installed path. In addition, I remove the warning flags.
Everything worked after I did these steps. Hope it can help you.
When executing
brew reinstall gcc --without-multilib
I got this response: Error: invalid option: --without-multilib
Well this is probably only a performance problem
I went on and copied the makefile for Mac clang, and now hit the next problem as
sprint
is deprecated.After replacing sprint with snprintf (second parameter is now a length of first parameter) the compile error went away, and I hit the next problem.
Anyone got a compiled version for the M1-processor?