Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6865711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:05:18+00:00 2026-05-27T03:05:18+00:00

I am trying to compile a project with MinGW that uses the fltk library.

  • 0

I am trying to compile a project with MinGW that uses the fltk library. Whenever it gets to the file using fltk, it tells me “cannot find -lfltk”.

I know it comes down to getting the .dll for the library and where I put it, but I am having a lot of trouble figuring this out. I found two files in the fltk folder named fltk.lib.dsp and fltkdll.dsp. I tried to just put these files in my system32 folder, but that did not work. I’m guessing thats because these are both VC++ 6 project files and not actually .dll and .lib files. I found this article:

http://www.fltk.org/articles.php?L372+I0+TFAQ+P1+Q

but I don’t understand what it is saying.

you will need to define the FL_DLL preprocessor symbol to get the correct linkage commands embedded within the FLTK header files.

What does that mean? Do I need to #define something before my includes? How does this sentence translate into code?

If I am not on the right track please tell me. Any help is appreciated.

edit:

Also, I have my PATH variable set to C:\MinGW/bin/. I tried setting the files in there, but that did not work either. I know I have to do something to these .dsp files, but don’t know what.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:05:19+00:00Added an answer on May 27, 2026 at 3:05 am

    the error message is not related to dll.
    it actually says that the linker library named ‘libfltk.a’ is not found.

    so you should have that library first for compiling your program.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While trying to compile my project, that uses some third party headers, with mingw
Using Qt Creator 2.4.1 (Windows/mingw), I'm trying to compile my project dynamically linking with
I'm trying to compile a project that uses both libjpeg and libpng. I know
I'm trying to compile a project that uses the GData objective-c framework. I've successfully
We're trying to compile a project with MinGW on the machine that has both
trying to compile old project that has many uses of shared_ptr with the vs2010.
I'm trying to compile a project on windows and it uses flex/bison. Compiling the
I am trying to compile my project on Snow Leopard using the same CMakeLists.txt
I am trying to compile a project to run on an ARM board that
Is anyone using libraw with mingw? I am trying to compile a program and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.