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

LINK ERROR #4

Open
commshare opened this issue Jan 23, 2017 · 5 comments
Open

LINK ERROR #4

commshare opened this issue Jan 23, 2017 · 5 comments

Comments

@commshare
Copy link

Runntine Library : /MTd , libvlccore will get link error of libintl.lib and libmingw32.lib ,

1>------ Build started: Project: libvlccore, Configuration: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(1193,5): warning MSB8012: TargetPath(E:\player\windowsVLC\vlc-2.2.1.32-2013_tt\Debug\libvlccore.dll) does not match the Linker's OutputFile property value (E:\player\windowsVLC\vlc-2.2.1.32-2013_tt\Debug\vlc\libvlccore.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>LIBCMTD.lib(atox.obj) : error LNK2005: _atoll already defined in libmingwex.lib(lib32_libmingwex_a-atoll.o)
1>LIBCMTD.lib(strtoq.obj) : error LNK2005: _strtof already defined in libcompat.lib(libcompat.dll)
1>LIBCMTD.lib(strtoq.obj) : error LNK2005: _strtoll already defined in libmingwex.lib(lib32_libmingwex_a-strtoimax.o)
1>LIBCMTD.lib(strtoq.obj) : error LNK2005: _strtoimax already defined in libmingwex.lib(lib32_libmingwex_a-strtoimax.o)
1> Creating library E:\player\windowsVLC\vlc-2.2.1.32-2013_tt\Debug\libvlccore.lib and object E:\player\windowsVLC\vlc-2.2.1.32-2013_tt\Debug\libvlccore.exp
1>libvlccore.exp : warning LNK4078: multiple '.drectve' sections found with different attributes (00000200)
1>libiconv.lib(iconv.o) : warning LNK4217: locally defined symbol __errno imported in function _unicode_loop_convert
1>libintl.lib(dcigettext.o) : warning LNK4049: locally defined symbol __errno imported
1>libintl.lib(loadmsgcat.o) : warning LNK4049: locally defined symbol __errno imported
1>libiconv.lib(iconv.o) : warning LNK4217: locally defined symbol ___mb_cur_max imported in function _wchar_from_loop_convert
1>libmingwex.lib(lib32_libmingwex_a-wcrtomb.o) : warning LNK4049: locally defined symbol ___mb_cur_max imported
1>libmingwex.lib(lib32_libmingwex_a-mbrtowc.o) : warning LNK4049: locally defined symbol ___mb_cur_max imported
1>libintl.lib(plural-exp.o) : warning LNK4217: locally defined symbol _isspace imported in function _libintl_gettext_extract_plural
1>libintl.lib(localealias.o) : warning LNK4049: locally defined symbol _isspace imported
1>libintl.lib(l10nflist.o) : warning LNK4217: locally defined symbol _isalnum imported in function __nl_normalize_codeset
1>libintl.lib(l10nflist.o) : warning LNK4217: locally defined symbol _isalpha imported in function __nl_normalize_codeset
1>libintl.lib(l10nflist.o) : warning LNK4217: locally defined symbol _tolower imported in function __nl_normalize_codeset
1>libintl.lib(localealias.o) : warning LNK4217: locally defined symbol __stricmp imported in function _alias_compare
1>libmingw32.lib(lib32_libmingw32_a-merr.o) : warning LNK4217: locally defined symbol __iob imported in function __matherr
1>libintl.lib(loadmsgcat.o) : error LNK2019: unresolved external symbol __imp___fstati64 referenced in function __nl_load_domain
1>libmingw32.lib(lib32_libmingw32_a-merr.o) : error LNK2019: unresolved external symbol ___setusermatherr referenced in function ___mingw_setusermatherr

1>E:\player\windowsVLC\vlc-2.2.1.32-2013_tt\Debug\vlc/libvlccore.dll : fatal error LNK1120: 2 unresolved externals
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

@sunqueen
Copy link
Owner

Hi.

Can you more explain your problem?
I was compile that with VS2013 update 4.

@commshare
Copy link
Author

HI ,
I compile it with VS2013 update 5,finally when I set all projects Runtime Library to MDd ,the above problems about linking libs disappeared !

Thanks very much !

@sunqueen
Copy link
Owner

Cool ^^

@sunqueen
Copy link
Owner

Hi.
I was to make 2.2.4 version.

https://github.com/sunqueen/vlc-2.2.4.32-2013.git

If you want to get that.

@commshare
Copy link
Author

Hi,
Wonderful work !
Thanks very much !

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