Discussion:
COMPILE_MEDIA Error on 8udev - DirectShow Question
c***@bekwam.com
2018-11-08 17:53:33 UTC
Permalink
Hi,



I'm able to build a non-media version of 8udev successfully. However, when
I try the -PCOMPILE_MEDIA option, I'm getting an error
Task :media:buildWinPlugins
make: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'

make
TARGET=/cygdrive/d/hg/rt/modules/media/build/native/win/Release/baseclasses.
lib -f Makefile.BaseClasses

cygpath: cannot create short name of C:\Program Files\Microsoft
SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses

make[1]: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'

Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...



I have a new computer with Visual Studio 2017. I understand that the
DirectShow libraries have now been incorporated into the Windows SDK. I
found header files like dshow.h in my hard drvie, but I don't have a
BaseClasses folder.



Has anyone compiled media with a recent VSS or are most people compiling
against residual artifacts from a while ago?



Thanks,

Carl
Artur Khusainov
2018-11-08 18:20:34 UTC
Permalink
Hi,

Try installing this:
https://www.microsoft.com/en-us/download/details.aspx?id=8279
Post by c***@bekwam.com
Hi,
I'm able to build a non-media version of 8udev successfully. However, when
I try the -PCOMPILE_MEDIA option, I'm getting an error
Task :media:buildWinPlugins
make: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'
make
TARGET=/cygdrive/d/hg/rt/modules/media/build/native/win/Release/baseclasses.
lib -f Makefile.BaseClasses
cygpath: cannot create short name of C:\Program Files\Microsoft
SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses
make[1]: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...
I have a new computer with Visual Studio 2017. I understand that the
DirectShow libraries have now been incorporated into the Windows SDK. I
found header files like dshow.h in my hard drvie, but I don't have a
BaseClasses folder.
Has anyone compiled media with a recent VSS or are most people compiling
against residual artifacts from a while ago?
Thanks,
Carl
c***@bekwam.com
2018-11-08 18:53:52 UTC
Permalink
Thanks. I tried installing the Windows 7 SDK from you link, but the installer errored out mentioning that I needed the RTM .NET Framework 4. Should I try to install this as well from here?



https://www.microsoft.com/en-us/download/details.aspx?id=17851



Is it possible to compile and link against the Windows 10 SDK or is everyone still on 7?



-Carl



From: Artur Khusainov <***@gmail.com>
Sent: Thursday, November 8, 2018 1:21 PM
To: ***@bekwam.com
Cc: openjfx-***@openjdk.java.net
Subject: Re: COMPILE_MEDIA Error on 8udev - DirectShow Question



Hi,



Try installing this: https://www.microsoft.com/en-us/download/details.aspx?id=8279

чт, 8 нояб. 2018 г., 22:54 <***@bekwam.com <mailto:***@bekwam.com> >:

Hi,



I'm able to build a non-media version of 8udev successfully. However, when
I try the -PCOMPILE_MEDIA option, I'm getting an error
Task :media:buildWinPlugins
make: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'

make
TARGET=/cygdrive/d/hg/rt/modules/media/build/native/win/Release/baseclasses.
lib -f Makefile.BaseClasses

cygpath: cannot create short name of C:\Program Files\Microsoft
SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses

make[1]: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'

Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...



I have a new computer with Visual Studio 2017. I understand that the
DirectShow libraries have now been incorporated into the Windows SDK. I
found header files like dshow.h in my hard drvie, but I don't have a
BaseClasses folder.



Has anyone compiled media with a recent VSS or are most people compiling
against residual artifacts from a while ago?



Thanks,

