On Friday, 10 July 2015 at 03:11:25 UTC, Mike Parker wrote:
On Friday, 10 July 2015 at 00:53:38 UTC, codenstuff wrote:

The path is ${HOME}/d_apps/steering/steering/game_object.d
[...]

First, because you are importing sterring.game_object, then you can't pass -I/home/real/d_apps/steering to the compiler -- this will cause it to look for /home/real/d_apps/steering/sterring/game_object.d. You have to pass the parent of the steering directory, i.e. -I/home real/d_apps. Then it will be able to find the import.


He said "The path is ${HOME}/d_apps/steering/steering/game_object.d", so "-I/home/real/d_apps/steering" should be correct.

Reply via email to