paranim / paranim_examples

The Unlicense
10 stars 0 forks source link

cannot build voxel_explorer #1

Closed hamidb80 closed 2 years ago

hamidb80 commented 2 years ago

here's the log

C:\Users\HamidB80\nimcache\voxel_explorer_d\@mcore.nim.c: In function 'setMesh__core_1234':
C:\Users\HamidB80\nimcache\voxel_explorer_d\@mcore.nim.c:5262:60: error: incompatible types when assigning to 
type 'tyObject_Vec__U11IV6URq8cdTJpDrsgv9cQ' from type 'tyObject_Vec__9cGXqw9cMiCivT7wEaa9aambg'
 5262 |                                         vecs->data[T17_] = T16_;
      |                                                            ^~~~
Error: execution of an external compiler program 'gcc.exe -c  -w -fmax-errors=3 -mno-ms-bitfields -D_GLFW_WIN32   -IC:\Users\HamidB80\.choosenim\toolchains\nim-1.6.2\lib -IC:\Users\HamidB80\Documents\programming\nim\nim_days\paranim_examples\voxel_explorer\src -o C:\Users\HamidB80\nimcache\voxel_explorer_d\@mcore.nim.c.o C:\Users\HamidB80\nimcache\voxel_explorer_d\@mcore.nim.c' failed with exit code: 1

       Tip: 25 messages have been suppressed, use --verbose to show them.
     Error: Build failed for package: voxel_explorer
        ... Execution failed with exit code 1
        ... Command: C:\Users\HamidB80\.nimble\bin\nim.exe c --colors:on --noNimblePath -d:NimblePkgVersion=0.1.0 --path:C:\Users\HamidB80\.nimble\pkgs\paranim-0.11.0 --path:C:\Users\HamidB80\.nimble\pkgs\nimgl-1.3.2 --path:C:\Users\HamidB80\.nimble\pkgs\glm-1.1.1 --path:C:\Users\HamidB80\.nimble\pkgs\pararules-1.0.0 --path:C:\Users\HamidB80\.nimble\pkgs\stb_image-2.5 --path:C:\Users\HamidB80\.nimble\pkgs\paravim-0.18.2 --path:C:\Users\HamidB80\.nimble\pkgs\paranim-0.11.0 --path:C:\Users\HamidB80\.nimble\pkgs\nimgl-1.3.2 --path:C:\Users\HamidB80\.nimble\pkgs\glm-1.1.1 --path:C:\Users\HamidB80\.nimble\pkgs\pararules-1.0.0 --path:C:\Users\HamidB80\.nimble\pkgs\paratext-0.12.0 --path:C:\Users\HamidB80\.nimble\pkgs\illwill-0.2.0 --hints:off -o:C:\Users\HamidB80\Documents\programming\nim\nim_days\paranim_examples\voxel_explorer\voxel_explorer.exe C:\Users\HamidB80\Documents\programming\nim\nim_days\paranim_examples\voxel_explorer\src\voxel_explorer.nim

nim 1.6.2 windows 10 64bit

oakes commented 2 years ago

Yeah i noticed this...the errors only started on 1.6.2. It builds fine on 1.6.0. Not sure what changed.

oakes commented 2 years ago

OK i figured it out, try building the latest commit.

hamidb80 commented 2 years ago

thanks