![]() ![]() ![]() The CMAKE_BUILD_TYPE can be Release or Debug.If you use the static sfml libraries (the ones that have “-s” in their names) then you should uncheck this option.The TGUI_SHARED_LIBS option has to match the one from sfml.Once you are done, you need to press Configure again.Īfter you pressed configure, you should have reached the message “Configuring done” at the bottom.Īll you have to do now is press Generate. At the end of this CMake part, you can find the explanation of some of the options. It will consist of simply creating a window with the Windows API and passing the handle to SFML for rendering. Now you can also change the other options. If you use static linking then the folder must of course contain the static sfml libraries.You probably need to place the lib folder there yourself, with the libraries that you have build.When you compiled sfml yourself then you will have to watch out for two things: This will be the root path of sfml, which contains the include and lib folders. You will then have to tell CMake where it needs to search for sfml. It is possible that CMake will not be able to find sfml and will give you an error. Just keep the “Use default native compilers” option checked and ignore the other three options. Press this button to start configuring.Set a folder to build TGUI in, usually a new empty folder in the same directory as (1).Set the pathname to the TGUI folder that you downloaded. ![]() If something goes wrong afterwards, you can be sure that the problem does not lie with sfml. It would be even better to make sure you have sfml working before trying to use TGUI. It’s best to use a path like, c:sfml Go toSettings -> Compiler -> Search Directories -> compiler ( sub tab )then click Add. Now unzip and keep in your folder of choice. 32 bits run on both 32 and 64 bit systems. Download 32 bitif you want maximum support.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |