Skip to content

error LNK2001: unresolved external symbol "char const * const Aws::Http::CONTENT_TYPE_HEADER" (?CONTENT_TYPE_HEADER@Http@Aws@@3QBDB) Aws::Http::API_VERSION_HEADER" (?API_VERSION_HEADER@Http@Aws@@3QBDB) #1530

Closed
@GitZinger

Description

@GitZinger

Confirm by changing [ ] to [x] below to ensure that it's a bug:

Describe the bug
A clear and concise description of what the bug is.
when calling the S3 functions, the program raised these error, and there is no aws-http.dll. after taking a glance at all s3 header files, did not find any other aws libraries modules to be needed
No idea how to fix it
SDK version number
1.8
Platform/OS/Hardware/Device
What are you running the sdk on?
win10
To Reproduce (observed behavior)
Steps to reproduce the behavior (please share code)

added s3 include/lib/dll files into project,
and tried to connect s3 and called the getobject function

Expected behavior
A clear and concise description of what you expected to happen.
working with aws s3
Logs/output
If applicable, add logs or error output.
error LNK2001: unresolved external symbol "char const * const Aws::Http::CONTENT_TYPE_HEADER" (?CONTENT_TYPE_HEADER@Http@Aws@@3QBDB)

error LNK2001: unresolved external symbol "char const * const Aws::Http::API_VERSION_HEADER" (?API_VERSION_HEADER@Http@Aws@@3QBDB)

fatal error LNK1120: 2 unresolved externals
To enable logging, set the following system properties:

REMEMBER TO SANITIZE YOUR PERSONAL INFO

options.loggingOptions.logLevel = Aws::Utils::Logging::LogLevel::Trace;
Aws::InitAPI(options)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

closing-soonThis issue will automatically close in 4 days unless further comments are made.guidanceQuestion that needs advice or information.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions