Zylann/godot_heightmap_module

Can't compile on windows 10

spaghiajoeojo opened this issue · 2 comments

I'm trying to compile this module but i'm facing this error:

scons: Reading SConscript files ...
Detected MSVC compiler: amd64_x86
Compiled program architecture will be a 32 bit executable. (forcing bits=32).
YASM is necessary for WebM SIMD optimizations.
WebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported!
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] �[94mCompiling �[95m==> �[93mmodules\register_module_types.gen.cpp�[0m
register_module_types.gen.cpp
modules\register_module_types.gen.cpp(61): error C3861: 'register_godot_heightmap_module_types': identificatore non trovato
modules\register_module_types.gen.cpp(158): error C3861: 'unregister_godot_heightmap_module_types': identificatore non trovato
scons: *** [modules\register_module_types.gen.windows.tools.32.obj] Error 2
scons: building terminated because of errors.

Did you do the rename step described in the README?

IMPORTANT: if you clone the repo,
Git will create the folder as the repo name, "godot_heightmap_terrain".
But because Godot SCons scripts consider the folder name as the module's name,
it will generate wrong function calls, so you must rename the folder "hterrain".

I'm so dumb.. i didn't rechecked the readme so I just renamed the folder without "-master" but it stopped a while later.

Compiling ^^