Giter VIP home page Giter VIP logo

Comments (5)

kartben avatar kartben commented on September 23, 2024

It's a bit buried in this doc, but you also need to install Bosch-BME68x-Library.

from bosch-bsec2-library.

huggymann avatar huggymann commented on September 23, 2024

thanks man! i didnt see that. I followed the instruction on the main page. solved in #2

from bosch-bsec2-library.

IamGopinath911 avatar IamGopinath911 commented on September 23, 2024

I followed the same procedure and when I ran the bme68x_demo_sample, I encountered the following error in Arduino IDE

Arduino: 1.8.19 (Windows 10), Board: "Adafruit ESP32 Feather, 80MHz, 921600, None, Default"

C:\Users\Gopinath Pugazhendhi\Documents\Arduino\libraries\Bosch-BSEC2-Library-master\examples\bme68x_demo_sample\utils.cpp:42: warning: "_GNU_SOURCE" redefined

#define _GNU_SOURCE

: note: this is the location of the previous definition

C:\Users\Gopinath Pugazhendhi\Documents\Arduino\libraries\Bosch-BSEC2-Library-master\examples\bme68x_demo_sample\utils.cpp: In static member function 'static demoRetCode utils::begin()':

utils.cpp:107:8: error: 'dateTimeCallback' is not a member of 'File' {aka 'FsFile'}

File::dateTimeCallback(dateTime);

    ^~~~~~~~~~~~~~~~

C:\Users\Gopinath Pugazhendhi\Documents\Arduino\libraries\Bosch-BSEC2-Library-master\examples\bme68x_demo_sample\utils.cpp: In static member function 'static bool utils::getFileWithExtension(String&, const String&)':

utils.cpp:162:6: error: 'SdFat' {aka 'class SdFs'} has no member named 'vwd'

_sd.vwd()->rewind(); /* resets the position of the directory */

  ^~~

utils.cpp:163:27: error: 'SdFat' {aka 'class SdFs'} has no member named 'vwd'

while (file.openNext(_sd.vwd(), O_READ))

                       ^~~

exit status 1

'dateTimeCallback' is not a member of 'File' {aka 'FsFile'}

from bosch-bsec2-library.

falkenbergo avatar falkenbergo commented on September 23, 2024

I have the exact same problem. Anyone who can help i would be so glad :)

from bosch-bsec2-library.

kurzdev avatar kurzdev commented on September 23, 2024

@IamGopinath911 @falkenbergo Hey, I hope this is still relevant to you but I've managed to identify the issue with the compilation error Gopinath described. It seems to kind of correlate to this problem here. Thus, the solution is to install version 1.1.4 of SdFat - that fixes the issue and allows to compile 😄

from bosch-bsec2-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.