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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:29:23+00:00 2026-06-07T13:29:23+00:00

I am using Eclipse CDT to try to compile a project with the Ogre

  • 0

I am using Eclipse CDT to try to compile a project with the Ogre 3D engine.
But somehow mingw is not able to find the static libraries I link against.

These are the error messages:

c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lzziplib_d

c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lzlib_d

c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lfreetype_d

…etc. The list goes on like this for each library.

As you can probably see, I already am aware of the (IMO) weird “lib” and “.a” additions the ld.exe seems to make automatically. The libraries are all named correctly. So for example, the “freetype_d” really is “libfreetype_d.a”.

I have also added the correct paths to the libraries before, like this:

-L”C:\Coding\Ogre\make-debug\sdk\lib\Debug\” -L”C:\Coding\Ogre\make-debug\sdk\lib\Debug\opt\”

And each library file is in one of these two folders.

This is my full command line as displayed by Eclipse CDT:

g++ -L”C:\Coding\Ogre\make-debug\sdk\lib\Debug\” -L”C:\Coding\Ogre\make-debug\sdk\lib\Debug\opt\” -o “OgreTestMinGW” ./BaseApplication.o ./LowLevelOgre.o -lzziplib_d -lzlib_d -lfreetype_d -lFreeImage_d -lOIS_d.dll -lOgreMainStatic_d -lOgrePagingStatic_d -lOgrePropertyStatic_d -lOgreRTShaderSystemStatic_d -lOgreTerrainStatic_d -lRenderSystem_GLStatic_d -lPlugin_ParticleFXStatic_d -lPlugin_PCZSceneManagerStatic_d -lPlugin_OctreeZoneStatic_d -lPlugin_OctreeSceneManagerStatic_d -lPlugin_CgProgramManagerStatic_d -lPlugin_BSPSceneManagerStatic_d

What am I missing here?

  • 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-07T13:29:24+00:00Added an answer on June 7, 2026 at 1:29 pm

    On Windows, when you add libraries path “-L” and click “File System” Eclipse gives you the path with “\”, change those to “/” and it shall work!

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

Sidebar

Related Questions

I try to using eclipse 3.7 cdt with visual c++ compiler to compile my
I'm setting up a C++ project, on Ubuntu x64, using Eclipse-CDT. I'm basically doing
I'm trying to use SendInput() on Windows but I'm building under MinGW using Eclipse
Using the in a C++ program, Eclipse CDT marks getopt_long as could not be
I'm using Eclipse CDT for a C project with custom makefiles, and I want
I'm writing a simple node.js addon in C++ using Eclipse CDT. The project has
I am using eclipse CDT for a massive C++ project that has been compiling
I am using Eclipse CDT with Cygwin GCC 3 as compiler. My project is
Now I am using eclipse CDT for my C/C++ Application, but there is problem
When I try to create a new class in Eclipse using the CDT plugin

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.