-
Notifications
You must be signed in to change notification settings - Fork 6
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
Are README.md steps complete? #2
Comments
Hi, This code was only written to 1) demonstrate that writing python wrapper is relatively easy 2) support using an open62541 server in opcua-modeler https://github.com/FreeOpcUa/opcua-modeler. So it only exposes two methods start_server() and stop_server() NOTHING else so it is currently only interesting for someone with good knowledge of python/C/Cython and might be outdated. If you want to use python look at the native python opcua implementation. but yes, a cd command is missing as well as a complete command line (add =ON for example). Feel free to fix that |
Thanks, will do so. I was able to successfully compile open62541 but while running the setup.py script here, running into the below issue: command: Can someone help me in addressing this? I was trying to see if i can write python wrappers for some of the C APIs just like the ones exposed under https://github.com/open62541/open62541-python/blob/master/open62541.pyx. |
Hello @oroulet, Can you help me in getting the open62541 python module compiled? Thanks in advance... |
I updated README and could compile it. although I had to modify ../open62541/build/src_generated/ua_types_generated.h @bvinodkumar2008 I used branch 0.3, there might be some changes in master... a patch is welcome for them |
Thanks @oroulet. I somehow missed your comment, will check with branch 0.3 today and let you know. Also, if it works for branch 0.3, will try to push a patch for master. |
1 similar comment
Thanks @oroulet. I somehow missed your comment, will check with branch 0.3 today and let you know. Also, if it works for branch 0.3, will try to push a patch for master. |
Hi @oroulet , I still see the below error upon running python2.7 setup.py build_ext --inplace against branches 0.3 and tag 0.3-rc2 ( https://github.com/open62541/open62541): running build_ext Observation on master branch ( https://github.com/open62541/open62541):**python setup.py build_ext --inplace** |
Hello,
I am not able to follow the README steps here. Can someone help answering below questions?
In the build step of open62541,
cd build
aftermkdir build
- this is missingcmake -DBUILD_SHARED_LIBS=ON -DUA_ENABLE_FULL_NS0 ..
(i tried executing it from build/ folder) - i got an issue of not a valid key value pair. What value do i need to give for DUA_ENABLE_FULL_NS0Once i get this right, i hope i should be able to generate open62541.so and use it
The text was updated successfully, but these errors were encountered: