Open albertotono opened 2 years ago
Could you also kindly provide an example of running the code?
I tried with this icompile --run --sample near.glsl 200 Bezier.npz out
but I got the same error
Hi, thanks for your interest in our work! Can you try running icompile
with the --gdb
flag and send the output here?
Here's also a manual for icompile
in case useful: https://casual-effects.com/g3d/G3D10/build/manual/icompile.html
Thank you so much for your availability and quick reply, I ran icompile --gdb
after setting export g3d=/home/alberto/g3d
and this is the output.
Building sdf-explorerd
Computing dependencies
Compiled 2 files, 507 statements, 385 comment lines, 1 class, 12 routines of average length 42 statements
Executable written to build/sdf-explorerd
gdb -silent -x /home/alberto/Documents/sdf-explorer/.ice-tmp/sdf-explorer/gdb-commands.txt -cd data-files/ -q -f /home/alberto/Documents/sdf-explorer/build/sdf-explorerd
_______________________________________________________________________
Reading symbols from /home/alberto/Documents/sdf-explorer/build/sdf-explorerd...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after vfork from child process 329658]
[New Thread 0x7fffeea23700 (LWP 329660)]
[Detaching after vfork from child process 329661]
[Detaching after vfork from child process 329663]
[Thread 0x7fffeea23700 (LWP 329660) exited]
terminate called after throwing an instance of 'G3D::Image::Error'
Thread 1 "sdf-explorerd" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb)
Hi, sorry for the late reply- I had to travel a bunch this last month! :)
After some debugging I figured out the issue, which is that the Python script to download the Matcap images would sometimes download a corrupted image. If you delete data-files/matcaps
and run the download script on master it should work now.
There's also another issue- something related to LFS. You'll also have to run git lfs pull
.
After compiling it properly.
I am getting this message when I run
icompile --opt --run
Any suggestions? much appreciated.