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

Visual studio project: Release config has an invalid Runtime libray #408

Open
barberousseqc opened this issue Jul 13, 2023 · 0 comments
Open

Comments

@barberousseqc
Copy link

On Windows 10, using the Release libs we got an issue caused by an invalid parameter in the Release config. We tried with Visual Studio 2019 and 2022.

Using this as a reference : https://github.com/FreeOpcUa/freeopcua/#readme

  • using boost 1.83 from Github
  • clone freeopcua
  • mkdir build
  • cd build

We create the solution-project using this command line:
cmake .. -DBOOST_ROOT="C:\DEV\boost1_83" -DBOOST_LIBRARYDIR="C:\DEV\boost1_83" -DBoost_USE_STATIC_LIBS=ON

Open the solution
projects : opcuacore / opcuaprotocol / opcuaclient / example_client

  • properties / C/C++ / Code Generation / Runtime library
  • It's set to Multi-threaded debug DLL ( /MDd )
  • but it should be: Multi-threaded DLL ( /MD )

freeopcuaRelease

Is it one of our CMAKE parameters oar a missing option ?

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

1 participant