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.

need help to configure raylib using geany/code blocks

hello guys!

Need some help to configure raylib on geany or code blocks. I installed raylib on Solus Os (linux) and when I trying to run the code I getting a lot of "undefined reference to". How can I fix this?

Thank you in advance!

Comments

  • Hi swipis! Welcome to the forum!

    Basically, you need to configure libraries path and libraries linkage properly, here a small guide a user created: https://github.com/raysan5/raylib/wiki/Use-raylib-with-Code-Blocks

    Let me know if it works! :)
  • Thank you raysan5 but I have no idea how to do this on linux...
  • now I getting cannot find -lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm. this mean that I dont have all these installed?
  • Ok I tried to configure raylib on my linux system but no luck (if anyone will figured out how to configure please let me know!). But for now I found raylib-go and I can play around with raylib using golang. I hope in near future raysan5 will make some editor (for linux) like he did with notepad++.
  • Hi swipis, it seems the problem is paths configuration... are you using code-blocks?
  • Hey raysan5, I have code-blocks / Geany. But for other projects I using Visual Studio Code.
  • edited January 19
    Hi, I've done this before with the Makefiles. Following https://github.com/raysan5/raylib/wiki/Compile-for-GNU-Linux works with some changes. Solus uses slightly different names and install locations than Debian for it's development packages. Basically, anywhere the raylib wiki calls for random-package-dev, look for similiarly named packages ending with -devel. The package names themselves don't match up exactly but I picked through and found what I needed. I don't currently have a Solus setup but if I remember correctly, it doesn't have a /usr/local directory so you'll have to make one with mkdir or customize the install target in the Makefile if you want to install formally. There is an additional issue with the name of the GLFW library. The examples/Makefile assumes your GLFW library is called libglfw3, -lglfw3 in the Makefile, but if you install GLFW through your package manager, the library is called libglfw, -lglfw in the Makefile.

    Anyway, there are lot's of little things to know if you're just getting started developing on Linux. One of the cool things about raylib is it's versatility but the Linux development environment is complex. Here is a collection of reference links, https://github.com/RDR8/GNOob-Developer-Notes, I put together when working through raylib the first time.

    Anyway, I'll try to help if you still have questions.
  • Hi Rider8, thank you very much for your feedback and help with this issue! :)
  • I'm still figuring it out. It Would be nice to have a Linux package with an editor/editor setup included. Deciding what to include would be the hard part. It's on my Someday list. Anyway, thank you! for all the work you're doing. You say you're busy with other stuff but updates keep coming. It's awesome.
Sign In or Register to comment.