Home My Page Projects MPTK: The Matching Pursuit ToolKit
Summary Activity Forums Tracker Lists Docs News SCM Files

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Using MPTK on winXP laptop [ Reply ]
By: Arjen Knol on 2008-07-15 11:33
[forum:96376]
Hello Benjamin,

I got the GUI and demo working properly now.

The next step in the project is getting it to work with Matlab2007b. I did see some other threads about this, so that should help me in the right direction.

Thanks for your reply!

with kind regards,
Arjen

RE: Using MPTK on winXP laptop [ Reply ]
By: Benjamin Roy on 2008-07-15 07:56
[forum:96234]
Hello Arjen,

It seems that MPTK could not find the correct environment variable MPTK_CONFIG_FILENAME, please note that the command " Set" can be used in a command window for temporary changes.

A more permanent way to manage environment variables is provided in the System Properties dialog box. Open Control Panel-Performance and Maintenance-System (or right-click on My Computer and choose "Properties"). In the box that opens, click the "Advanced" tab to obtain the dialog box shown below. Next, click the button "Environment Variables" and use the box for adding a new user variable that you set with MPTK_CONFIG_FILENAME and the path to xml file.

Another think is a little mistake in your xml path file a double '/', the correct file may be:

<?xml version="1.0" encoding="ISO-8859-1"?>
<configpath>
<path name="dll_directory" path="C:/MATLAB/MPTK/lib/release" />
<path name="fftw_wisdomfile" path="C:/MATLAB/MPTK/bin/default_fftw_wisdom_file"/>
<path name="reference" path="C:/MATLAB/MPTK/bin/reference"/>
</configpath>

With regards.

Benjamin.


RE: Using MPTK on winXP laptop [ Reply ]
By: Arjen Knol on 2008-07-14 08:56
[forum:95337]
Some additional info

Ive been trying for some time allready. Basically I performed the following steps;
- extracted MPTK-Windows-bin-0-5-5-beta.zip to c:\MATLAB\MPTK
- copied the msvcr71d.dll to c:\windows\system
- ran the commandprompt to set the MPTK_CONFIG_FILENAME to c:\MATLAB\MPTK\path.xml
- edited the path.xml file to:

<?xml version="1.0" encoding="ISO-8859-1"?>
<configpath>
<path name="dll_directory" path="C:/MATLAB/MPTK//lib/release" />
<path name="fftw_wisdomfile" path="C:/MATLAB/MPTK//bin/default_fftw_wisdom_file"/>
<path name="reference" path="C:/MATLAB/MPTK//bin/reference"/>
</configpath>

- ran MPTK-GUI.exe

than the error appears

The graphic user interface does open, but when I try to load dictionaries or wave signals all kinds of errors appear, even when using the demo.
then the GUI shuts down

Using MPTK on winXP laptop [ Reply ]
By: Arjen Knol on 2008-07-14 08:34
[forum:95315]
Hello Benjamin and MPTK users.

I'm interested in using the MPTK, but cannot get it to function properly at all. My objective is to make use of the MPTK in matlab, but since I could not get that to work straight away, I tried using the MPTK-GUI.exe

I wonder if I installed it correct? The error is the dos window when starting up MPTK which repeats five times the same error:

mptk ERROR -- MPTK_Env_c::get_configuration_file<> - Could not find MPTK Env variable with path to config file.
mptk ERROR -- MPTK_Env_c::load_environnement<> - couldn't load the MPTK environmentmptk ERROR -- MPTK_Env_c::get_configuration_file<> - Could not find MPTK Env variable with path to config file.
mptk ERROR -- MPTK_Env_c::load_environnement<> - couldn't load the MPTK environmentmptk ERROR -- MPTK_Env_c::get_configuration_file<> - Could not find MPTK Env variable with path to config file.
mptk ERROR -- MPTK_Env_c::load_environnement<> - couldn't load the MPTK environmentmptk ERROR -- MPTK_Env_c::get_configuration_file<> - Could not find MPTK Env variable with path to config file.
mptk ERROR -- MPTK_Env_c::load_environnement<> - couldn't load the MPTK environment

Any suggestions? I'm stuck and need to get this working with MATLAB2007b

Have a nice monday!

With kind regards,

Arjen