From 2b066813d191ace3b9a28138c9fb6bd514e885fe Mon Sep 17 00:00:00 2001 From: Filip Sykala Date: Wed, 13 Oct 2021 11:30:38 +0200 Subject: [PATCH] fix linux --- src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp index 28c8c26f2..74be45ddc 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp @@ -34,6 +34,7 @@ #endif // apple #ifdef __linux__ +#include #include #endif // __linux__ @@ -165,7 +166,7 @@ public: // File exists and is accessible wxString fullFileName = myFileName.GetFullPath(); - return fullFileName.c_str(); + return std::string(fullFileName.c_str()); } }; #endif // __linux__