Development version / 3.0alpha crashes after splashscreen (potentially an issue portaudio)
I'm currently trying to build run and test the latest musescore version on Win10 (build 17134.285) using a freshly installed VisualStudio environment and a .
The project appears to build fine, but it crashes during/after the splashscreen.
This happens with the nightly builds as well as with my own build.
With my own build it appears that there is an issue with portmidi (which is strange as it appears to be the same codebase that is used for musescore 2.3 which runs fine).
When running in debug mode from VisualStudio I get an Access violation exception during initialization of portaudis portmidi. at the "midiInOpen" call.
More specifically there appears to be an issues with the winmm_in_callback pointer passed to the winmm system library.
(winmmbase.dll!DriverCallback() appears to try calling to 0x0000000017d86b20, while the value of winmm_in_callback that is passed into midiInOpen is 0x00007ff617d86b20)
Could it be that there is some typecasting issue that truncates the correct callback address? But then again since the portmidi codebase is the same as in version 2.3 that appears unlikely to me.
Or could it be some issue with my build environment? If so has someone encountered similar problems and could point me towards what could be the issue here?
But then again the nightly builds appear to crash at the same point, which speaks against it being an issue with the build environment.
During linking I get a link warning "LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library", I'm not sure if that is pointing to a potential cause for the problem though.