Napsty / check_bme680

Monitoring plugin for Bosch BME680 gas sensor
GNU General Public License v3.0
1 stars 0 forks source link

make fail because updated BSEC libary 1.4.9.2 #2

Open dee8een0 opened 2 years ago

dee8een0 commented 2 years ago

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 https://github.com/alexh-name/bsec_bme680_linux/issues/21#issue-714298844 ?

Napsty commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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