You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Sorry to disappoint -- the codebase hasn't been tested against / adapted to VS 2019 yet and all the errors you're seeing are because of that. There is a slight chance things could start to work when you set MSVC2017_COMPATIBILITY to ON (it's a CMake option in Corrade), but I am not 100% betting on that -- so far, with every release of VS there were always new and exciting bugs to work around, so just applying the MSVC2017 workarounds to 2019 might not be enough.
I'll be definitely looking into this and ensuring things work correctly with VS 2019 but right now other things have a priority. Is there a chance you could run on VS 2017 in the meantime?
The MSVC2017_COMPATIBILITY flag apparently works! (at least on this bootstrap/example program) It compiles now but for MSVC compiler only. I've noticed that similar but different error pops up when using llvm tool chain on both 2017 and 2019.
Is clang supported on windows? or am I supposed to use it through mingw?
if not then I'm going to close this ticket now.
Someone tried Clang support some time ago (see mosra/magnum#227 and mosra/corrade#40), but nothing was done since so I guess you'll run into problems there too. MinGW + GCC is known to be working, Clang on other platforms (Linux, macOS, iOS, Android...) is working as well, but frankly I have no idea how it behaves on Windows.
Leave the ticket open as a reminder for me to fix the VS2019 support ;)
Activity
mosra commentedon Apr 21, 2019
Hi! Sorry to disappoint -- the codebase hasn't been tested against / adapted to VS 2019 yet and all the errors you're seeing are because of that. There is a slight chance things could start to work when you set
MSVC2017_COMPATIBILITYtoON(it's a CMake option in Corrade), but I am not 100% betting on that -- so far, with every release of VS there were always new and exciting bugs to work around, so just applying the MSVC2017 workarounds to 2019 might not be enough.I'll be definitely looking into this and ensuring things work correctly with VS 2019 but right now other things have a priority. Is there a chance you could run on VS 2017 in the meantime?
UNDEFINED-BEHAVIOR commentedon Apr 21, 2019
Thanks for the quick reply.
The MSVC2017_COMPATIBILITY flag apparently works! (at least on this bootstrap/example program) It compiles now but for MSVC compiler only. I've noticed that similar but different error pops up when using llvm tool chain on both 2017 and 2019.
Is clang supported on windows? or am I supposed to use it through mingw?
if not then I'm going to close this ticket now.
This is the clang for VS I'v been using:
https://github.com/zufuliu/llvm-utils
mosra commentedon Apr 21, 2019
Someone tried Clang support some time ago (see mosra/magnum#227 and mosra/corrade#40), but nothing was done since so I guess you'll run into problems there too. MinGW + GCC is known to be working, Clang on other platforms (Linux, macOS, iOS, Android...) is working as well, but frankly I have no idea how it behaves on Windows.
Leave the ticket open as a reminder for me to fix the VS2019 support ;)
[-]Unable to build default bootstrap application.[/-][+]Unable to build on VS2019[/+]mosra commentedon Jul 6, 2019
MSVC 2019 support done with mosra/corrade@161c9e0, mosra/magnum@ddb16f6, mosra/magnum@9e2a111 and mosra/magnum@d542e2b. Other packages (plugins, extras, integration, examples) don't seem to need any adjustments so far.