From: Dominic L. <do...@ya...> - 2003-06-01 19:55:51
|
Hello Omar, --- Omar Benhamid <oma...@ya...> wrote: > Hello, > I'm new to overflow and found it a really amazing > concept of programming. > I'm now trying to write new toolboxes for my personal > needs. But when i put the .def file in the right > directory I find the submenu in New Node menu but > there is nothing in it. After investigation i > understood that all other toolboxes' .so file are > linked to vflow (gflow ...) at compile time. As specified by Jean-Marc, toolboxes are loaded at runtime. Maybe you should have a look at http://robotflow.sourceforge.net. This is a robotics toolkit for Overflow. You should mostly see what's in the .../src/Makefile.am which contains the commands to automatically install the newly created libraries into the proper directory. > Before trying to hack into code to try adding runtime > toolbox loading i prefered writing to this mailing > list asking whether there is a way to tell '.flow' > programs to load a .so at runtime in order to add the > right nodes to the Factory ? > > If not, there are several ways to implement runtime > loading : > 1) some entry in the .flowrc file. > 2) some entry in the .def file. > 3) guess .so filename from the toolbox name. > 4) load anything in ${prefix}/share/overflow/lib > Which do you thing is the best ? That's what we do, but we are looking for .tlb (which are symbolic links to .so files). Good luck, Dominic Létourneau ===== Dominic Létourneau do...@ya... dl...@he... Génie Informatique Université de Sherbrooke __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com |