digitalmars.D.learn - Installing fltk4d
- AnIHiL (5/5) Nov 21 2007 Hello,
- Robert Fraser (3/11) Nov 21 2007 You need an import file (a ".di" file) (similar to a C/C++ ".h" file).
- AnIHiL (2/14) Nov 21 2007
- Ary Borenszweig (3/19) Nov 21 2007 You need to download the source, and add it to the include path. Check
- Dejan Lekic (3/3) Nov 24 2007 Where did you download it from? If it is GregoR's package, either ask
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 ?
Nov 21 2007
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.
Nov 21 2007
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.
Nov 21 2007
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:You need to download the source, and add it to the include path. Check the instructions below "Download": http://dronten.googlepages.com/fltk4dAnIHiL 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.
Nov 21 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:You need to download the source, and add it to the include path. Check the instructions below "Download": http://dronten.googlepages.com/fltk4dAnIHiL 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.
Nov 21 2007
I managed to build all examples from fltk4d page, but to do that I had to wrap every pragma link in 'all.d' in quotes: pragma(link, "fltk"); pragma(link, "fltk_images"); etc... AnIHiL Wrote: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:You need to download the source, and add it to the include path. Check the instructions below "Download": http://dronten.googlepages.com/fltk4dAnIHiL 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.
Nov 24 2007
Where did you download it from? If it is GregoR's package, either ask him directly on IRC , irc://irc.freenode.org/D , or via mail. He probably has forum for it somewhere on DSource...
Nov 24 2007