What examples specifically are you following? To use the Wire library you’d have to put the library files in the libraries folder. What path are you using? Did you made any changes to the library?
Can you post the complete error you are receiving?
first of all: Thanks for your reply. I'm following the example of "bme280_support.c". Here is my source code: http://climbi.com/b/5116/0. I hope, I understood the comments in the support-file correctly and added the correct functions. The exact error message delivered by the console during runtime is only "Segmentation fault". There is no further information given.
Considering the Wire library: I know how to include that library to my project but as I am not using the Arduino IDE but Eclipse, I do not know how to adjust the syntax of that library to work with Eclipse.
There are threads where this error has been resolved by updating the mraa libraries in Eclipse.
Take a look at the latest reply from Re: Segmentation fault Using example 3_c_onboard_LED_blink .
To upgrade, run:
echo"src mraa-upm http://iotdk.intel.com/repos/1.5/intelgalactic"> /etc/opkg/mraa-upm.conf opkg update opkg install libmraa0