-
Notifications
You must be signed in to change notification settings - Fork 44
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
a problem about math.h #90
Comments
Please add your .adf and the tcecc command line how you try to compile this. |
i just use tremor_exercise/adf/three_bus_std_mul.adf, and i have tried it with/without float FU, i have tried start.adf and other adf provided in the exercise. |
I tried the code below with the same adf and command:tcecc -a x.adf -o my.tpef my.c |
Can you try if the below patch fixes it for you?
|
after adding these words,my case works well |
this is My test code:
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
typedef struct
{
int width;
int height;
int channels;
unsigned char* imageData;
} ClImage;
int main(int argc, char* argv[])
{
0x65,0xa1,0x67,0x67,0xa3,0x6d,0x6f,0xab,0x68,0x6c,0xa8,0x65,0x69,0xa5};
ClImage* img1=(ClImage*)malloc(sizeof(ClImage));
img1->width=2;
img1->height=5;
img1->channels=3;
img1->imageData = (unsigned char*)malloc(sizeof(unsigned char)*30);
img1->imageData=test1;
return 0;
}
when i use tcecc , it says :Error: procedure 'ceilf' not found!
The text was updated successfully, but these errors were encountered: