Open nelsonleemax opened 3 years ago
We compile that file with -DHAVE_BUILTIN_SINCOS
to avoid the need for that header.
Thanks for the explanation, but I thought the tests were included to help naive users like me, and I did not see that compilation information when I tried to use it.
My purpose for trying was another problem that I submitted yesterday to the github "help" label, with title "animation / glSwapBuffers". My submission screen still shows the text, and a faded out green inactive "Submit new issue" button, and the text is still editable. I tried to look on the github issues under "help" this morning, and it was not listed, although the one you just responded to was. Was it received, or should I submit it again?
On Tue, Dec 29, 2020 at 2:08 AM Sam Clegg notifications@github.com wrote:
We compile that file with -DHAVE_BUILTIN_SINCOS to avoid the need for that header.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/emscripten-core/emscripten/issues/13125#issuecomment-752021336, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM2MJEIMS2KGGJ4J35YX3MDSXGTCNANCNFSM4VMPXM6A .
I did resubmit the animation / glSwapBuffer issue, and then found that it was already there, so I added a comment to the first one pointing to the second one. I think my problem was that I thought I was assigning a label to the issue, but in fact I was not, so I was searching in the wrong label for it. There is no need to respond to the query above.
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 30 days. Feel free to re-open at any time if this issue is still relevant.
The file "sincos.h" does not appear in the tests directory, but is needed by hello_world_gles_deriv.c.
./emcc tests/hello_world_gles_deriv.c -o hello_world_gles_deriv.html tests/hello_world_gles_deriv.c:58:10: fatal error: 'sincos.h' file not found
include "sincos.h"
1 error generated. emcc: error: '/home/max/Archimedes/emsdk/upstream/bin/clang -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -isystem/home/max/Archimedes/emsdk/upstream/emscripten/system/include/SDL -target wasm32-unknown-emscripten -DEMSCRIPTEN_major=2 -DEMSCRIPTEN_minor=0 -DEMSCRIPTEN_tiny__=11 -D_LIBCPP_ABI_VERSION=2 -Dunix -Dunix -Dunix -Werror=implicit-function-declaration --sysroot=/home/max/Archimedes/emsdk/upstream/emscripten/system -Xclang -isystem/home/max/Archimedes/emsdk/upstream/emscripten/cache/wasm/include -Xclang -iwithsysroot/include/compat -Xclang -iwithsysroot/include/libc -Xclang -iwithsysroot/lib/libc/musl/arch/emscripten -Xclang -iwithsysroot/local/include -Xclang -iwithsysroot/include/SSE -Xclang -iwithsysroot/include/neon -Xclang -iwithsysroot/lib/compiler-rt/include -Xclang -iwithsysroot/lib/libunwind/include -o hello_world_gles_deriv.html tests/hello_world_gles_deriv.c -c -o /tmp/emscripten_temp_v_c10jxq/hello_world_gles_deriv_0.o' failed (1)