Welcome, Guest. Please login or register.

Author Topic: DSFML compiling problem  (Read 389 times)

0 Members and 1 Guest are viewing this topic.

pataoulta

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
DSFML compiling problem
« on: June 13, 2016, 07: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.

Jebbs

  • Sr. Member
  • ****
  • Posts: 357
  • DSFML Developer
    • View Profile
    • Email
Re: DSFML compiling problem
« Reply #1 on: June 26, 2016, 05:19:21 am »
What command did you use to build?
DSFML - SFML for the D Programming Language.

 

anything