-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello!
Currently trying to validate if my model is valid, but get the following build error:
================== C compilation error (from tcc): ==============
cc: /tmp/v_1000/engine.01JH8D1RC922BCM50KJN75V8Z0.tmp.c:19629: warning: implicit declaration of function 'IsModelValid'
cc: /home/link/Downloads/v_linux/v/thirdparty/tcc/lib/libgc.a: error: 'GC_noop1_ptr' defined twice
cc: tcc: error: undefined symbol 'IsModelValid'
=================================================================
(You can pass `-cg`, or `-show-c-output` as well, to print all the C error messages).
builder error:
==================
C error found. It should never happen, when compiling pure V code.
Is it an issue with V or bindings?
To reproduce:
mut model := r.load_model_from_mesh(r.gen_mesh_plane(10.0, 10.0, 3, 3))
r.is_model_valid(model)V doctor output (if needed)
|V full version |V 0.4.9 3953445.36154b8
|:-------------------|:-------------------
|OS |linux, Linux version 6.11.9-100.fc39.x86_64 (mockbuild@03ca63968fb540ceb027c83bbfe793be) (gcc (GCC) 13.3.1 20240913 (Red Hat 13.3.1-3), GNU ld version 2.40-14.fc39) #1 SMP PREEMPT_DYNAMIC Sun Nov 17 18:52:19 UTC 2024
|Processor |16 cpus, 64bit, little endian, AMD Ryzen 7 7800X3D 8-Core Processor
|Memory |2.1GB/61.9GB
| |
|V executable |/home/link/Downloads/v_linux/v/v
|V last modified time|2025-01-10 15:20:09
| |
|V home dir |OK, value: /home/link/Downloads/v_linux/v
|VMODULES |OK, value: /home/link/.vmodules
|VTMP |OK, value: /tmp/v_1000
|Current working dir |OK, value: /home/link/Projects/seraph/runtimes/wings/engine/src
| |
|Git version |git version 2.47.0
|V git status |weekly.2024.53-67-g36154b86
|.git/config present |true
| |
|cc version |cc (GCC) 13.3.1 20240913 (Red Hat 13.3.1-3)
|gcc version |gcc (GCC) 13.3.1 20240913 (Red Hat 13.3.1-3)
|clang version |N/A
|tcc version |tcc version 0.9.28rc 2024-07-31 HEAD@1cee0908 (x86_64 Linux)
|tcc git status |N/A
|emcc version |N/A
|glibc version |ldd (GNU libc) 2.38
Metadata
Metadata
Assignees
Labels
No labels