SN1
April 15, 2025, 12:32am
1
HI everyone. I wonder how to configure projucer to work with SFML library?
I tried to link include and lib and bin, successfully though (according to the VISUAL STUDIO properties->C++ → General and properties->Linker-general) but the simple console app project wont compile?
Any ideas?
SN1
April 15, 2025, 1:04pm
2
I ve found a solution. The example folder and the doc folder had to be deleted. Hope this could help someone.
Have FUN Jucers !!
SN1
April 18, 2025, 8:58pm
3
New issue:
Some functions of the library (SFML) i imported dosen’t work properly.
A simple
std::vector<sf::VideoMode> modes = sf::VideoMode::getFullscreenModes();
for (std::size_t i = 0; i < modes.size(); ++i)
{
sf::VideoMode mode = modes[i];
std::cout << "Mode #" << i << ": "
<< mode.size.x << "x" << mode.size.y << std::endl;
}
brings me irrelevant values once includeed with Projucer. Where should i search ?
SN1
April 18, 2025, 10:02pm
4
I’ve found the problem,
In Projucer->
Exporters->VisualStudio->External Libraries to Link ,
There is no possiblilities to specify debug or release the items are for all configurations. That was the problem.
I think there shoud be such an implementation in the next Projucer version.