SFML community forums
Help => General => Topic started by: vri 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.
-
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
Correct, inl files should never been compiled.
Could you please indicate if I am doing something wrong?
Did you follow the last step described in the tutorial?
-
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.
-
Would it be an idea to uncheck the .inl files in the codeblocks project files that you supply?
I already explained it somewhere in this forum: I can't do this, because my version of Code::Blocks behaves differently (i.e. the default case is not to compile .inl files, so they are already unchecked).
I have to install a more recent version of the EDI to fix it.