Carl
Artur Khusainov
2018-11-08 19:15:50 UTC
Permalink
This is known issue. You probably already installed Microsoft Visual C++
2010 Redistributable. Uninstall both x64 and x86, then try again.
Post by c***@bekwam.com
Thanks. I tried installing the Windows 7 SDK from you link, but the
installer errored out mentioning that I needed the RTM .NET Framework 4.
Should I try to install this as well from here?
https://www.microsoft.com/en-us/download/details.aspx?id=17851
Is it possible to compile and link against the Windows 10 SDK or is everyone still on 7?
-Carl
*Sent:* Thursday, November 8, 2018 1:21 PM
*Subject:* Re: COMPILE_MEDIA Error on 8udev - DirectShow Question
Hi,
https://www.microsoft.com/en-us/download/details.aspx?id=8279
Hi,
I'm able to build a non-media version of 8udev successfully. However, when
I try the -PCOMPILE_MEDIA option, I'm getting an error
Task :media:buildWinPlugins
make: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'
make
TARGET=/cygdrive/d/hg/rt/modules/media/build/native/win/Release/baseclasses.
lib -f Makefile.BaseClasses
cygpath: cannot create short name of C:\Program Files\Microsoft
SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses
make[1]: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...
I have a new computer with Visual Studio 2017. I understand that the
DirectShow libraries have now been incorporated into the Windows SDK. I
found header files like dshow.h in my hard drvie, but I don't have a
BaseClasses folder.
Has anyone compiled media with a recent VSS or are most people compiling
against residual artifacts from a while ago?
Thanks,
Carl
Artur Khusainov
2018-11-08 19:17:40 UTC
Permalink
(misleading attachment in previous message, sorry)
Post by Artur Khusainov
This is known issue. You probably already installed Microsoft Visual C++
2010 Redistributable. Uninstall both x64 and x86, then try again.
Post by c***@bekwam.com
Thanks. I tried installing the Windows 7 SDK from you link, but the
installer errored out mentioning that I needed the RTM .NET Framework 4.
Should I try to install this as well from here?
https://www.microsoft.com/en-us/download/details.aspx?id=17851
Is it possible to compile and link against the Windows 10 SDK or is everyone still on 7?
-Carl
*Sent:* Thursday, November 8, 2018 1:21 PM
*Subject:* Re: COMPILE_MEDIA Error on 8udev - DirectShow Question
Hi,
https://www.microsoft.com/en-us/download/details.aspx?id=8279
Hi,
I'm able to build a non-media version of 8udev successfully. However, when
I try the -PCOMPILE_MEDIA option, I'm getting an error
Task :media:buildWinPlugins
make: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'
make
TARGET=/cygdrive/d/hg/rt/modules/media/build/native/win/Release/baseclasses.
lib -f Makefile.BaseClasses
cygpath: cannot create short name of C:\Program Files\Microsoft
SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses
make[1]: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...
I have a new computer with Visual Studio 2017. I understand that the
DirectShow libraries have now been incorporated into the Windows SDK. I
found header files like dshow.h in my hard drvie, but I don't have a
BaseClasses folder.
Has anyone compiled media with a recent VSS or are most people compiling
against residual artifacts from a while ago?
Thanks,
Carl
c***@bekwam.com
2018-11-08 19:36:10 UTC
Permalink
Thanks for your help Artur. I’ve compiled successfully and AudioClip is working without throwing the glib lite link error.



For those also interested in compiling on a new machine, download the Windows 7 SDK. Before installing, make sure that you’ve removed the VC++ 2010 Redistributable (x86+64). The installer will give you a warning, but press OK. The files will show up in the program files / Microsoft sdks / windows / v7.1 folder.



Return to the hg/rt source and run gradle -PCOMPILE_MEDIA=true



From: Artur Khusainov <***@gmail.com>
Sent: Thursday, November 8, 2018 2:18 PM
To: ***@bekwam.com
Cc: openjfx-***@openjdk.java.net
Subject: Re: COMPILE_MEDIA Error on 8udev - DirectShow Question



(misleading attachment in previous message, sorry)

пт, 9 нояб. 2018 г. в 0:15, Artur Khusainov <***@gmail.com <mailto:***@gmail.com> >:

This is known issue. You probably already installed Microsoft Visual C++ 2010 Redistributable. Uninstall both x64 and x86, then try again.





