Hi!

Today I made another try to get LyX 1.5 running. It finally build with two additional #includes and additional link flags in the CMakeLists.txt (patch attached).

Now, when I try to run it from the commandline it crashes with this error:

(gdb) run
Starting program: /Users/vox/lyx-devel/development/cmake/bin/lyx-qt4
Reading symbols for shared libraries . +............................................................... done terminate called after throwing an instance of 'boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path <std::string, boost::filesystem::path_traits> >'
  what():  boost::filesystem::exists

Program received signal SIGABRT, Aborted.
0x9004796c in kill ()
(gdb) bt
#0  0x9004796c in kill ()
#1  0x9012dc14 in abort ()
#2  0x9567b078 in __gnu_cxx::__verbose_terminate_handler ()
#3  0x95678c08 in __gxx_personality_v0 ()
#4  0x95678c6c in std::terminate ()
#5  0x95678eac in __cxa_throw ()
#6 0x0075d4b4 in boost::throw_exception<boost::filesystem::basic_filesystem_error<boost:: filesystem::basic_path<std::string, boost::filesystem::path_traits> > > () #7 0x007725c8 in boost::filesystem::exists<boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> > ()
#8  0x0077268c in boost::filesystem::exists ()
#9 0x002df290 in lyx::support::(anonymous namespace)::get_binary_path () #10 0x002e2c50 in lyx::support::(anonymous namespace)::abs_path_from_binary_name ()
#11 0x002e32a0 in lyx::support::Package::Package ()
#12 0x002e3b8c in lyx::support::init_package ()
#13 0x00087f0c in lyx::LyX::exec ()
#14 0x000c3cac in main ()
(gdb)


Any ideas?

/Andreas

Attachment: cmake-lyx15-osx.diff
Description: Binary data

Reply via email to