Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: compilation with msvc 2017  (Read 2522 times)

0 Members and 1 Guest are viewing this topic.

digimikeh

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
compilation with msvc 2017
« 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!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: compilation with msvc 2017
« Reply #1 on: March 20, 2021, 04:47:50 pm »
These are GCC dependencies, as such you're most likely not building with MSVC ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

digimikeh

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
Re: compilation with msvc 2017
« Reply #2 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?
« Last Edit: March 20, 2021, 05:14:43 pm by digimikeh »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: compilation with msvc 2017
« Reply #3 on: March 20, 2021, 05:17:57 pm »
jom is fine

Unfortunately I'm not too familiar with Qt and qmake.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

digimikeh

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
Re: compilation with msvc 2017
« Reply #4 on: March 20, 2021, 05:23:53 pm »
thanks for your help... i will try manually copying these files and see what happens..

 

anything