kripken / BananaBread

BananaBread is a C++ 3D game engine that runs on the web using JavaScript+WebGL+HTML
1.38k stars 346 forks source link

issue in Ubuntu 12.04 64bit #36

Closed kalwalt closed 11 years ago

kalwalt commented 11 years ago

i'm tryng to build the web project but i get this error https://gist.github.com/kalwalt/5434625 . i'm new to emscripten. I'don't understand why i get this error. I mworking in Ubuntu 12.04 64bit. i grabbed the latest emscripten from github. LLvm and clang is 3.2. but i have some difficulties for this in the sense i get errors if i haven't installed also the 3.0 version of clang and llvm. i also force ./emconfigure to llvm 3.2 in this way:

[~/bin/emscripten (master)]$ export LLVM_ADD_VERSION="3.2"

thanks.

kripken commented 11 years ago

It's failing to call LLVM stuff. Check the paths in ~/.emscripten.

kalwalt commented 11 years ago

finally i solved this issue. Primarly happens because i had installed clan3.2 and in llvm3.2 in the same location of ver. 3.0 (/usr/bin) installed from source in /usr/local/bin solved this. and i realized after installing it, that was also binaries as sid here: http://stackoverflow.com/questions/14902514/installing-emscripten-on-ubuntu Also it is very important to set the pat of crunch i added it in ~/.emscripten

CRUNCH = os.path.expanduser(os.getenv('CRUNCH') or '/home/walter/crunch/branches/linux64/crnlib/crunch') thanks. i close this issue.

it's great to see the game in the browser!