Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using fltk4lua on windows #4

Open
MangelMaxime opened this issue Feb 10, 2016 · 2 comments
Open

Using fltk4lua on windows #4

MangelMaxime opened this issue Feb 10, 2016 · 2 comments

Comments

@MangelMaxime
Copy link

Hello,

I am trying to use fltk4lua on windows but I encounter a problem.

When I am trying to install fltk4lua I got the following error :

luarocks install fltk4lua FLTK_DIR=D:\_working\libs\FLTK

Installing https://luarocks.org/fltk4lua-0.1-1.src.rock...
Using https://luarocks.org/fltk4lua-0.1-1.src.rock... switching to 'build' mode

Error: Could not find library file for FLTK
  No file fltk.lib in D:\_working\libs\FLTK/lib
  No file fltk.dll in D:\_working\libs\FLTK/lib
  No file libfltk.dll in D:\_working\libs\FLTK/lib
You may have to install FLTK in your system and/or pass FLTK_DIR or FLTK_LIBDIR to the luarocks command.
Example: luarocks install fltk4lua FLTK_DIR=/usr/local

Press any key to close this window...

I successfully install FLTK, and tested it using fluid for example.
But I installed FLTK using gcc compiler via cygwin as it was shown on the documentation. And it's doesn't generate dll files.

Only this files for the inside of lib folder :
Picture lib

Is it possible to use another format that dll files under windows ?

I am asking it as 'from the FLTK documentation dll are a depreceted way of using FLTK'.

@MangelMaxime
Copy link
Author

Ok, I just saw on the wiki you manage to compile it using MinGW and Visual Studio Express. I will try Visual Studio tomorrow, as for me MinGW was doing some really weird things today.

@siffiejoe
Copy link
Owner

What is the file name of your FLTK library? Maybe LuaRocks just need some convincing to look for the correct files (although it is strange that LuaRocks seems to use the windows section of the rockspec -- it should behave like on unix). Anyway, I don't have cygwin installed, so I can't test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants