I see this style of include alot
But everything I've tried makes the compiler say that lib3ds/mesh.h could not be found. How do I get it to work?#include <lib3ds/mesh.h>
I see this style of include alot
But everything I've tried makes the compiler say that lib3ds/mesh.h could not be found. How do I get it to work?#include <lib3ds/mesh.h>
Go into your include folder of your compiler (or system, or wherever it keeps its' standard libraries), create a folder "lib3ds", put mesh.h in it.
Sent from my iPadŽ
> Go into your include folder of your compiler
Don't do this - never touch the standard installation directories.
Most compilers allow you to specify additional search directories, and you should use this to tell the compiler the root directory of where the additional includes are stored.
Eg.
gcc -I/path/to/include foo.c
/path/to/include/lib3ds/mesh.h
is where the actual file is located.
Ah, sorry to be misunderstood.
That was less of me telling him what you should do and more me telling him how that include could exist. Adding search directories is probably a most likely guess, though.
Sent from my iPadŽ