Skip to content
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

Undefined functions in Markup.cpp #36

Closed
gaurav713914 opened this issue Jul 14, 2023 · 0 comments
Closed

Undefined functions in Markup.cpp #36

gaurav713914 opened this issue Jul 14, 2023 · 0 comments

Comments

@gaurav713914
Copy link

Some functions in Markup.cpp file are not defined. Please look into the matter and rectify.

I have build the code using CMake MinGW Makefiles (GUI) and encountering the following error while making the files using mingw32-make, in the Markup.cpp file.

`C:\Users\AMD\OneDrive - Indian Institute of Technology Jodhpur\Qualisys\qualisys_cpp_sdk-master\qualisys_cpp_sdk-master\build> mingw32-make`
`[ 20%] Building CXX object CMakeFiles/qualisys_cpp_sdk.dir/Markup.cpp.obj`
`C:\Users\AMD\OneDrive - Indian Institute of Technology Jodhpur\Qualisys\qualisys_cpp_sdk-master\qualisys_cpp_sdk-master\Markup.cpp: In member function 'std::__cxx11::string CMarkup::x_TextToDoc(const char*, bool) const':`
`C:\Users\AMD\OneDrive - Indian Institute of Technology Jodhpur\Qualisys\qualisys_cpp_sdk-master\qualisys_cpp_sdk-master\Markup.cpp:732:44: error: 'strcpy_s' was not declared in this scope`
`    strcpy_s(&pDest[nLen], nDestSize, pFound);`
`                                            ^`
`C:\Users\AMD\OneDrive - Indian Institute of Technology Jodhpur\Qualisys\qualisys_cpp_sdk-master\qualisys_cpp_sdk-master\Markup.cpp: In static member function 'static std::__cxx11::string CMarkup::Format(const char*, ...)':`
`C:\Users\AMD\OneDrive - Indian Institute of Technology Jodhpur\Qualisys\qualisys_cpp_sdk-master\qualisys_cpp_sdk-master\Markup.cpp:1182:80: error: '_vsnprintf_s' was not declared in this scope`
`         int nWritten = _vsnprintf_s(&buffer[0], buffer.size(), len, fmt, marker);`
`                                                                                ^`
`CMakeFiles\qualisys_cpp_sdk.dir\build.make:75: recipe for target 'CMakeFiles/qualisys_cpp_sdk.dir/Markup.cpp.obj' failed`
`mingw32-make[2]: *** [CMakeFiles/qualisys_cpp_sdk.dir/Markup.cpp.obj] Error 1`
`CMakeFiles\Makefile2:81: recipe for target 'CMakeFiles/qualisys_cpp_sdk.dir/all' failed`
`mingw32-make[1]: *** [CMakeFiles/qualisys_cpp_sdk.dir/all] Error 2`
`Makefile:134: recipe for target 'all' failed`
`mingw32-make: *** [all] Error 2`
@gaurav713914 gaurav713914 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant