On 03/06/2014 at 10:45, xxxxxxxx wrote:
I know what you mean, Scott.
When I started programming, almost 30 years ago, I started out with BASIC. It was quite simple.
Then I started coding in assembler. It was waaaaay more complex but after an year I was coding it almost as easily as I did with BASIC.
Then I started learning C. It was complex at first but then it became simpler.
Going from C to COFFEE was very, very simple.
And going from COFFEE to python was a little strange at first but now I love python more and more each day (still learning it).
I know going from python and COFFEE to C++ will be a little daunting at first, but I also know that some stuff can only be made with C++ (I hope python gets some updates!!! ;-) )
Coding in python is so much faster and simple. Typeless variables, not having to worry with casting all functions, not having to deal with all the pointers, etc.
Also, with python I just have to type the code and run Cinema4D and it is ready for testing (with COFFEE I can even run "Reload COFFEE plugins" and I don't even have to leave and restart Cinema 4D).
Having to deal with a complex API, having to compile (and waaaaaait for it to end compiling) each time I make the slightest modification is a pain.
But... well... I guess I just have to bite the bullet ;-)
Anyway, I followed the tutorial and I still get the error :-(
This is what I get:
CompileC /Applications/(build)/_api.build/Debug/_api.build/Objects-normal/x86_64/c4d_filterplugin.o /Applications/Maxon/Cinema4D\ 14\ -\ DEV/resource/_api/c4d_filterplugin.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd "/Applications/Maxon/Cinema4D 14 - DEV/resource/_api_lib"
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wmissing-braces -Wparentheses -Wno-switch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DC4D_COCOA -DMAC_OS_X_VERSION_MIN_REQUIRED=1060 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Wno-invalid-offsetof -mmacosx-version-min=10.6 -g -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -I/Applications/(build)/_api.build/Debug/_api.build/_api_debug.hmap -I../../resource/_api -I../../resource/_api/c4d_customgui -I../../resource/_api/c4d_gv -I../../resource/_api/c4d_libs -I../../resource/_api/c4d_misc -I../../resource/_api/c4d_preview -I../../resource/_api/c4d_scaling -I../../resource/_api/c4d_misc/datastructures -I../../resource/_api/c4d_misc/docs -I../../resource/_api/c4d_misc/memory -I../../resource/_api/c4d_misc/docs/references -I../../resource/res -I../../resource/res/description -I../../resource/res/dialogs -I../../resource/res/menus -I../../resource/res/menus_bench -I../../resource/res/menus_lic -I../../resource/res/menus_net -I/Applications/(build)/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/(build)/_api.build/Debug/_api.build/DerivedSources/x86_64 -I/Applications/(build)/_api.build/Debug/_api.build/DerivedSources -Wno-logical-op-parentheses -F/Applications/(build)/Debug -funsafe-math-optimizations -ffinite-math-only -fno-signaling-nans -fno-rounding-math -fcx-limited-range -ftrapping-math -include /Applications/Maxon/Cinema4D\ 14\ -\ DEV/resource/_api_lib/../../resource/_api/ge_mac_debug_flags.h -MMD -MT dependencies -MF /Applications/(build)/_api.build/Debug/_api.build/Objects-normal/x86_64/c4d_filterplugin.d --serialize-diagnostics /Applications/(build)/_api.build/Debug/_api.build/Objects-normal/x86_64/c4d_filterplugin.dia -c /Applications/Maxon/Cinema4D\ 14\ -\ DEV/resource/_api/c4d_filterplugin.cpp -o /Applications/(build)/_api.build/Debug/_api.build/Objects-normal/x86_64/c4d_filterplugin.o
clang: error: unknown argument: '-fcx-limited-range' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
I even re-installed Xcode and I still get this error when I choose Build.