Open ManualReader opened 6 years ago
Which ubuntu version are you using? I tried it on Ubuntu 16.04 and it worked fine. Make sure to install required packages by running "pip install -r requirements.txt" before running "python setup.py install".
same issue Ubuntu 16.04 server
[ 99%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3.cpp.o
In file included from /root/pydnp3/src/AllHeaders.h:215:0,
from /root/pydnp3/src/pydnp3.cpp:38:
/root/pydnp3/src/openpal/container/LinkedList.h:34:42: fatal error: openpal/container/LinkedList.h: No such file or directory
compilation terminated.
CMakeFiles/pydnp3.dir/build.make:62: recipe for target 'CMakeFiles/pydnp3.dir/src/pydnp3.cpp.o' failed
make[2]: [CMakeFiles/pydnp3.dir/src/pydnp3.cpp.o] Error 1
CMakeFiles/Makefile2:70: recipe for target 'CMakeFiles/pydnp3.dir/all' failed
make[1]: [CMakeFiles/pydnp3.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: * [all] Error 2
Traceback (most recent call last):
File "setup.py", line 72, in
This is probably due to having the wrong version of opendnp3 checked out in the submodule. If you are trying to use a newer version of opendnp3, to take advantage of bug fixes there, you may find that pydnp3/deps/dnp3/cpp/libs/include/openpal/container/LinkedList.h in fact does not exist. I want to use a newer opendnp3, but it seems it may not be supported by pydnp3 yet.
I'm trying to get pydnp3 installed on an Ubuntu VM, and am getting the following error. I checked, and the file LinkedList.h exists where the code thinks it should be. Any ideas?