Quote Originally Posted by gcarreno View Post
Humm, now for the "...as well as Free Pascal/Lazarus should work."

I'm, in no category, a records with methods knowledgeable fellow, but I'm trying to compile phoenix_2013-10-15 with Ubuntu 14.04 64b, Lazarus 1.2.2 and FCP 2.6.4 and it's tripping a "function header does not match previous declaration..." error on TMatrix3f.Zero, TMatrix3f.Identity, TMatrix4f.Zero, TMatrix4f.Identity, TMatrix4f.Multiply and it stopped there after 5 errors.

So, what is needed to have records withs methods playing nice on FPC?

Many thanks in advance!

Cheers,
Gus
All the demos compiles and runs using Lazarus 1.2.4 with FPC 2.6.4 on my windows machine (although with some warnings), the {$mode delphi} compiler define is quite important though, but that is included in phxConfig.inc.

Is it the demos/tutorials that gives the error or is it a custom application?

Quote Originally Posted by gcarreno View Post
Hey Andreaz,

Looking at the Demos/_Binary folder, there are quite a few .dll files there.

It would be nice to have a section on the documentation about the packages that need to be installed.

OpenGL is the most obvious, but looks like FreeImage, SDL(_image), glfw, libpng and Lua are also some pre requisites for the entirity of the Engine to operate.

I can provide Ubuntu/Debian packages how to, but will have to get over the error I've reported before (BTW, went on Google Code issue tracker and added it, #144).

Any help is greatly thanked, in advance ;-)

Cheers,
Gus
All the dll files are all optional, they are included depending on what plugins you're using.

If you add phxGraphics_FreeImage to the uses class FreeImage.dll is used for texture loading, theese are the supported graphics librarys. If you only use phoenix images you don't need any of the following.

phxGraphics_FreeImage - FreeImage.dll
phxGraphics_Vampyre - Vampyre Imaging Lib (In search path)
phxGraphics_SDL - SDL_Image.dll
phxGraphics_DDS - native DDS support (No external requirement)

For the rendering these are the variants:

phxOpenGL_SDL - OpenGL32.dll + SDL.dll
phxOpenGL_GLFW - OpenGL32.dll + GLFW.dll
phxDraw - OpenGL32.dll + VCL

phxDirect3D9_SDL - D3D9 + SDL.dll (Experimental).

You can create your own version of the above by extending the TPHXOpenGL_Renderer class to add a own window framework.

You might also require lua if you use the scripting:

phxScripting - Lua51.dll