The compilation tag has no wiki summary.
0
votes
1answer
57 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 ...
1
vote
1answer
183 views
Mesa library vs Hardware accelerated OpenGL for my executable - it's just a linking problem?
Supposing that i have my program that is targeting a specific OpenGL version, let's say the 3.0, now i want to produce an executable that will support the software rendering with Mesa and another ...
-2
votes
1answer
130 views
For loop optimisation [closed]
Here are some variations of for loops:
1) Standard:
for (int i=0; i<limit; i++)
2) Using preincrement
for (int i=0; i<limit; ++i)
3) Inverting the loop
for (int i=limit-1; i>=0; i--)
...
0
votes
3answers
157 views
Exporting XNA class library as a DLL file
I have downloaded an open source project that I intend to use with my current game. The download came with all the class files from the original project as well as a pre-compiled DLL file representing ...
3
votes
1answer
277 views
Variables in static library are never initialized. Why?
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 {
...
0
votes
0answers
86 views
How to get warnings when compiling fx files
When I compile DirectX shaders (.fx files), I dont see any compiler warnings unless there was an error in the effect.
This happens both when using the offline FXC compiler, as well as calling ...
2
votes
2answers
683 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, ...
10
votes
3answers
273 views
64-bit platform for game?
until now I've seen that many games are still compiled in 32-bit architecture although nearly 50% of current windows users are on 64-bit O/S? why is it? if the reason is for getting larger audience ...