summaryrefslogtreecommitdiff
path: root/etc/FOSSEE_Optimization_Toolbox.start
diff options
context:
space:
mode:
Diffstat (limited to 'etc/FOSSEE_Optimization_Toolbox.start')
-rw-r--r--etc/FOSSEE_Optimization_Toolbox.start5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/FOSSEE_Optimization_Toolbox.start b/etc/FOSSEE_Optimization_Toolbox.start
index 5ab588a..799e815 100644
--- a/etc/FOSSEE_Optimization_Toolbox.start
+++ b/etc/FOSSEE_Optimization_Toolbox.start
@@ -11,6 +11,9 @@
mprintf("Start FOSSEE Optimization Toolbox\n");
+[a, opt] = getversion();
+Version = opt(2);
+
etc_tlbx = get_absolute_file_path("FOSSEE_Optimization_Toolbox.start");
etc_tlbx = getshortpathname(etc_tlbx);
root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") );
@@ -30,7 +33,7 @@ mprintf("\tLoad gateways\n");
Version = opt(2);
ilib_verbose(0);
if getos()=="Windows" then
- lib_path = root_tlbx + "/thirdparty/windows/lib/" + Version;
+ lib_path = root_tlbx + "/thirdparty/windows/bin/" + Version;
link(lib_path+filesep()+"IpOptFSS.dll");
link(lib_path+filesep()+"IpOpt-vc10.dll");
else