Hey! raylib forum is closing!

After a year with not much movement in the forum I decided to close it.

The cost of maintaining the hosting is a bit high for the usage of the platform, updating the forum and managing it is also a bit cumbersome and the truth is that I'm already trying to maintain multiple other networks pretty more active than this forum.

I'll recommend you to move to the other raylib networks:

- For a forum style, use Reddit: https://www.reddit.com/r/raylib/
- For direct messaging and questions, use Discord: https://discord.gg/VkzNHUE
- To report issues, use GitHub: https://github.com/raysan5/raylib

- Also, remember you can contact me personally on Twitter: https://twitter.com/raysan5 or directly by mail to ray[at]raylib.com

If you feel generous, you can also contribute to the project on my Patreon: https://www.patreon.com/raylib

Thanks to you all for joining the project and help to improve it with your questions. Keep it up! :)

Best Regards,

Ray

PD. Closing will be effective by October 31th.

gcc - undefined reference to xxxxx

Hello!

This is my first attempt to use Raylib (I really enjoyed how this library is made), but when I try to compile the .c file with gcc (mingw) I get undefined references like "raylib-2.0.0-Win64-mingw\lib/libraylib.a(wgl_context.c.obj):wgl_context.c:(.text+0x1026): undefined reference to `__imp_DescribePixelFormat'".

I'm using this line command: gcc -o simple simple_game.c -IC:\Users\Cesar\Downloads\raylib-2.0.0-Win64-mingw\include -LC:\Users\Cesar\Downloads\raylib-2.0.0-Win64-mingw\lib -lraylib

Any tips on how can I fix that? Thank you!

Comments

  • Hi Hyperbolic!

    You need to link with Windows OS required libraries: -lopengl32 -lgdi32 -std=c99
  • Yay!! Thank you very much!! 😀
Sign In or Register to comment.