Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pataoulta

Pages: [1]
1
D / DSFML compiling problem
« on: June 13, 2016, 09:14:35 pm »
Hello! Yes, I know this is probably a very basic issue. Although I've been very curious as in why does this.. not work? I've been bugging myself for an entire day, even if it may sound funny.. However I managed to compile this before, but it doesn't seem to work now, for some reason..

Basically I built DSFML and DSFMLC from source. Then I proceeded to build an example, app.d..
It imports dsfml.graphics. Then it simply displays a green face with two blue eyes and a red smile.

However, for some reason it won't compile now. It tells me the following error.
"app.d(3):Error: module graphics is in file "dsfml\graphics.d" which cannot be read
import path[0] = DSFML\src\
import path[1] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[2] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
"

The code (app.d)
(click to show/hide)

The arguments:
(click to show/hide)

I also put DSFMLC\lib, DSFML\lib and DSFML\src (DSFML and DSFMLC are located on my C:) into my PATH.
Can anyone please help? I'd appreciate it.

Pages: [1]