Re: run error
- From: Jonathon Jongsma <jonathon quotidian org>
- To: bruce hawaii-pacific com
- Cc: gtkmm-list gnome org
- Subject: Re: run error
- Date: Sun, 24 Oct 2010 16:20:25 -0500
On Sun, Oct 24, 2010 at 2:03 PM, <bruce hawaii-pacific com> wrote:
> Hi,
>
> I am learning gtkmm with c++ and have compiled and run an app I am working
> on, but when I move the executable to a different directory it gives this
> error. "terminate called after throwing an instance of 'Glib::FileError'
> Aborted". Works fine in the build directory. I am using ubuntu 10.04 and
> gtkmm-2.4.
>
> Thanks
> Bruce
You're apparently trying to load a file via a relative path, so when
you move the executable, the file is no longer accessible. You could
have easily found the problem by running the application in a debugger
and breaking when an exception was thrown (in gdb: 'catch throw').
--
jonner
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]