Which header files are necessary?
abhinandanudupa opened this issue · comments
Hello!
I am working on a project where I have to deploy an inference engine in a very minimal environment where even the math library is not present. While compiling (onnxconf.h) for the platform I found out that the math.h
header file was missing in the platform libraries. Here are some of the headers being used in that header file - onnxconf.h
:
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include <malloc.h>
#include <float.h>
#include <math.h>
#include <list.h>
#include <hmap.h>
Also I have found that in this header file no math function has been used - I hope I am write on this! Correct me if I am wrong
So I was wondering if I could just remove this inclusion of math.h
and still have a functional inference engine?
Just to make things simple compiling a math library would not be desirable but is possible.
Some math function are necessary 。 for example,fabsf function,fabsf
Oh I did not look in to that!
Thank you.