Installing fltk4d
AnIHiL
aanihill at hotmail.com
Wed Nov 21 08:09:36 PST 2007
I don't have now problem with:
main.d(1): module all cannot read file 'fltk4d\all.d'
I just change FLAGS in file sc.ini to:
DFLAGS="-I%@P%\..\src\phobos" -Id:\d\dmd\import
But now I have another problem :)
d:\d\dmd\import\fltk4d\all.d(341): pragma link string expected for link, not '1'
I don't understand what I should do know.
PS:
It's my first program in D maybe that's why i have so many problems.
Ary Borenszweig Wrote:
> AnIHiL wrote:
> > Where I could find ".di" file ? I already checked all files that I have but none of them have .di extension.
> >
> > Robert Fraser Wrote:
> >
> >> AnIHiL wrote:
> >>> Hello,
> >>>
> >>> I download libraries fltk4d-win-1.1.x-r5953.zip and try to use it in my program but all the time i have:
> >>> main.d(1): module all cannot read file 'fltk4d\all.d'
> >>>
> >>> I know that i should link libraries to my project but I don't know how to do it. I have files: fltk.lib and fltk.dll. I use Eclipse with Descent plugin. I already try to put fltk.lib file in dmd\lib folder but this doesn't work.
> >>>
> >>> Anyone can help me ?
> >> You need an import file (a ".di" file) (similar to a C/C++ ".h" file).
> >> Add this to the include path when building.
> >
>
> You need to download the source, and add it to the include path. Check
> the instructions below "Download": http://dronten.googlepages.com/fltk4d
More information about the Digitalmars-d-learn
mailing list