Author Topic: Creating a little game using c++ and opengl with SDL, but too slow yet  (Read 740 times)

Offline DaCodiSn

  • Newly Subscribed
  • *
  • Posts: 1
  • Karma: 0
  • New Forum User
    • View Profile
Hello !!!

I have a problem with my little game for Linux !  :-\

It uses the GL.h , GLU.h and SDL.h, but it runs very slow, because the software emulation for
OpenGL is active.
I compile it with g++ and I do not know how to make it with a make-file. This is also a problem but not the main problem.
Can You help me that it runs fast again.
I have installed GLXgears and this program runs fast.
I want that my programm also running fast.

As Glxgears was installed i could not see an example which sources it used.

My hardware is an Intel-i7 with Nvidia-card.

Can you help me how to install the right Libraries and make it. :)

I'm so sorry that i could not do it but i have no example.

Thank you !!!

« Last Edit: July 28, 2020, 01:26:39 am by DaCodiSn »

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2395
  • Karma: 633
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: Creating a little game using c++ and opengl with SDL
« Reply #1 on: July 24, 2020, 02:28:35 am »
Hi DaCodiSn,

Perhaps someone of the readers can help you with this. The PeppermintOS team is probably not going to be able to help you as we are currently devoting most of our attention to getting the next PeppermintOS version ready for testing and release. Also, very little (if anything) in PeppermintOS that our team has programmed was created using C++.

I think your problem is most likely best addressed to a forum devoted to C++ programming.  ;)

Regards,
-- Slim
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome