Page 1 of 1

Errors when building via Xcode 5

Posted: Thu Jul 10, 2014 1:09 pm
by Ocean
When building livecode-develop, the following errors occur:

Code: Select all

livecode-develop/libgraphics/src/graphics-internal.h:21:10: 'SkCanvas.h' file not found
livecode-develop/_cache/mac/Debug/openssl.build/Script-4DBF57AF18019F4E009CAB2E.sh: line 3: livecode-develop/thirdparty/libopenssl/../../util/weak_stub_maker.pl: No such file or directory
When building livecode-refactor-syntax_unicode, the following error occurs:

Code: Select all

livecode-refactor-syntax_unicode/revbrowser/src/cefprocess.cpp
Nevertheless, no one has posted about such errors in these forums.

Is no one encountering errors when building?

Re: Errors when building via Xcode 5

Posted: Thu Jul 10, 2014 6:02 pm
by mwieder
SkCanvas.h is in livecode/thirdparty/libskia/include/core.
I've been building on linux, and the paths are correct in the makefiles.
You may have to add that path to your XCode config.

Re: Errors when building via Xcode 5

Posted: Thu Jul 10, 2014 11:26 pm
by monte
Update submodules?

Re: Errors when building via Xcode 5

Posted: Fri Jul 11, 2014 10:09 am
by Ocean
monte wrote:Update submodules?
Here's what I ran:

Code: Select all

git clone -b develop --single-branch https://github.com/runrev/livecode.git
git submodule init
git submodule update
Here is the resulting error message when building in Xcode 5:

Code: Select all

/Users/rg/livecode-git/livecode/engine/src/srvspec.cpp:248:15: Use of undeclared identifier 'strndup'
Any ideas?