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 8625175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:43:02+00:00 2026-06-12T07:43:02+00:00

For the last two years I have been using Java and NetBeans, where all

  • 0

For the last two years I have been using Java and NetBeans, where all I need to do to add a new third party library to my project is throw in the .jar file and NetBeans does the rest.

Recently I have switch to C++ and Visual Studio and I am having a really hard time getting a project to compile using OpenGL, GLUT and GLEW due to ‘Missing reference’ errors.

Some tutorials tell me I need to download the projects for GLUT/GLEW and run them (that didn’t work), some tutorials tell me I need to add a .dll file to my Win32 folder, others say just put the header files in the same directory as your project and some say I need to install these libraries in to Visual Studio itself, not just to my project.

None of these approaches have worked thus far.

All I want is for this one project to use these libraries. This is throwing a major spanner in the works for me at the moment, any help would be appreciated.

  • 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-06-12T07:43:04+00:00Added an answer on June 12, 2026 at 7:43 am

    Sorry, I don’t have an easy answer for you. I’ve been using OpenGL on Windows for years, and it can be a pain.

    MS doesn’t even (really) support OpenGL, the headers that come with Windows are the old 1.x ones – and they have no plans on changing that (they want to you use DX).

    So, I would start small.

    First, get a basically empty Win32 console “Hello World” app running.

    Then, just add one component, like Glut.

    Then, do the same – keeping it compiling / linking – incrementally add other components.

    Wherever they tell you to put headers, libraries, DLLs, etc, it needs to be reflected in your project file. So:

    • add the location of the header files to “C/C++->Additional Include Directories”
    • add the .lib files to the “Linker->Input->Additional Dependencies”
    • (it still won’t find them so) add the location of the .lib files to “Linker->General->Additional Library Directories”

    With all that in place it should compile and link, but may not run still because it can’t find the DLLs (that go along with the .lib files).

    The shortest path to getting running might just be to dump the DLLs in the Windows/System32 folder. But in the long run that can be problematic as other apps may overwrite it (or see you as overwriting theirs).

    What I do with specific DLLs is just load them explicitly in my application so I know for sure what DLL I’m getting (I don’t do much Windows-specific GL, but when I did, I had my own \OpenGL directory with the versions of .h files, libs and DLLs I wanted).

    Good Luck!

    Oh, LoadLibrary() will load a DLL, etc.

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

Sidebar

Related Questions

I have been using Castle MonoRail for the last two years, but in a
I've been using ASP.NET (C#) for the past two years. I have learned so
I have been doing Windows programming in .Net since last two years. Now I
I'm new to Python (I have been programming in Java for multiple years now
I'm an experienced Java programmer that for the last two years have programmed for
For the last few years I have been using Firefox, Firebug, and the Web
I have been working with Java for the last 3 years. I think I'm
Since last 5 years i have been working with SVN and i am new
I have been googling and stackoverflowing for the last two hours and couldn't find
I've been professionally working with Java application servers for five years, but I have

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.