What steps will reproduce the problem?
1.Use cmake to build for VS10
2.Set build to Release, Platform to x64
3.Try to build
What is the expected output? What do you see instead?
Lots of errors. For example the linker has the command line property
/machine:X86 appended, even to x64 Platform.
I started out trying to fix them locally, but got stumped at
1>archive_static.lib(archive_util.obj) : error LNK2019: unresolved external
symbol BZ2_bzlibVersion referenced in function archive_version_details
1>archive_static.lib(archive_read_support_filter_gzip.obj) : error LNK2019:
unresolved external symbol inflateInit2_ referenced in function consume_header
1>archive_static.lib(archive_read_support_filter_gzip.obj) : error LNK2019:
unresolved external symbol crc32 referenced in function consume_header
1>archive_static.lib(archive_read_support_filter_gzip.obj) : error LNK2019:
unresolved external symbol inflateEnd referenced in function consume_trailer
1>archive_static.lib(archive_read_support_filter_gzip.obj) : error LNK2019:
unresolved external symbol inflate referenced in function gzip_filter_read
1>archive_static.lib(archive_read_support_filter_bzip2.obj) : error LNK2019:
unresolved external symbol BZ2_bzDecompressEnd referenced in function
bzip2_filter_read
1>archive_static.lib(archive_read_support_filter_bzip2.obj) : error LNK2019:
unresolved external symbol BZ2_bzDecompress referenced in function
bzip2_filter_read
1>archive_static.lib(archive_read_support_filter_bzip2.obj) : error LNK2019:
unresolved external symbol BZ2_bzDecompressInit referenced in function
bzip2_filter_read
1>C:\source_code\ThirdParty\libarchive-master\bin\bin\Release\bsdcat.exe :
fatal error LNK1120: 8 unresolved externals
when building project bsdcat
What version are you using?
Latest, not sure the #
On what operating system?
Windows 7 ultimate
How did you build? (cmake, configure, or pre-packaged binary)
cmake
What compiler or development environment (please include version)?
Visual Studio 10 Pro (10.0.40219.1)
Please provide any additional information below.
Original issue reported on code.google.com by cbapti...@gmail.com on 19 Nov 2014 at 7:19
Original issue reported on code.google.com by
cbapti...@gmail.com
on 19 Nov 2014 at 7:19