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

No rule to make target `driver/bme280.o #3

Open
zackdvd opened this issue Oct 8, 2018 · 2 comments
Open

No rule to make target `driver/bme280.o #3

zackdvd opened this issue Oct 8, 2018 · 2 comments

Comments

@zackdvd
Copy link

zackdvd commented Oct 8, 2018

Hi, thanks for your code. I'm having trouble compiling this, is this an issue?
If not maybe you can give me a hint please!

Toolchain path: /Users/dvd/src/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
Python requirements from /Users/dvd/src/esp/esp-idf/requirements.txt are satisfied.
make[1]: *** No rule to make target `driver/bme280.o', needed by `libbme280.a'.  Stop.
make: *** [component-bme280-build] Error 2

Thank you!

@markten
Copy link

markten commented Jan 1, 2019

I believe part of the issue is that doing a standard git clone doesn't pull the BME280 driver from the Bosch repository into the /components/bme280/driver folder.

I was able to get further with that in place, but now I am running into a bunch of errors due to undefined and mismatched datatypes in the main.c file.

@itofficeeu
Copy link

Regards error "No rule to make target 'driver/bme280.o'" during compiling:

CXX build/asio/asio/asio/src/asio.o
AR build/asio/libasio.a
make[1]: *** No rule to make target 'driver/bme280.o', needed by 'libbme280.a'. Stop.
~/esp/esp-idf/make/project.mk:609: recipe for target 'component-bme280-build' failed
make: *** [component-bme280-build] Error 2

Solution:

Copy the files

bme280.c

and

bme280.h

from

https://github.com/BoschSensortec/BME280_driver/tree/cf40d00b0b5139e287b670881c433c0041d98d9f

into

/home/xox/esp/esp-idf/projects/esp32-ota-https/components/bme280/driver

and compile again.

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

3 participants