unable to compile recent adchpp builds on linux
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ADCH++ |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi. I've been trying to run a adchpp hub (migrating from ptokax).
The provided Windows binaries for the latest version 2.12.1 works fine, but compiling the source for this newest version on linux fails.
I've tried compiling on Ubuntu 14.04/16.04 x64 (inbuilt in windows 10 bash-on-windows), on Debian Jessie x64, and Raspbian Jessie on my raspberry pi 2B (arm). I referred to this question posted 3-4 years ago https:/
which provided the info to remove the two lines in SConstruct to get the build compiling.
However the binary generated does not run correctly:
adchpp_
Starting.
Core initialized
.Thrown: FileException: Could not open file
Unable to load adchpp.xml, using defaults: FileException: Could not open file
.
2.12.1 (r"[unknown]") Debug running, press ctrl-c to exit...
Logging: 2017-05-21 21:16:16: SocketManager: Starting
Thrown: FileException: Could not open file
LogManager::log: FileException: Could not open file
Thrown: FileException: Could not open file
LogManager::log2: FileException: Could not open file
^CLogging: 2017-05-21 21:16:20: core: Shutting down...
Thrown: FileException: Could not open file
LogManager::log: FileException: Could not open file
Thrown: FileException: Could not open file
LogManager::log2: FileException: Could not open file
Shut downBusy pool objects: 0
I've pasted the scripts files and config files as required (in the same way as in the windows build of adchpp, where it works fine)
I can paste the entire compile log if needed
(it seems to compile fine, with
# collect2 0.68 0.06
Move("build/
scons: done building targets.
at the end)
^This is from my rpi arm build, I've also tried x64 debug build and x64 release build options with the same apparent success in compilation.
I also tried manually doing chmod 777 to all files in the build folder and running as sudo, still the same issues, seems to not be compiling properly.
Make sure you read the install and set up hub part in http:// adchpp. sourceforge. net/user_ guide/basic_ guide.html (this doc is also included in the repo in plain text format).
I think the only issue here is the program can't find/open the default config dir, therefore all config/log/script etc... read/write file operations fail, as it printed to the console.