Forum Discussion
Mohammed_Lami
Occasional Contributor
3 years agoCan't use C libraries to read images or excel files in Cyclone V project
I am struggling in using the libraries of C-language in the ARM development studio IDE version 2021.1 (Intel edition). Let me demonstrate the working environment as follow:
1) Hardware: "ARM Cyclon...
EBERLAZARE_I_Intel
Regular Contributor
3 years agoHi,
- Please replace the .h files with below .h files:
https://github.com/nothings/stb
- Do make clean.
- Place the 3 files same directory your Makefile.
- Include as below in calendar.c
#include <stdio.h>
#include <stdlib.h>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#define STBI_NO_SIMD
- Then Build Project
Please refer below if you face the issue mentioned in my previous respond:
https://developer.arm.com/documentation/dui0474/latest
- Mohammed_Lami3 years ago
Occasional Contributor
Hi
I followed your steps strictly. I think the compiler read the "stb" library successfully. But I got another kind of error as you can see below:
According to the ARM website that you shared, the problem is in the scatter file. However, the project is imported from the workspace of the DS software and it doesn't have a scatter file. Secondly, even if there is a scatter file, what kind of modification should be made on it? thanks for your support