FLAMEGPU / FLAMEGPU2-model-template-cpp

Template for creating standalone FLAMEGPU2 models using the C++ (CUDA) interface
MIT License
4 stars 2 forks source link

Undefined type error when building in cuda.cuh #17

Open Merlotec opened 1 month ago

Merlotec commented 1 month ago

I get the error:

.../build/_deps/flamegpu2-src/include/flamegpu/detail/cuda.cuh(111): error: namespace "std" has no member "uint64_t"

when I follow the build according to the instructions. Managed to resolve the issue by including cstdint.

Robadob commented 1 month ago

Thanks for the report.

It appears this was patched 6 months ago over in https://github.com/FLAMEGPU/FLAMEGPU2/commit/fa07fa9fd80b425634dde21f6f5883ebdbffccfe

This template is pinned to the latest release which was back in January, hence it's behind. I'll make sure this is discussed with colleagues to see how high a priority it is to resolve.

You can set FLAMEGPU_VERSION within CMake to any commit hash or branch (e.g. master) of FLAMEGPU2 to override this.

Robadob commented 1 month ago

I'll make sure this is discussed with colleagues to see how high a priority it is to resolve.

On Tuesday it was agreed that we'll try and push out the next release around the 5th November, this and other dependent repositories should be updated soon after.