kripken / ammo.js

Direct port of the Bullet physics engine to JavaScript using Emscripten
Other
4.14k stars 558 forks source link

Can't checkout and build #18

Open kjmph opened 12 years ago

kjmph commented 12 years ago

It seems like I should be able to checkout and build. This is Ubuntu x86_64 11.10, using Clang 3.0 from here: http://llvm.org/releases/download.html

Stage 2: Build bindings

emmaken.py: /home/USER/projects/emscripten/tools/emmaken.py -I../src -include ../../root.h bindings.cpp -c -o bindings.bc Running: /home/USER/projects/clang+llvm-3.0-x86_64-linux-Ubuntu-11_10/bin/clang++ -I../src -include ../../root.h bindings.cpp -c -o bindings.bc -m32 -Ui386 -Ux86_64 -U_\ _i386 -Ux86_64 -USSE -USSE2 -UMMX -UX87_DOUBLE_ROUNDING -UHAVE_GCC_ASM_FOR_X87 -DEMSCRIPTEN -USTRICT_ANSI -nostdinc -I/home/USER/projects/emscripten/system/in\ clude -I/home/USER/projects/emscripten/system/include/bsd -I/home/USER/projects/emscripten/system/include/libc -I/home/USER/projects/emscripten/system/include/libcxx -I/home/US\ ER/projects/emscripten/system/include/gfx -I/home/USER/projects/emscripten/system/include/net -I/home/USER/projects/emscripten/system/include/SDL -UAPPLE__ -emit-llvm -c (None, None)

Stage 3: Make

/bin/bash ./config.status --recheck running CONFIG_SHELL=/bin/bash /bin/bash ../configure --disable-demos --disable-dependency-tracking CC=/home/USER/projects/emscripten/tools/emmaken.py CFLAGS=-g CXX=/home/USER\ /projects/emscripten/tools/emmaken.py --no-create --no-recursion checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... /home/USER/projects/emscripten/tools/emmaken.py checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. make: *\ [config.status] Error 77

kripken commented 12 years ago

There should be a config.log that configure generates (mentioned in the line before last there), can you paste that? It should be in bullet/build I think (if not, search for config.log).