Problems compiling Windows 10 x64

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems compiling Windows 10 x64

The Autism Channel
I followed the instructions here:
https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT#Windows10x64

Did it several times using both copy/paste and keyboard entry. (There's
a double ;; in the SET environment variables section, btw but causes no
error).

As the output indicates, the compiler is confused about what the output
OS should be. I've tried several alternate methods (like removing the
cross-compile instructions hoping it will default--no avail because it
assumes cross-compile)

The output log is attached. I'm not real swift with Msys2 (or most tools
that make Windows act like Linux) and I've not yet tried doing this on
my Ubuntu box just to see if I can get a clue. (I'm also not the
sharpest Linux tool in the shed, but I get by usually through stubborn
perseverance). I've also tried --target-os=win64 but it doesn't like
that either, and the configure script just passes this value through.

I am using the latest pull from the git repository (about an hour before
I wrote this: last commit is Mark Reid at 21:52 22 Jul 2016.  (I'm using
SourceTree and my local repository is not /c/ffmpeg but everything in
the script seems to use relative paths, so I assume that makes no
difference.) I believe I've set up everything correctly and all the
MSYS2 tests show correct paths.

Help!



_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

config.log (231K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problems compiling Windows 10 x64

Carl Eugen Hoyos
The Autism Channel <coding <at> theautismchannel.tv> writes:

> # ../../../configure --toolchain=msvc --disable-programs
> --disable-d3d11va --disable-dxva2 --arch=x86_64 --enable-shared
> --enable-cross-compile --target-os=win32
> --extra-cflags='-MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP
> -D_WIN32_WINNT=0x0A00' --extra-ldflags='-APPCONTAINER WindowsApp.lib'
> --prefix=../../../Build/Windows10/x64

Do I understand correctly that you are compiling on Windows
10 64 bit and you want libraries for Windows 64bit?
Why are you specifying cross compilation (and arch and os)?

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Problems compiling Windows 10 x64

The Autism Channel
That is an excellent question. I tried to remove the flags for
cross-compilation and it gave me a new set of errors.

Based on your question/suggestion I'll try again to remove the
instructions that cue it to cross-compile because I am lucky in that I
am going to run this on only on our in-house systems which all have
similar architectures/OS'es.


On 7/24/2016 12:19 PM, Carl Eugen Hoyos wrote:

> The Autism Channel <coding <at> theautismchannel.tv> writes:
>
>> # ../../../configure --toolchain=msvc --disable-programs
>> --disable-d3d11va --disable-dxva2 --arch=x86_64 --enable-shared
>> --enable-cross-compile --target-os=win32
>> --extra-cflags='-MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP
>> -D_WIN32_WINNT=0x0A00' --extra-ldflags='-APPCONTAINER WindowsApp.lib'
>> --prefix=../../../Build/Windows10/x64
> Do I understand correctly that you are compiling on Windows
> 10 64 bit and you want libraries for Windows 64bit?
> Why are you specifying cross compilation (and arch and os)?
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".