SFML community forums

Help => General => Topic started by: digimikeh on March 20, 2021, 04:31:40 pm

Title: compilation with msvc 2017
Post by: digimikeh on March 20, 2021, 04:31:40 pm
Hi...

i'm trying to compile using msvc 2019 32 bits... compiling process is fine i guess... but when i execute my exe file there are some missing files:

libgcc_s_dw2-1.dll
libstdc++6.dll


where need to copy from to?
thanks!
Title: Re: compilation with msvc 2017
Post by: eXpl0it3r on March 20, 2021, 04:47:50 pm
These are GCC dependencies, as such you're most likely not building with MSVC ;)
Title: Re: compilation with msvc 2017
Post by: digimikeh on March 20, 2021, 05:07:39 pm
Thanks for answering

these are the step i use to compile:

> qmake MyGame.pro -spec win32-msvc "CONFIG+=debug"
> jom -f Makefile qmake_all
> jom -j4


my game is based on qt environment, qt has msvc and ming environment setups...
i execute setting for msvc 2019...

May I need to use nmake rather than jom?
Title: Re: compilation with msvc 2017
Post by: eXpl0it3r on March 20, 2021, 05:17:57 pm
jom is fine

Unfortunately I'm not too familiar with Qt and qmake.
Title: Re: compilation with msvc 2017
Post by: digimikeh on March 20, 2021, 05:23:53 pm
thanks for your help... i will try manually copying these files and see what happens..