Nitin
Nitin

Reputation: 11

compilation error in asn.h in wolfssl upgrade for windows

I am facing an issue while upgrading wolfssl to 4.4.0 in internal tool.

Any help/hints would be highly appreciated.

Below are the steps/process followed to do so -

wolfssl-4.4.0 code copied to tool/main project.

wolfssl-4.4.0 added as a project in the tool Solution/sln.

Required macros have been enabled in wolfssl-4.4.0 project.

Dir-Path for the output library is configured.

Newly added wolfssl-4.4.0 project compiled & lib is generated in the configured dir.

Now the startup project / main project "test tool" is configured for newly added wolfssl-4.4.0 - Include directory path is updated in Test tool.

The Required macros have been enabled in the Test tool.

On the start of the build compilation -

all the sub-projects compiled successfully.

Encounters compilation error the moment it starts "Test tool"/main project/startup project compilation.

Error is pointing to wolfssl file, error is -

wolfssl-4.4.0\wolfssl\wolfcrypt\asn.h(75) : error C2059: syntax error : 'string'

Error code & location seems to not be very useful to resolve it. Note - MVS2008 has been used to build test tool.

We have verified below mentioned possible missing configurations -

  1. All required macro.
  2. Include path for directory.
  3. Library path & generation.
  4. Availability of required files.
  5. configuration - comparison with existing library which is working well.

Please suggest anything which can help us to resolve mentioned error. Thanking You.

Upvotes: 0

Views: 56

Answers (0)

Related Questions