abyss7 / chromium-wm

Automatically exported from code.google.com/p/chromium-wm
1 stars 0 forks source link

Clang compiler errors #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We need documentation or something to work around this. Or did I do something 
wrong?

I did a gclient sync the same way I would for chromium. And then did gclient 
runhooks. Finally tried to build with ninja, and I got this:

error: unable to load plugin 
'/usr/local/google/home/danakj/s/wm/src/tools/clang/scripts/../../../third_party
/llvm-build/Release+Asserts/lib/libFindBadConstructs.so': 
'/usr/local/google/home/danakj/s/wm/src/tools/clang/scripts/../../../third_party
/llvm-build/Release+Asserts/lib/libFindBadConstructs.so: cannot open shared 
object file: No such file or directory'

Note that I use clang to compile chromium. By symlinking third_party/llvm-build 
to my chromium dir's third_party I got this to work, but that isn't a great 
solution. I wonder what I could do differently.

Does anyone else use clang?

Original issue reported on code.google.com by danakj@chromium.org on 3 Mar 2013 at 11:41

GoogleCodeExporter commented 9 years ago
Ooh solved it. Need to run tools/clang/scripts/update.sh

Will update docs.

Original comment by danakj@chromium.org on 3 Mar 2013 at 11:46