BradLarson / GPUImage2

GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing.
BSD 3-Clause "New" or "Revised" License
4.85k stars 605 forks source link

Compile error on Ubuntu 16.04.2 x86_64 #230

Open anlijun opened 6 years ago

anlijun commented 6 years ago

Compile error

$ swift --version Swift version 4.0.3 (swift-4.0.3-RELEASE) Target: x86_64-unknown-linux-gnu

$ ./compile-LinuxGL.sh

:0: error: module 'SwiftGlibc' in AST file '/tmp/org.llvm.clang.ffff/ModuleCache/18MN48HZSQN76/SwiftGlibc-2AFGMHWHXQ37Q.pcm' (imported by AST file '/tmp/v4lfuncs-1a17a0.pch') is not defined in any loaded module map file; maybe you need to load '/home/ffff/toolchain/usr/lib/swift/linux/x86_64/glibc.modulemap'? :0: note: imported by '/tmp/v4lfuncs-1a17a0.pch' :0: error: clang importer creation failed :0: error: module 'SwiftGlibc' in AST file '/tmp/org.llvm.clang.ffff/ModuleCache/18MN48HZSQN76/SwiftGlibc-2AFGMHWHXQ37Q.pcm' (imported by AST file '/tmp/v4lfuncs-f2bbea.pch') is not defined in any loaded module map file; maybe you need to load '/home/ffff/toolchain/usr/lib/swift/linux/x86_64/glibc.modulemap'? :0: note: imported by '/tmp/v4lfuncs-f2bbea.pch' :0: error: clang importer creation failed environment: os: Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-98-generic x86_64) swift: Swift version 4.0.3 (swift-4.0.3-RELEASE)
BradLarson commented 6 years ago

Yes, that build script is quite out of date. I have a new version that I've been working on using the Swift Package Manager, but haven't committed that yet.

anlijun commented 6 years ago

Waiting for you... Is there an estimated date?