In the end properly compiled spring (libstdc++) and springlobby (libc++) are running fine.
Last time i forgot to statically link boost and that gave me error with libunitsync.dylib, not libstdc++.
Sorry for misleading.
Also to compile springlobby i used moobyfr's cmake fix and
Code: Select all
diff --git a/src/lsl/spring/spring.cpp b/src/lsl/spring/spring.cpp
index 298d986..0612cc6 100644
--- a/src/lsl/spring/spring.cpp
+++ b/src/lsl/spring/spring.cpp
@@ -35,6 +35,8 @@
#include <boost/filesystem/fstream.hpp>
#include <boost/algorithm/string.hpp>
+#include <wx/filename.h>
+
namespace LSL {
namespace BF = boost::filesystem;
@@ -207,7 +209,8 @@ bool Spring::LaunchSpring( const std::string& params )
std::string cmd;// = "\"" + sett().GetCurrentUsedSpringBinary();
#ifdef __WXMAC__
wxChar sep = wxFileName::GetPathSeparator();
- if ( sett().GetCurrentUsedSpringBinary().AfterLast('.') == "app" )
+ std::string binary = Util::config().GetCurrentUsedSpringBinary();
+ if ( binary.substr(binary.rfind('.') + 1) == "app" )
cmd += sep + std::string("Contents") + sep + std::string("MacOS") + sep + std::string("spring"); // append app bundle inner path
#endif
cmd += "\" " + configfileflags + params;