#VS does not have Linker option in project properites.

13 messages · Page 1 of 1 (latest)

pulsar badgeBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

worn geyser
#

The test SFML code was:

#

#include <SFML/Graphics.hpp>

int main()
{
sf::RenderWindow window(sf::VideoMode({200, 200}), "SFML works!");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);

while (window.isOpen())
{
    while (const std::optional event = window.pollEvent())
    {
        if (event->is<sf::Event::Closed>())
            window.close();
    }

    window.clear();
    window.draw(shape);
    window.display();
}

}

#

and I needed the linker category to add addition libraries

grave dome
#

Don't right click on the .cpp file, do it on the project:

worn geyser
#

ok i cant do it now beacuse i have to go somewhere but i will definetely check ty.

pulsar badgeBOT
#

@worn geyser Has your question been resolved? If so, type !solved :)

worn geyser
#

Ok

worn geyser
#

!solved

pulsar badgeBOT
#

Thank you and let us know if you have any more questions!

This thread is now set to auto-hide after an hour of inactivity

worn geyser
#

ty Jerome

pulsar badgeBOT
#

@worn geyser

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

worn geyser
#

sorry