Am Mittwoch, 8. April 2015 um 01:20:42, schrieb Uwe Stöhr <uwesto...@web.de> > Am 07.04.2015 um 12:44 schrieb Jean-Marc Lasgouttes: > > Le 06/04/2015 10:22, Kornel Benko a écrit : > > >> It should not be. According to your previous post, it is unresolved > >> from lyx::theFontMetrics(class lyx::FontInfo const &), but for tex2lyx > >> it is > >> part of 'src/tex2lyx/dummy_impl.cpp'. > > As I understood it tex2lyx uses the info from Length.cpp. Therefore it > uses the new > > int Length::inPixels(MetricsBase const & base) const > { return inPixels(base.textwidth, theFontMetrics(base.font).em()); > } > > definition in Length.cpp and therefore stumbles. > > Georg, could you help us here as tex2lyx expert? > > thanks and regards > Uwe
What you could try, is to change the sequence of source files for tex2lyx. See src/tex2lyx/CMakeLists.txt:38 ATM the ${tex2lyx_sources} are before ${LINKED_sources}, try to switch, e.g. add_executable(${_tex2lyx} ${LINKED_sources} ${tex2lyx_sources} ${tex2lyx_headers} ${LINKED_headers} ${FILE_RC}) This works on linux. The dummy_impl.cpp.o in the link line is now one of the last files. Kornel
signature.asc
Description: This is a digitally signed message part.