Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vri

Pages: [1]
1
General / Problem with integrating SFML into wxWidgets
« on: March 13, 2009, 07:24:04 pm »
I've seen posts at the wx forum where problems of this kind were caused by the fact that the wx headers were not included before anything else.
So I'm not sure, but you may want to try to reverse the order of the sfml- and wx include in wxSFMLCanvas.hpp:
#include <wx/wx.h>
#include <SFML/Graphics.hpp>

Please let me know if this helps.

Good luck!
Theo.

2
General / Compile SFML 1.4 with CodeBlocks and MinGW
« on: January 08, 2009, 02:27:35 pm »
Ok, you're right, I missed that last step of adding the external libs; I thought I was not that far yet! I'm not that experienced, so please excuse me for bothering you....

Thanks.

Would it be an idea to uncheck the .inl files in the codeblocks project files that you supply?

Theo.

3
General / Compile SFML 1.4 with CodeBlocks and MinGW
« on: January 08, 2009, 02:00:03 pm »
First of all, thank you for the new version!

I try to build the static libs myself with the config mentioned above using the sfml.workspace.
I get a warning during compilation for each .inl file: "linker input file unused because linking not done".

During linking, I get an error that the object-file corresponding to the .inl file is not found.

As the .inl files are included from the .hpp files, I thought I might as well unselect the .inl files from the build targets. Then it compiles fine. However, the resulting lib I get for e.g. the system package, Debug static_Win32 is just 425 kB, whereas the one from the download is 2.3 MB. So this makes me doubt about my 'solution'.
Could you please indicate if I am doing something wrong?

Cheers, Theo.

Pages: [1]
anything