XPSDK213 Plugin Dev iostream library missing

0 votes
asked Jan 10 by framet (29 points)
Hi guys

In my plugin I want to convert a double to string with specified precision.
To achieve this i need std::stringstream which requires #include <sstream>

However when I use this x-plane cannot load my plugin due to missing libraries. But sstream is a standart library.

Can you guys guide me to a possible solution to fix this?

Best regards


1 Answer

+1 vote
answered Jan 10 by marys54 (76 points)
edited Jan 10 by marys54

Try using sprintf function instead in iostream. It works ok in my plugin.

Happy flying.
commented Jan 10 by framet (29 points)
Thank you!

Will give it a try tomorrow :D

Welcome to X-Plane Q&A, where you can ask support questions and get answers from members of the community.

This site is for X-Plane support questions only. Please search for existing answers before posting your question. Off-topic questions will be locked.

If you’re new, you’ll need to register before asking your first question.

If your question is answered, click on the check mark to select the best response.