bitmovin / libdash

MPEG-DASH Access Library - Official ISO/IEC MPEG-DASH Reference Implementation
https://bitmovin.com/
589 stars 169 forks source link

error MSB6006: "cmd.exe" exited with code 3. #21

Open wafaaoudh opened 5 years ago

wafaaoudh commented 5 years ago

hi i try to open Libdash library on VS 2017 , and build solution , i have this error

4>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code 3.

can you help me to solve this problem plz ?

gmayevsky commented 5 years ago

Hello,

The error comes from custom build step against file qtsampleplayer.ui

The command looks like: "$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"

It looks for uic.exe at $(QTDIR)\bin so you need to download and install Qt for Windows with build tools for VS 2017, then you need to create env variable QTDIR and specify path to msvc2017, for example in my case this is C:\Qt\5.12.4\msvc2017

After that you can rebuild qtsampleplayer project with no errors but you going need to copy Qt dlls to same folder where qtsampleplayer is started from.

gnsharans commented 4 years ago

Hello,

The error comes from custom build step against file qtsampleplayer.ui

The command looks like: "$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"

It looks for uic.exe at $(QTDIR)\bin so you need to download and install Qt for Windows with build tools for VS 2017, then you need to create env variable QTDIR and specify path to msvc2017, for example in my case this is C:\Qt\5.12.4\msvc2017

After that you can rebuild qtsampleplayer project with no errors but you going need to copy Qt dlls to same folder where qtsampleplayer is started from.

Thanks It worked