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

Error on build example #376

Open
darlandieterich opened this issue Nov 11, 2020 · 3 comments
Open

Error on build example #376

darlandieterich opened this issue Nov 11, 2020 · 3 comments

Comments

@darlandieterich
Copy link

Hi!

When run the command:
g++ example_client.cpp -lopcuacore -lopcuaclient -lopcuaprotocol -lpthread -lmbedtls -lmbedcrypto -lmbedx509 -o client

has this errors:

/usr/bin/ld: could not be found -lopcuacore
/usr/bin/ld: could not be found -lopcuaclient
/usr/bin/ld: could not be found -lopcuaprotocol
collect2: error: ld returned 1 exit status

Any help?

@pbertoni89
Copy link

Examples should build smoothly with a

mkdir build && cd $_
cmake -DBUILD_SERVER=on -DBUILD_CLIENT=on -DBUILD_PYTHON=off -DBUILD_TESTING=off ..
make -j

Did you tried?

@darlandieterich
Copy link
Author

darlandieterich commented Nov 12, 2020

I tried and the same error message appears

@guojing555
Copy link

guojing555 commented Sep 29, 2022 via email

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

3 participants