0
votes
0answers
4 views

Code::Blocks undefined reference to “*” [migrated]

Like the title says, I'm getting multiple build errors using C::B, all are saying undefined reference to '*'. I'm trying to build a program using OpenGL, GLFW, and GLEW. The top three things that it ...
0
votes
1answer
143 views

Linking error when compiling Allegro example

I am currently learning about game development tools and decided to use Allegro and OpenGL for starters. I've run into some problems in getting examples to compile though. It seems the allergro.h ...
3
votes
2answers
542 views

Variables in static library are never initialized. Why? [closed]

I have a bunch of variables that should be initialized then my game launches, but must of them are never initialized. Here is an example of the code: MyClass.h class MyClass : public BaseObject { ...
2
votes
2answers
708 views

Was C++ designed for speed, and is it better to not use high level features when teaming with inexperienced programmers?

I have read some optimisation guide for C++, and it seems it requires more knowledge to have a fast C++ code, than using C++ without the high level features of C++ (classes, templates, inheritance, ...