-
Notifications
You must be signed in to change notification settings - Fork 34
fatal error: azure_c_shared_utility/xlogging.h: No such file or directory #22
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
Comments
Hi, @Shachar1 Thanks |
Hello, I have the same problems :x |
[ 20%] Building C object CMakeFiles/app.dir/main.c.o |
[ 20%] Building C object CMakeFiles/app.dir/main.c.o |
i am able to fix the problem after doing some changes like copying files & libraries in /usr/local/lib/,/usr/local/include & some changes in iothub_clent( CmakeList.txt) |
@lakshmisivareddy Can you explain which files & libraries you have copied? And what modification you have made to the CMakeList.txt file? Thank you |
my /usr/local/lib snap short
-rw-r--r-- 1 root staff 373338 May 23 10:26 libaziotsharedutil.a
) set(iothub_client_h_files i added parson.h & parson.c files |
hi ,
-- Build files have been written to: /root/Source/azure-iot-sdk-c/cmake/iotsdk_linux
|
I have tried your solution but it is not working. I could no replicate your first step , step1 |
For what it's worth I had similar issues. After looking at your code it seemed to reference stretch. I was running this on an old pi which was running jessie. After upgrading from raspbian jessie to stretch I re-ran the example (sudo ./setup.sh --simulated-data) and things started working much better. You might want to mention your [MS] code is targeting Stretch and either release a jessie version or recommend users upgrade prior to attempting it. |
Moving this issue here two more users facing this same issue @inesk-vt @kuriancjohn: Errors trying to run set up for the C IoT hub sample on Raspberri Pi - linking errors MicrosoftDocs/azure-docs#24308 |
Hi everyone, please try again with the latest bits. I ran through it E2E and it was working fine now, thanks to the PR from @Alberto-Vega-MSFT |
Thanks, it looks like the new drop does address the issue! Was able to get it building successfully and seems to be successfully sending data to IoT Hub. There is one remaining issue - the app runs fine and data seems to flow to Hub, but it does output this ignorable (?) error to the console: pi@InesKRaspberrypi:~/iot-hub-c-raspberrypi-client-app $ sudo ./app 'myAccessKey' |
I always get the error |
I am getting this same error: /home/pi/iot-hub-c-raspberrypi-client-app/main.c:9:10: fatal error: azure_c_shared_utility/xlogging.h: No such file or directory |
Hi, I went into several problems during compilation (including the one mentioned in this thread). All of them went away when I modified setup.sh file: #sudo apt-get purge -y libssl-dev Basically: setup uninstalls libssl-dev and then tries to install libssl1.0-dev, which fails HTH, |
Hello, Thank you |
Hi, It's a real raspberry PI 3. I use "--simulated-data" mode, however, I don't think it's a source of problems. cat /etc/os-release HTH, |
I have same error Her detail explanation of my system: |
Yeah same here, it looks like either I'm not using the "right" version of raspbian, or something else is up. None of the suggestions above seem to work |
Same issue here. Sample is basically worthless. |
When running sudo ./setup.sh I'm getting the following error - fatal error: azure_c_shared_utility/xlogging.h: No such file or directory
I'm guessing the azure_c_shared_utility should be part of the build but I don't see it in the walk through
The text was updated successfully, but these errors were encountered: