Page 1 of 1

windows phone developer questions?

Posted: 28 May 2015 07:38
by Jason_X_
I noticed there isn't any windows phone nightly builds on http://nightlies.videolan.org/build/ is there a reason why the buildbot can't make these builds?

Looking at https://wiki.videolan.org/Compile_VLC/ leads to https://wiki.videolan.org/WinRTCompile/
Trying to compile it, the first issue is, apparently VS 2013 isn't supported fully, since one of the projects requires 2015. Is there any reason for this?
The error is

Code: Select all

..\universal\VLC_WinRT.Universal\VLC_WinRT.Universal.csproj: The project 'VLC_WinRT.Universal.csproj' was created with a newer version of Visual Studio which is incompatible with your version. You can only open this project with newer versions of Visual Studio.
After ignoring that for now, and trying to compile, it spits out

Code: Select all

winrt\universal\VLC_WinRT.BackgroundAudioPlayer\VLC_WinRT.BackgroundAudioPlayer.csproj(114,5): error : This project references NuGet package(s) that are missing on this computer.
There is no mention of a dependency on the wiki page for this?

ignoring that...

Code: Select all

>d:\winrt\modules\libaccess_winrt_plugin.shared\libaccess_winrt_plugin.cpp(52): fatal error C1083: Cannot open include file: 'vlc_common.h': No such file or directory 3>d:\winrt\modules\libaccess_winrt_plugin.Shared\libaccess_winrt_plugin.cpp(52): fatal error C1083: Cannot open include file: 'vlc_common.h': No such file or directory 5>------ Build started: Project: VLC_WinRT.BackgroundAudioPlayer, Configuration: Debug ARM ------ 5>d:\winrt\universal\VLC_WinRT.BackgroundAudioPlayer\VLC_WinRT.BackgroundAudioPlayer.csproj(114,5): error : This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567. 2> libdirect2d_winrt_plugin.cpp 2> I420Effect.cpp 4> libdirect2d_winrt_plugin.cpp 4> I420Effect.cpp 4>d:\winrt\modules\libdirect2d_winrt_plugin.Shared\..\libdirect2d_winrt_plugin\libdirect2d_winrt_plugin.cpp(63): fatal error C1083: Cannot open include file: 'vlc_common.h': No such file or directory 2>d:\winrt\modules\libdirect2d_winrt_plugin\libdirect2d_winrt_plugin.cpp(63): fatal error C1083: Cannot open include file: 'vlc_common.h': No such file or directory 6>------ Build started: Project: libVLCX.WindowsPhone, Configuration: Debug ARM ------ 6> pch.cpp 7>------ Build started: Project: libVLCX (libVLCX\libVLCX), Configuration: Debug Win32 ------ 6> EventManagerCX.cpp 6> InstanceCX.cpp 6>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libVLCX.Shared\..\libvlcpp\cppcx\EventManagerCX.cpp': No such file or directory 6>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libVLCX.Shared\..\libvlcpp\cppcx\InstanceCX.cpp': No such file or directory 6> MediaCX.cpp 6> MediaPlayerCX.cpp 6>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libVLCX.Shared\..\libvlcpp\cppcx\MediaCX.cpp': No such file or directory 6> PlatformHelpers.cpp 6> StructuresCX.cpp 6> DirectXManager.cpp 6>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libVLCX.Shared\..\libvlcpp\cppcx\PlatformHelpers.cpp': No such file or directory 6>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libVLCX.Shared\..\libvlcpp\cppcx\MediaPlayerCX.cpp': No such file or directory 6>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libVLCX.Shared\..\libvlcpp\cppcx\StructuresCX.cpp': No such file or directory 6> MMDeviceLocator.cpp 6> Thumbnailer.cpp 6>d:\winrt\wrapper\libvlcx\Thumbnailer.h(23): fatal error C1083: Cannot open include file: 'vlc/vlc.h': No such file or directory (d:\winrt\wrapper\libVLCX.Shared\..\libVLCX\Thumbnailer.cpp) 7> pch.cpp 7> EventManagerCX.cpp 7>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libvlcpp\cppcx\EventManagerCX.cpp': No such file or directory 7> InstanceCX.cpp 7> MediaCX.cpp 7> MediaPlayerCX.cpp 7>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libvlcpp\cppcx\MediaCX.cpp': No such file or directory 7>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libvlcpp\cppcx\MediaPlayerCX.cpp': No such file or directory 7> PlatformHelpers.cpp 7> StructuresCX.cpp 7>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libvlcpp\cppcx\InstanceCX.cpp': No such file or directory 7> DirectXManager.cpp 7> MMDeviceLocator.cpp 7>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libvlcpp\cppcx\PlatformHelpers.cpp': No such file or directory 7>c1xx : fatal error C1083: Cannot open source file: 'd:\winrt\wrapper\libvlcpp\cppcx\StructuresCX.cpp': No such file or directory 7> Thumbnailer.cpp 7>d:\winrt\wrapper\libvlcx\thumbnailer.h(23): fatal error C1083: Cannot open include file: 'vlc/vlc.h': No such file or directory (d:\winrt\wrapper\libVLCX\Thumbnailer.cpp) ========== Build: 0 succeeded, 7 failed, 0 up-to-date, 0 skipped ==========
First, why the missing source files? and then, it seems the issue here is, the paths it is looking is wrong, and yes, vlc-Win32.7z was un7zipped to the vlc/ directory as was mentioned on the wiki
Extract the contents of vlc.7z and copy the contents to vlc folder of winrt source code
That directory now contains:

