glEx(“T.glb”,&gl_ex_list[0],&gl_no_of_ex);
You probably define: glEx(char *, ...)
You need: glEx(const char *, ...)
glEx(const char *, “T.glb”,&gl_ex_list[0],&gl_no_of_ex);
GIves error: expected primary-expression before ‘const’
You need to modify the definition of this function, not the place where it is called.
/***************************************************************************
-
M A I N P R O G R A M *
***************************************************************************/
int main(int argc, char *argv[])
{
/* Define standard param) */
double true_sdm = 7.6e-5;
double true_ldm = 2.4e-3 + true_sdm;
gl(argv[0]);
/* Initialize experiment */
glEx(“T.glb”,&gl_ex_list[0],&gl_no_of_ex);
Where do I define that?
It seems you need to talk to the author of your source code.
glEx((char *)“T.glb”,&gl_ex_list[0],&gl_no_of_ex); this worked. Thank You.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.