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: Mex File Error [ Reply ]
By: RĂ©mi Gribonval on 2009-01-26 09:20
[forum:101452]
Dear Corey,

These look like two separate known bugs which should be fixed in the next source release that Boris Mailhe is preparing.

The "Two path variable ..." messages are likely due to the fact that two instances of the share library libmptk can be loaded when using the Matlab interface on the Mac.

The "What() is:basic_string::_S_construct NULL not valid" exception seems due to missing fields in the path.xml configuration file, in particular "defaultAnywaveTable". This exception causes problems not only under Matlab but with the command line utilities too, and is probably the reason for your second post. It shall also hopefully be fixed in the upcoming release.

Mex File Error [ Reply ]
By: Corey Kereliuk on 2009-01-23 23:02
[forum:101447]
I am having trouble getting the mex interface to MPTK working properly. MPTK installed and works fine. I get the following error however, when trying to run any of the mex files in Matlab:

mptk WARNING -- MPTK_Env_c::load_environment() - Two path variable with the same name=dll_directory in config file
mptk WARNING -- MPTK_Env_c::load_environment() - Two path variable with the same name=fftw_wisdomfile in config file
mptk WARNING -- MPTK_Env_c::load_environment() - Two path variable with the same name=reference in config file
mptk WARNING -- MPTK_Env_c::load_environment() - Two path variable with the same name=defaultDict in config file
mptk WARNING -- MPTK_Env_c::load_environment() - Two path variable with the same name=defaultAnyWaveDict in config file
mptk WARNING -- MPTK_Env_c::load_environment() - Two path variable with the same name=defaultAnyWaveTable in config file
mptk WARNING -- MPTK_Env_c::load_environment() - Two path variable with the same name=defaultAnyWaveTableData in config file
mptk WARNING -- MPTK_Env_c::load_environment() - Two path variable with the same name=defaultMixer in config file
mptk WARNING -- MPTK_Env_c::load_environment() - Two path variable with the same name=defaultDictList in config file
mptk WARNING -- MPTK_Env_c::load_environment() - Two path variable with the same name=exampleBook in config file
mptk WARNING -- MPTK_Env_c::load_environment() - Two path variable with the same name=exampleSignal in config file
??? Unexpected Standard exception from MEX file.
What() is:basic_string::_S_construct NULL not valid


I haven't been able to track down the problem. Any insight would be much appreciated.

Here are my system Specs:

I am on an Intel Mac
Leopard 10.5.6
Matlab R2008b (7.7.0)
gcc/g++ 4.2

Thanks!

Corey