Skip to content
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

NEW Library unsupported #6

Open
badstraw360 opened this issue Jul 10, 2019 · 11 comments
Open

NEW Library unsupported #6

badstraw360 opened this issue Jul 10, 2019 · 11 comments

Comments

@badstraw360
Copy link

badstraw360 commented Jul 10, 2019

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:

Captura de Pantalla 2019-07-10 a la(s) 14 36 44

I would appreciate your help. :)

@jonizen
Copy link

jonizen commented Aug 11, 2019

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 :)

@timothybrown
Copy link
Owner

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!

@badstraw360
Copy link
Author

I hope you have time soon to update the library, this is the only software that I found which is useful for this sensor.

@jonizen
Copy link

jonizen commented Sep 1, 2019

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 :)

@badstraw360
Copy link
Author

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 !!!!

@timothybrown
Copy link
Owner

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!

@badstraw360
Copy link
Author

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.

@badstraw360
Copy link
Author

Would you update the software please??? It doesn't work anymore with the latest library..

PLEEEEEASE ...

@m4dm4xi
Copy link

m4dm4xi commented Jan 12, 2020

I´d also be very happy about the updated software!

@jonizen
Copy link

jonizen commented Jan 12, 2020

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 ...

@c64emulator
Copy link

c64emulator commented Oct 7, 2020

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")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants