Hello. I want to write a Powershell script on Windows to speed up the code compilation and execution.
At Linux I used this to compile at Terminal.
g++ -g -Wall -o resizeimage resizeimage.cpp 'pkg-config --cflags --libs opencv4'
And to run it, simply I use
What is the Windows way to tell compiler to use OpenCV libraries?
Edit: I’d like to use g++ but if there are easier ways to do that with other compilers I am okay with those too.