uno build --target=CMake
does not compile but gives this warning:
.# Building native target Running
– Configuring done – Generating done – Build files have been written to: /Users/bjorn.strand/dev/privat/app/Flare/.build/CMake-Debug Linking CXX executable Flare ld: warning: directory not found for option ‘-L/opt/local/lib’ Undefined symbols for architecture x86_64: "_strlcat_chk", referenced from: _SDL_strlcat_REAL in libXliPlatform.a(SDL_string.c.o) "**strlcpy_chk", referenced from: _SDL_strlcpy_REAL in libXliPlatform.a(SDL_string.c.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: **[Flare] Error 1 make:_ [CMakeFiles/Flare.dir/all] Error 2 make: * [all] Error 2 (exit code: 2)
: EUNKNOWN: Native target failed to build
After recompiling Xli and putting it in:
$ pwd /usr/share/uno/Packages/UnoCore/0.1.1009/Targets/CPlusPlus/Prebuilt/OSX/Xli/lib $ sudo ln -s /Users/username/dev/privat/Xli/lib/OSX
It compiles and runs okay.