Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Visual studio 2017 build failed #498

Open
MoMannn opened this issue Jul 13, 2017 · 3 comments
Open

Visual studio 2017 build failed #498

MoMannn opened this issue Jul 13, 2017 · 3 comments

Comments

@MoMannn
Copy link

MoMannn commented Jul 13, 2017

Everything works when building in vs2013 but when I try do build in vs2017 I get the error:

Error C2024 'alignas' attribute applies to variables, data members and tag types only tinyDAV
\doubango\tinydav\src\video\directx\tdav_producer_screencast_ddraw.cxx 500

and

multiple errors in tinyNET:

Error LNK2001 unresolved external symbol ___iob_func tinyNET \Doubango\tinyNET\libeay32.lib(cryptlib.obj) 1

Do I need to make any specific settings in visual studio 2017?

@xvcheng1979
Copy link

你把libeay32.lib用2017重新编译下。或者选择2013编译下的

@xvcheng1979
Copy link

在2017里面有个平台选项,选择2013的平台

@MoMannn
Copy link
Author

MoMannn commented Aug 2, 2017

After a little google translate I solved it by setting the target compiler to visual studio 2013

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

No branches or pull requests

2 participants