X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkConfigurationFile.cxx;h=4c6ffe3608d61dbb86f3b3530a7177fd0b87d97f;hb=4a7c20686ae0480a3c522db62ac9b01fdff030a5;hp=e6e7926b58849758ffec64ef0a94f5570c7b80c5;hpb=b7d6fdd0df18c14ba87b1954561c8ec6fb1e7a0a;p=bbtk.git diff --git a/kernel/src/bbtkConfigurationFile.cxx b/kernel/src/bbtkConfigurationFile.cxx index e6e7926..4c6ffe3 100644 --- a/kernel/src/bbtkConfigurationFile.cxx +++ b/kernel/src/bbtkConfigurationFile.cxx @@ -343,7 +343,6 @@ namespace bbtk // ----------------------------------------------------------------- #if defined(__GNUC__) - // ------------------ create some usefull strings ---------------- // installed bbtk_path char bbtk_path[1000]; @@ -353,6 +352,9 @@ namespace bbtk std::string str_home=Utilities::GetEnvHome(); + #if defined(WIN32) + str_home="C:"+str_home; + #endif // rootDirectory char rootDirectory[200]; @@ -387,7 +389,6 @@ namespace bbtk // ------------------------------------------------------------------ #elif defined(WIN32) - // installed bbtk_path char bbtk_path[100]; strcpy(bbtk_path, "\"c:\\Program Files\\BBTK\\bin\"");