Cxx.jl and LLVM build errors

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Cxx.jl and LLVM build errors

Scott Jones
I followed the instructions in the Cxx.jl repository, but got errors building LLVM-svn (probably because it's now at 3.8 while 3.7 is moving to become a release soon?)

llvm[6]: Compiling macosx/Host.mm for Release+Asserts build
In file included from /j/julia/deps/llvm-svn/tools/lldb/source/Host/macosx/Host.mm:71:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:6:
/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:15: error: expected ';' after @class
@class NSArray<ObjectType>;
             
^
/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:16: error: cannot find protocol declaration for
     
'ObjectType'
@class NSArray<ObjectType>;


What can I do to get Cxx.jl working?
Thanks!


Reply | Threaded
Open this post in threaded view
|

Re: Cxx.jl and LLVM build errors

Isaiah Norton
Quick google points to this being a compiler / SDK version mismatch. (I don't use OS X so can't help much beyond that).

On Thu, Aug 20, 2015 at 10:58 AM, Scott Jones <[hidden email]> wrote:
I followed the instructions in the Cxx.jl repository, but got errors building LLVM-svn (probably because it's now at 3.8 while 3.7 is moving to become a release soon?)

llvm[6]: Compiling macosx/Host.mm for Release+Asserts build
In file included from /j/julia/deps/llvm-svn/tools/lldb/source/Host/macosx/Host.mm:71:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:6:
/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:15: error: expected ';' after @class
@class NSArray<ObjectType>;
             
^
/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:16: error: cannot find protocol declaration for
     
'ObjectType'
@class NSArray<ObjectType>;


What can I do to get Cxx.jl working?
Thanks!



Reply | Threaded
Open this post in threaded view
|

Re: Cxx.jl and LLVM build errors

Scott Jones
Ah, thanks, I'll try to update my XCode installation.

On Thursday, August 20, 2015 at 3:57:18 PM UTC-4, Isaiah wrote:
Quick google points to this being a compiler / SDK version mismatch. (I don't use OS X so can't help much beyond that).

On Thu, Aug 20, 2015 at 10:58 AM, Scott Jones <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="_bbCG9ucBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">scott.pa...@...> wrote:
I followed the instructions in the Cxx.jl repository, but got errors building LLVM-svn (probably because it's now at 3.8 while 3.7 is moving to become a release soon?)

llvm[6]: Compiling macosx/Host.mm for Release+Asserts build
In file included from /j/julia/deps/llvm-svn/tools/lldb/source/Host/macosx/Host.mm:71:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:6:
/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:15: error: expected ';' after @class
@class NSArray<ObjectType>;
             
^
/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:16: error: cannot find protocol declaration for
     
'ObjectType'
@class NSArray<ObjectType>;


What can I do to get Cxx.jl working?
Thanks!



Reply | Threaded
Open this post in threaded view
|

Re: Cxx.jl and LLVM build errors

Scott Jones
In reply to this post by Isaiah Norton
To anybody who's been trying to build julia as described to use Cxx.jl, the problem has been fixed, I'm now building with out any problems (with 3.7.0 release instead of SVN [3.8])

On Thursday, August 20, 2015 at 3:57:18 PM UTC-4, Isaiah wrote:
Quick google points to this being a compiler / SDK version mismatch. (I don't use OS X so can't help much beyond that).

On Thu, Aug 20, 2015 at 10:58 AM, Scott Jones <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="_bbCG9ucBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">scott.pa...@...> wrote:
I followed the instructions in the Cxx.jl repository, but got errors building LLVM-svn (probably because it's now at 3.8 while 3.7 is moving to become a release soon?)

llvm[6]: Compiling macosx/Host.mm for Release+Asserts build
In file included from /j/julia/deps/llvm-svn/tools/lldb/source/Host/macosx/Host.mm:71:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:6:
/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:15: error: expected ';' after @class
@class NSArray<ObjectType>;
             
^
/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:16: error: cannot find protocol declaration for
     
'ObjectType'
@class NSArray<ObjectType>;


What can I do to get Cxx.jl working?
Thanks!