S
S
SuperFunder_0072021-07-05 17:39:07
GCC
SuperFunder_007, 2021-07-05 17:39:07

How to link SFML on windows with only G++ compiler and notepad at hand?

Let's say we have the contents of a directory like this:

+ | Project |
  + | sfml | ## скомпилированные библиотеки sfml
  + | compile.bat | ## пакетный файл
  + | main.cpp | ## прога


Question: what needs to be entered in the bat file so that g ++ does not throw no such exception on "#include <SFML/Graphics.hpp>"the main file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Petryaev, 2021-07-05
@Gremlin92

-i ./sfml/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question