Open badstraw360 opened 5 years ago
The problem seems to originate due to folder changes in the lib.
in init.py we can see that arch is set here:
return 'Normal_version/RaspberryPI/PiZero_ArmV6-32bits'
and later used with:
build_command = [ 'cc', '-Wall', '-Wno-unused-but-set-variable', '-Wno-unused-variable', '-static', '-iquote{}/API'.format(src_dir), '-iquote{}/algo/bin/{}'.format(src_dir, lib_arch), '-iquote{}/examples'.format(src_dir), '{}/API/bme680.c'.format(src_dir), '{}/examples/bsec_integration.c'.format(src_dir), '{}/bsec-library.c'.format(src_dir), '-L{}/algo/bin/{}'.format(src_dir, lib_arch), '-lalgobsec', '-lm', '-lrt', '-o', exec_dst ]
This will give you a path that with this: '-iquote{}/algo/bin/{}'.format(src_dir, lib_arch),
so the path becomes /algo/bin/Normal_version/RaspberryPI/PiZero_ArmV6-32bits
but the folder structure from new release is: BSEC_1.4.7.4_Generic_Release/algo/normal_version/bin/RaspberryPI/PiZero_ArmV6-32bits
i am not sure if the capital N is a problem to, but the easiest fix would be to just remove /algo/bin and put /algo/ then where we set the arch just add bin after normal_version and put N to lower :)
I’ll take care of this sometime this week! Sorry for the delay in getting to this, I was out of town when you opened this issue and it slipped my mind when I got back!
I hope you have time soon to update the library, this is the only software that I found which is useful for this sensor.
I have fixed the code and are currently running it on my Pi, i can put the changes in a PR, so that you at least can make it work in wait for a fix :) it's not that much, I can push it tomorrow :)
I have fixed the code and are currently running it on my Pi, i can put the changes in a PR, so that you at least can make it work in wait for a fix :) it's not that much, I can push it tomorrow :)
thanks man, I would appreciate that !!!!
Sorry guys, I got caught up with work and other projects. I have the new code working, I’ll clean it up and upload it today.
Sorry about the delay!
Sorry guys, I got caught up with work and other projects. I have the new code working, I’ll clean it up and upload it today.
Sorry about the delay!
Hey Timothy! I hope you can give us a hand to update the software, I think it’s really amazing how good it works, it’s truly very helpful.
Would you update the software please??? It doesn't work anymore with the latest library..
PLEEEEEASE ...
I´d also be very happy about the updated software!
I forked the repo currently running the updated code. Have a look at the changes or use the fork 😊 @m4
https://github.com/jonizen/BSEC-Conduit
I´d also be very happy about the updated software!
Would you update the software please??? It doesn't work anymore with the latest library..
PLEEEEEASE ...
In the meantime BOSCH went forward with its library to version 1.4.8.0.
Some files are on a different location: now: BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bme680.c now: BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.c now: BSEC_1.4.8.0_Generic_Release/examples/bsec_iot_example/bsec_integration.h
ARCH does distinguish now between "PiThree_ArmV6" (32bit?) and "PiThree_ArmV8" (64bit?) (directory is now "RaspberryPi")
Your software is amazing!! Is it possible to update the code to support the latest library please?
Bosch just released version v1.4.7.4, and now after upgrading I'm getting this error message:
I would appreciate your help. :)