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

make fail because updated BSEC libary 1.4.9.2 #2

Open
dee8een0 opened this issue Aug 13, 2022 · 3 comments
Open

make fail because updated BSEC libary 1.4.9.2 #2

dee8een0 opened this issue Aug 13, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@dee8een0
Copy link

Hi,

I downloaded the current BSEC libary 1.4.9.2.
But make.sh fails and it seems like the dirctory structure has changed.

raspberrypi:~/check_bme680 > ./make.sh
BSEC directory missing.
raspberrypi:~/check_bme680 > find ./ -name "bsec"
./src/Arduino/bsec

Related alexh-name/bsec_bme680_linux#21 (comment) ?

@Napsty
Copy link
Owner

Napsty commented Aug 13, 2022

Did you try to adjust the version number in the path in https://github.com/Napsty/check_bme680/blob/master/make.config#L1 ? Does it work if you adjust it?

@dee8een0
Copy link
Author

Sorry, I did not adjust BSEC_DIR. But make still fails with the correct BSEC_DIR.

raspberrypi:~/check_bme680 > ./make.sh 
Patching...
2 out of 2 hunks FAILED
Already applied.
Compiling...
cc: error: ./src/bsec_1.4.9.2_generic_release/API/bme680.c: No such file or directory
raspberrypi:~/check_bme680 > cat make.config | grep release
BSEC_DIR='./src/bsec_1.4.9.2_generic_release'
raspberrypi:~/check_bme680 > ls src/bsec_1.4.9.2_generic_release/
 algo   Arduino  'BSEC Binary Size Information.pdf'   config  'D01_518_Release Notes_BSEC_1.4.9.2websiterelease_06132022.pdf'   examples  'integration guide'   readme_API.txt   readme_BSEC_In_Arduino.txt
raspberrypi:~/check_bme680 > ls src/bsec_1.4.9.2_generic_release/Arduino/bsec/
examples  keywords.txt  src

@Napsty
Copy link
Owner

Napsty commented Aug 18, 2022

@dee8een0 i looked at this today and you're right. The structure inside the newest BSEC 1.4.9.2 zip file has changed a lot. And even by using the newest make.config and make.sh from https://github.com/alexh-name/bsec_bme680_linux the compiling fails. Even after manually fiddling around with make.sh it fails.

@Napsty Napsty added the bug Something isn't working label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants