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: MPD - No library found in... [ Reply ]
By: RĂ©mi Gribonval on 2008-08-04 14:09
[forum:98263]
Hi Pierre,

This is weird. I just checked on my Mac (under 10.5, with CMake 2.4-patch 5, GNU make 3.81) that the default commands listed at the bottom of this mail compile all necessary dylib and put them into MPTK-Source-0.5.6/build/lib/.

Which version of MPTK were you using, and which tools did you use to compile ? Xcode or command line tools ? With the command line tools, did you type 'make install' ?

Please try to perform a new download+untar+ cmake + ccmake + make and check the relevant error and warning informations during the make process.

>On OSX, should not MP_Dll_Manager::load_dll be with dylib rather dll?
The name of this function is just an internal convention for MPTK, it could be called MP_DynamicLibrary_Manager::load_library without changing its behaviour. Under OSX it actually deals with dylibs.

I hope this helps,

Cheers,

Warning : Copying the content of the lib/ directory from a previous version of MPTK will not help and will generate unpredictable results. Changing the LD_LIBRARY_PATH will have the same result if you cannot first locate where your libraries have been compiled.

Remi.
---
The build directory is 'MPTK-Source-0.5.6/build' and the commands used are
> pwd
/Users/remi/MPTK-Source-0.5.6
> cd build/
> cmake ..
[...]
> ccmake .
[... configure and generate with default settings]
> make
[....]
Then all necessary libraries are built and put in build/lib/.

RE: MPD - No library found in... [ Reply ]
By: chris layman on 2008-08-01 01:17
[forum:98247]
i fixed this by just copying the lib folder from the previous version.

but now i have the error:

mptk ERROR -- MP_Book_c::print(fname,mask) - Could not open file book.bin to print a book.

do i have to create this file book.bin before executing mpd?

thanks


RE: MPD - No library found in... [ Reply ]
By: chris layman on 2008-08-01 00:08
[forum:98246]

hey I have the same problem, the lib folder has only plugin-info.txt in it.



RE: MPD - No library found in... [ Reply ]
By: Pierre Pasquetje on 2008-08-01 00:01
[forum:98245]
Should I set LD_LIBRARY_PATH to another lib folder ? I do not know which one...

MPD - No library found in... [ Reply ]
By: Pierre Pasquetje on 2008-07-31 23:56
[forum:98244]
Hello,

I have compiled everything without any problem for Mac-Intel OS 10.4.11. MPTK is built in the "go" folder. I have set all the paths properly.

When I first run MPD, I get the following error :
mptk ERROR -- MP_Dll_Manager::load_dll - No library found in '/Applications/mptk/MPTK-Source-0.5.6/go/lib'
Indeed, my lib folder only has the "plugin-info.txt" file.

Do you know why ?

On OSX, should not MP_Dll_Manager::load_dll be with dylib rather dll?

Thank you VERY much!