Hello All,
I have an API script with strcpy_s functions to copy the data. In windows, it works well. I mean, I can generate .dll files and run the simulations. However, I'm not able to generate .so file in Linux based system. It gives me error " ‘strcpy_s’ was not declared in this scope" when in try to compile using g++ command.
When I use different functions like strcpy and strncpy, I get errors like "invalid conversion from ‘unsigned int’ to ‘const char*’ [-fpermissive]" and "initializing argument 3 of ‘char* strncpy(char*, const char*, size_t)’ [-fpermissive]"
Please help me to resolve this error.
Thanks and regards,
Sujith