territory icon indicating copy to clipboard operation
territory copied to clipboard

Enumerate libnoise as a dependancy

Open Ai221 opened this issue 6 years ago • 2 comments

Libnoise should be enumerated as a dependency.

Additionally, on Ubuntu 19.04, libnoise is at libnoise/noise.h instead of noise/noise.h

Anyway, good luck on your project!

Ai221 avatar Oct 28 '19 20:10 Ai221

Thanks! Definitely forgot that. I have added the dependency in the listing. Any idea on how to use compiler directives to check for the Ubuntu version? If not, I'll add a note.

weigert avatar Oct 28 '19 21:10 weigert

Well, I suppose you could just -I/usr/include/libnoise as well as -I/usr/include/noise and then just #include <noise.h>

You might want to look into using CMake to manage the building process instead. I also notice that you can't do multi-core building. (e.g. make -j4 )

Ai221 avatar Oct 28 '19 23:10 Ai221