On Wed, 2007-02-21 at 18:08 +0300, lrngate wrote:

> I was check it. Looks like it's a Gtk+/Gtkmm problem with long names.
> When I'm tried to install Gtk+/Gtkmm into C:\Program Files\Synfig
> directory, I have no such error, but have many other errors and no one
> picture/icon in Synfig Studio.

OK, thanks for handling that :)

> About another ⌠error - IPC failed. It's a normal situation. Synfig
> Studio used it for communication between instances. When first
> instance of Synfig Studio started it can't find the named pipe of
> previous instance, so it cause an error, which report we can see. When
> the second instance is started it's found the pipe, sending it's
> command line to first instance of Synfig Studio and terminating then.
> So, it's not an error.

Yep, correct.

> BTW, did you search for function to expand current path to full? How
> about the ETL::absolute_path? It isn't it?

Ah, ETL::absolute_path uses the working directory, which can be
different to the directory that the executable or shared library/dll is
located in.

To find the filename of the exe/dll on Windows, you use
GetModuleFileName, on OS X, you use _NSGetExecutablePath and on Linux
you can readlink /proc/self/exe or search for the library
in /proc/self/maps. Not sure how to do it on other platforms though.

Just found these:

http://autopackage.org/docs/binreloc/
http://www.oroboro.com/rafael/docserv.php/article/news/entry/52/num_entries/1

binreloc is public domain so we can translate that to C++ and include it
in ETL no problem. It doesn't handle Win32 or OS X though, but will be
useful for adding relocation support for Linux.

PS: I added gmatrus to the synfig sourceforge project with admin access.

PPS: Atrus, your emails have weird blocks/characters in them, is there
any chance you could send them in UTF-8 or plain ANSI?

-- 
bye,
pabs

http://wiki.synfig.com/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to