siemens / siemens/libsecutils

Cannot compile on Windows and Visual Studio 2022

Open
#59 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
6
Forks
7
Avg merge
2d 15h
Merged PRs (30d)
1

Description

I am trying to use the gencmp client on a cross platform solution (Linux / windows) but unfortunately i cannot make it compile on windows due to some errors:

Also on linux which was able to compile the solution I was no able to 'use' the libgencmp due to some mismatches in the documentation such as 'STORE_load()' method that in the documentation examples the method requires two attributes but when trying to compile it shows an error that requires THREE attributes, is it possible to have a reliable example to start working with the library?
cmake result
vs compilation result
STORE_load documentation
STORE_load terminal error

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the gencmp client build with CMake and Visual Studio 2022, then compare the documented STORE_load() example with the library's actual signature. Use the attached compilation and terminal errors to identify the Windows failure and API mismatch. Done means the client compiles on Windows and a reliable STORE_load() example works on Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cmake
Domain
build-system, documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.