IZZndex: src/openscad.cc --- src/openscad.cc.orig +++ src/openscad.cc @@ -60,6 +60,7 @@ #include #include #include +#include #include #include #include @@ -814,7 +815,7 @@ int main(int argc, char **argv) #ifndef __EMSCRIPTEN__ const auto applicationPath = - weakly_canonical(boost::dll::program_location()).parent_path().generic_string(); + boost::filesystem::system_complete(argv[0]).parent_path().generic_string(); #else const auto applicationPath = boost::dll::fs::current_path(); #endif