чт, 8 нояб. 2018 г. в 23:53, <***@bekwam.com <mailto:***@bekwam.com> >:

Thanks. I tried installing the Windows 7 SDK from you link, but the installer errored out mentioning that I needed the RTM .NET Framework 4. Should I try to install this as well from here?



https://www.microsoft.com/en-us/download/details.aspx?id=17851



Is it possible to compile and link against the Windows 10 SDK or is everyone still on 7?



-Carl



From: Artur Khusainov <***@gmail.com <mailto:***@gmail.com> >
Sent: Thursday, November 8, 2018 1:21 PM
To: ***@bekwam.com <mailto:***@bekwam.com>
Cc: openjfx-***@openjdk.java.net <mailto:openjfx-***@openjdk.java.net>
Subject: Re: COMPILE_MEDIA Error on 8udev - DirectShow Question



Hi,



Try installing this: https://www.microsoft.com/en-us/download/details.aspx?id=8279

чт, 8 нояб. 2018 г., 22:54 <***@bekwam.com <mailto:***@bekwam.com> >:

Hi,



I'm able to build a non-media version of 8udev successfully. However, when
I try the -PCOMPILE_MEDIA option, I'm getting an error
Task :media:buildWinPlugins
make: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'

make
TARGET=/cygdrive/d/hg/rt/modules/media/build/native/win/Release/baseclasses.
lib -f Makefile.BaseClasses

cygpath: cannot create short name of C:\Program Files\Microsoft
SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses

make[1]: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'

Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...



I have a new computer with Visual Studio 2017. I understand that the
DirectShow libraries have now been incorporated into the Windows SDK. I
found header files like dshow.h in my hard drvie, but I don't have a
BaseClasses folder.



Has anyone compiled media with a recent VSS or are most people compiling
against residual artifacts from a while ago?



Thanks,

Carl

Kevin Rushforth
2018-11-08 18:23:44 UTC
Permalink
You need the Windows SDK v7.1a, which has the DirectShow Base Classes.

-- Kevin
Post by c***@bekwam.com
Hi,
I'm able to build a non-media version of 8udev successfully. However, when
I try the -PCOMPILE_MEDIA option, I'm getting an error
Task :media:buildWinPlugins
make: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'
make
TARGET=/cygdrive/d/hg/rt/modules/media/build/native/win/Release/baseclasses.
lib -f Makefile.BaseClasses
cygpath: cannot create short name of C:\Program Files\Microsoft
SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses
make[1]: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...
I have a new computer with Visual Studio 2017. I understand that the
DirectShow libraries have now been incorporated into the Windows SDK. I
found header files like dshow.h in my hard drvie, but I don't have a
BaseClasses folder.
Has anyone compiled media with a recent VSS or are most people compiling
against residual artifacts from a while ago?
Thanks,
Carl
Kevin Rushforth
2018-11-08 18:29:46 UTC
Permalink
Sorry, that should be 'v7.1' (not 7.1a).

-- Kevin
Post by Kevin Rushforth
You need the Windows SDK v7.1a, which has the DirectShow Base Classes.
-- Kevin
Hi,
I'm able to build a non-media version of 8udev successfully. However,
when
I try the -PCOMPILE_MEDIA option, I'm getting an error
Task :media:buildWinPlugins
make: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'
make
TARGET=/cygdrive/d/hg/rt/modules/media/build/native/win/Release/baseclasses.
lib -f Makefile.BaseClasses
cygpath: cannot create short name of C:\Program Files\Microsoft
SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses
make[1]: Entering directory
'/cygdrive/d/hg/rt/modules/media/src/main/native/gstreamer/projects/win/fxpl
ugins'
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...
I have a new computer with Visual Studio 2017.   I understand that the
DirectShow libraries have now been incorporated into the Windows SDK.  I
found header files like dshow.h in my hard drvie, but I don't have a
BaseClasses folder.
Has anyone compiled media with a recent VSS or are most people compiling
against residual artifacts from a while ago?
Thanks,
Carl
Loading...