Code: Select all

Directory of D:\winrt\vlc 05/28/2015 01:16 AM <DIR> . 05/28/2015 01:16 AM <DIR> .. 02/13/2015 12:49 PM <DIR> include 02/13/2015 12:49 PM <DIR> plugins 05/24/2015 04:12 PM 53 .gitignore 05/24/2015 04:12 PM 1,650 appcontainer.pl 05/24/2015 04:12 PM 4,691 compile.sh 05/24/2015 04:12 PM 828 configure.sh 05/28/2015 01:16 AM 94,720 libgcc_s_sjlj-1.dll 05/28/2015 01:16 AM 897,536 libstdc++-6.dll 05/28/2015 01:16 AM 137,216 libvlc.dll 05/28/2015 01:16 AM 192,198 libvlc.lib 05/28/2015 01:16 AM 1,990,656 libvlccore.dll 05/28/2015 01:16 AM 422,390 libvlccore.lib 05/28/2015 01:16 AM 192,198 vlc.lib 05/28/2015 01:16 AM 422,390 vlccore.lib
So, the question here is, why aren't the paths setup correctly, so you don't have to copy everything out of the include & plugins directory into the base directory, and instead, have VS look in the correct paths for this?

Re: windows phone developer questions?

Posted: 20 Jul 2015 23:49
by Orland
I've got exactly the same problem. Nothing was fixed in a 2 months

Re: windows phone developer questions?

Posted: 21 Jul 2015 14:44
by Jean-Baptiste Kempf
Please read the documentation.

Re: windows phone developer questions?

Posted: 04 Aug 2015 02:40
by coolbix
I've tried both VS2013 and VS2015, but failed to build.
I followed the "document" (README) in the project.

Could you, dear developer, please tell me the exact build environments where you are successful, such as
- Windows 8.1 or Windows 10
- VS 2013 or VS 2015
- vlc hash
- libvlcpp hash
* The prebuilt vlc on http://people.videolan.org/~jb/WinRT is old and does not match for the latest libvlcpp.

Re: windows phone developer questions?

Posted: 22 Aug 2015 06:59
by Sulfred
I am using VS2015, following https://wiki.videolan.org/WinRTCompile/.
But I cannot compile the project.

I open the winrt\app\VLC_WINRT.sln and I build it. I have the same situation with Jason_X_ .
First, why the missing source files? and then, it seems the issue here is, the paths it is looking is wrong, and yes, vlc-Win32.7z was un7zipped to the vlc/ directory as was mentioned on the wiki
Extract the contents of vlc.7z and copy the contents to vlc folder of winrt source code

That directory now contains:
CODE: SELECT ALL
Directory of D:\winrt\vlc

05/28/2015 01:16 AM <DIR> .
05/28/2015 01:16 AM <DIR> ..
02/13/2015 12:49 PM <DIR> include
02/13/2015 12:49 PM <DIR> plugins
05/24/2015 04:12 PM 53 .gitignore
05/24/2015 04:12 PM 1,650 appcontainer.pl
05/24/2015 04:12 PM 4,691 compile.sh
05/24/2015 04:12 PM 828 configure.sh
05/28/2015 01:16 AM 94,720 libgcc_s_sjlj-1.dll
05/28/2015 01:16 AM 897,536 libstdc++-6.dll
05/28/2015 01:16 AM 137,216 libvlc.dll
05/28/2015 01:16 AM 192,198 libvlc.lib
05/28/2015 01:16 AM 1,990,656 libvlccore.dll
05/28/2015 01:16 AM 422,390 libvlccore.lib
05/28/2015 01:16 AM 192,198 vlc.lib
05/28/2015 01:16 AM 422,390 vlccore.lib
Can anyone help?
or can you provide a version that can directly compile once after download from git?

Re: windows phone developer questions?

Posted: 02 Sep 2015 07:10
by Jason_X_
Please read the documentation.
More like the documentation must be updated, since, 'as is', it does NOT work, as outlined above.
And since nobody can compile it except the lone dev(?) then, it is pretty much impossible to help out with the project.
There have been 0 updates, and the current version is extremely buggy.

Re: windows phone developer questions?

Posted: 08 Oct 2015 16:01
by Jean-Baptiste Kempf
Please read the documentation.
More like the documentation must be updated, since, 'as is', it does NOT work, as outlined above.
And since nobody can compile it except the lone dev(?) then, it is pretty much impossible to help out with the project.
There have been 0 updates, and the current version is extremely buggy.
Come on IRC, if you want to help.