- Updated Friday, January 9th 2015 @ 01:28:19
in C++, there are 2 ways to include files: #include <test.h> and #include "test.h"
How these implementations behave, is compiler dependent. On the server here, currently, the <> form does only search on the system and "" does only search in the local path.
With -I. (thats a big i) both notations are equivalent, which usually is the behaviour if you have any kind of auto-generated build files on your system. If it's not an in-source-build or not it could also be -I
Adding that on the server too would not break any bots and make reliable local testing of the bots easier.
- Created Friday, January 9th 2015 @ 08:56:58
Are you sure you can just add the '-I'? Because the only thing I've found is this:
-I dir Add the directory dir to the list of directories to be searched for header files. Directories named by '-I' are searched before the standard system include directories.
- Created Friday, January 9th 2015 @ 12:36:40
I originally assumed in-source build and my proposal was -I
where dot means the current directory. I fiddled around with the engine a bit and it looks like the sources are under src/ relative to your cwd when you build. So it should be -Isrc
- Created Friday, January 9th 2015 @ 13:03:23
Ok, I added the flag. Could you test it for me by uploading a new bot?
- Created Friday, January 9th 2015 @ 14:06:15
I tested it and it works fine now, thanks a lot. This discussion board lacks the possibility to close threads or mark them as resolved or rejected :D
- Created Friday, January 9th 2015 @ 14:12:29
That's actually a very good idea