Giter Site home page Giter Site logo

humu2009 / tinygl.js Goto Github PK

View Code? Open in Web Editor NEW
50.0 7.0 6.0 1.29 MB

Implementation of OpenGL 1.1 compatible API in JavaScript.

License: Other

C 65.99% C++ 0.84% JavaScript 29.54% Shell 2.43% Makefile 1.21%
3d graphics javascript opengl tinygl emscripten

tinygl.js's People

Contributors

humu2009 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tinygl.js's Issues

Error while converting TinyGL to tinugl.js

emcc -O3 -I ./TinyGL/src/ -I ./TinyGL/include/ -D NDEBUG TinyGL/src/api.c TinyGL/src/list.c TinyGL/src/vertex.c TinyGL/src/init.c TinyGL/src/matrix.c TinyGL/src/texture.c TinyGL/src/misc.c TinyGL/src/clear.c TinyGL/src/light.c TinyGL/src/query.c TinyGL/src/clip.c TinyGL/src/select.c TinyGL/src/get.c TinyGL/src/error.c TinyGL/src/zbuffer.c TinyGL/src/zline.c TinyGL/src/ztriangle.c TinyGL/src/zmath.c TinyGL/src/image_util.c TinyGL/src/oscontext.c TinyGL/src/msghandling.c TinyGL/src/arrays.c TinyGL/src/specbuf.c TinyGL/src/memory.c -o js/tinygl.o

while compiling according to your compiling instruction i got this error

No such file or directory
Traceback (most recent call last):
File "/users/extusr/akash_2019/emsdk/emscripten/1.38.31/emcc.py", line 3308, in
sys.exit(run(sys.argv))
File "/users/extusr/akash_2019/emsdk/emscripten/1.38.31/emcc.py", line 1752, in run
shared.Building.link_to_object(linker_inputs, specified_target)
File "/users/extusr/akash_2019/emsdk/emscripten/1.38.31/tools/shared.py", line 1790, in link_to_object
Building.link(linker_inputs, target)
File "/users/extusr/akash_2019/emsdk/emscripten/1.38.31/tools/shared.py", line 2053, in link
Building.link_llvm(link_args, target)
File "/users/extusr/akash_2019/emsdk/emscripten/1.38.31/tools/shared.py", line 1797, in link_llvm
output = run_process(cmd, stdout=PIPE).stdout
File "/users/extusr/akash_2019/emsdk/emscripten/1.38.31/tools/shared.py", line 174, in run_process
result.check_returncode()
File "/users/extusr/akash_2019/emsdk/emscripten/1.38.31/tools/shared.py", line 154, in check_returncode
raise Py2CalledProcessError(returncode=self.returncode, cmd=self.args, output=self.stdout, stderr=self.stderr)
tools.shared.Py2CalledProcessError: Command '['/users/extusr/akash_2019/emsdk/clang/e1.38.31_64bit/llvm-link', '/tmp/emscripten_temp_2HBOSR/api_0_24.o', '/tmp/emscripten_temp_2HBOSR/list_1_25.o', '/tmp/emscripten_temp_2HBOSR/vertex_2_26.o', '/tmp/emscripten_temp_2HBOSR/init_3_27.o', '/tmp/emscripten_temp_2HBOSR/matrix_4_28.o', '/tmp/emscripten_temp_2HBOSR/texture_5_29.o', '/tmp/emscripten_temp_2HBOSR/misc_6_30.o', '/tmp/emscripten_temp_2HBOSR/clear_7_31.o', '/tmp/emscripten_temp_2HBOSR/light_8_32.o', '/tmp/emscripten_temp_2HBOSR/query_9_33.o', '/tmp/emscripten_temp_2HBOSR/clip_10_34.o', '/tmp/emscripten_temp_2HBOSR/select_11_35.o', '/tmp/emscripten_temp_2HBOSR/get_12_36.o', '/tmp/emscripten_temp_2HBOSR/error_13_37.o', '/tmp/emscripten_temp_2HBOSR/zbuffer_14_38.o', '/tmp/emscripten_temp_2HBOSR/zline_15_39.o', '/tmp/emscripten_temp_2HBOSR/ztriangle_16_40.o', '/tmp/emscripten_temp_2HBOSR/zmath_17_41.o', '/tmp/emscripten_temp_2HBOSR/image_util_18_42.o', '/tmp/emscripten_temp_2HBOSR/oscontext_19_43.o', '/tmp/emscripten_temp_2HBOSR/msghandling_20_44.o', '/tmp/emscripten_temp_2HBOSR/arrays_21_45.o', '/tmp/emscripten_temp_2HBOSR/specbuf_22_46.o', '/tmp/emscripten_temp_2HBOSR/memory_23_47.o', '-o', 'js/tinygl.o']' returned non-zero exit status 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.