Small bug in unit_advancements_aspect.hpp

Discussion of all aspects of the game engine, including development of new and existing features.

Moderator: Forum Moderators

Post Reply
forceOfHabit
Posts: 8
Joined: May 5th, 2014, 7:16 pm

Small bug in unit_advancements_aspect.hpp

Post by forceOfHabit »

I'm new to these fora, and I didn't see anywhere to report a bug, so I stuck it here. If this isn't the right place, feel free to point me in the right direction.

Anyway, I'm pretty sure line 21 of unit_advancements_aspect.hpp should be changed from

#include "lua/lualib.h"

to

#include "../../lua/lualib.h"

I found this when trying to compile the stand alone version of ai/attack_prediction.cpp.
Max
Posts: 1449
Joined: April 13th, 2008, 12:41 am

Re: Small bug in unit_advancements_aspect.hpp

Post by Max »

you need to tell your compiler to consider /src as include directory.
Post Reply