-4

I am trying to compile with code::blocks IDE using glfw(OPENGEL) but it is not successful.

My image

After reading the source code, I guess the problem is libgdi32.a.

Is there be other solutions?

I've crawled through other sites, but I do not get answers.

My image

My image Add some messages.

leafYet
  • 1
  • 3

1 Answers1

0

These are linker errors, not compiler errors. Your code has compiled successfully but it contains calls to the Win32 GDI functions CreateDIBSection, CreateBitmap etc. The linker can't create the final executable (or library) because it doesn't have the library containing those functions.

You need to check your linker's documentation and find out how to tell it where the libgdi32.a file is (assuming that you have that file in the first place).

Chris Long
  • 1,299
  • 7
  • 15