Closed systemshift closed 4 years ago
Hey @systemshift
Nice to see people testing the repo !!
Did you run ./ext_source_setup.sh
and ./prereqs.sh
before running build_PyDP.sh
?
Hi @systemshift Thanks for reporting this, I suspect the latest commits in Google DP library cause this break.
@jeamick yeah, @systemshift did run these other dependencies. As a matter of fact, if he comments out logging.cpp
, it builds successfully.
We need to investigate this further.
Hey @systemshift Thanks for reporting this! I have reproduced the problem on Ubuntu 20.04. Before we fix the building process on Ubuntu 20.04 you can build and use the Docker image.
There is actually an error shown a little earlier in the messages:
src/bindings/PyDP/base/logging.cpp: At global scope:
src/bindings/PyDP/base/logging.cpp:23:17: error: 'string' in namespace 'std::__cxx11' does not name a type
23 | std::__cxx11::string get_log_directory() {
So far I discovered that removing "__cxx11" from this method definition:
std::__cxx11::string get_log_directory() {
return dpb::get_log_directory();
}
like this:
std::string get_log_directory() {
return dpb::get_log_directory();
}
fixes the building process for me, but I don't currently know if it's a good fix or only a hack.
Expected Behavior
running
build_PyDP.sh
should have build PyDP without problems.Current Behavior
it does not compile, likely as a result of the following error:
Steps to Reproduce Behavior
I tried to build it by forking and cloning the repo, and following the contributor guide.
Steps to remove this behavior
By commenting out
/src/bindings/PyDP/base/logging.cpp
the build runs without errorsLogs
Are there any logs?
System information