22/08/2013 23:54, Enrico Forestieri:
Because of errors at link time. I still get them when removing the
declaration:

   CXXLD  tex2lyx
../../src/support/liblyxsupport.a(filetools.o): In function 
`lyx::support::latexEnvCmdPrefix(std::string const&)':
filetools.cpp:(.text+0x4d5c): undefined reference to `lyx::lyxrc'
filetools.cpp:(.text+0x4d74): undefined reference to `lyx::lyxrc'
../../src/support/liblyxsupport.a(filetools.o): In function 
`lyx::support::imageLibFileSearch(std::string&, std::string const&, std::string 
const&)':
filetools.cpp:(.text+0x637e): undefined reference to `lyx::lyxrc'
filetools.cpp:(.text+0x6393): undefined reference to `lyx::lyxrc'
collect2: error: ld returned 1 exit status


I really thought I tried it :) Anyway, I replaced the code by something slightly different.

Thanks.
JMarc

Reply via email to