Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler Errors in Visual Studio 2015 due to libyuv #1

Closed
jleveque opened this issue Jul 31, 2015 · 3 comments
Closed

Compiler Errors in Visual Studio 2015 due to libyuv #1

jleveque opened this issue Jul 31, 2015 · 3 comments

Comments

@jleveque
Copy link
Contributor

I converted the VS2012 project to VS2015, and was greeted by hundreds of compiler errors. This is due to Microsoft removing the deprecated ability to apply "__declspec(align)" to functions. This is used throughout the current version of libyuv in the libtheoraplayer project.

This issue has apparently been fixed upstream in libyuv, as of revision 1374 (https://code.google.com/p/libyuv/issues/detail?id=422), so you will just need to update the libyuv source. I fixed the errors manually and was able to compile fine, so it seems this all that is necessary to make libtheoraplayer VS2015-compliant.

@kspes
Copy link
Collaborator

kspes commented Aug 1, 2015

Cool! Thanks for the info, we'll update it soon :)

On Saturday, August 1, 2015, jleveque notifications@github.com wrote:

I converted the VS2012 project to VS2015, and was greeted by hundreds of
compiler errors. This is due to Microsoft removing the deprecated ability
to apply "__declspec(align)" to functions. This is used throughout the
current version of libyuv in the libtheoraplayer project.

This issue has apparently been fixed upstream in libyuv, as of revision
1374 (https://code.google.com/p/libyuv/issues/detail?id=422), so you will
just need to update the libyuv source. I fixed the errors manually and was
able to compile fine, so it seems this all that is necessary to make
libtheoraplayer VS2015-compliant.


Reply to this email directly or view it on GitHub
#1.


Krešo

@kspes
Copy link
Collaborator

kspes commented Aug 19, 2015

libyuv updated, give it a try and let us know if it works for you.

https://libtheoraplayer.wordpress.com/2015/08/19/libyuv-update/

@jleveque
Copy link
Contributor Author

Looks good. Everything compiles without errors. Thanks! You should now be able to create a proper VS2015 project for libtheoraplayer without any surprises.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants