Hello,
I downloaded snapshot of podofo from SourceForge and tried to build it on
Manjaro Linux, but I encountered an error. Here is part of the error
message:

[ 66%] Linking CXX executable podofocolor
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`LuaConverter::StartPage(PoDoFo::PdfPage*, int)':
luaconverter.cpp:(.text+0x280): undefined reference to `lua_getglobal'
luaconverter.cpp:(.text+0x2d4): undefined reference to `lua_callk'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`LuaConverter::EndPage(PoDoFo::PdfPage*, int)':
luaconverter.cpp:(.text+0x30a): undefined reference to `lua_getglobal'
luaconverter.cpp:(.text+0x35e): undefined reference to `lua_callk'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`LuaConverter::StartXObject(PoDoFo::PdfXObject*)':
luaconverter.cpp:(.text+0x391): undefined reference to `lua_getglobal'
luaconverter.cpp:(.text+0x3be): undefined reference to `lua_callk'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`LuaConverter::EndXObject(PoDoFo::PdfXObject*)':
luaconverter.cpp:(.text+0x3f1): undefined reference to `lua_getglobal'
luaconverter.cpp:(.text+0x41e): undefined reference to `lua_callk'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`LuaConverter::GetColorFromReturnValue(char const*)':
luaconverter.cpp:(.text+0x510): undefined reference to `lua_tonumberx'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`LuaConverter::SetStrokingColorGray(PoDoFo::PdfColor const&)':
luaconverter.cpp:(.text+0x7a0): undefined reference to `lua_getglobal'
luaconverter.cpp:(.text+0x7fb): undefined reference to `lua_callk'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`LuaConverter::SetStrokingColorRGB(PoDoFo::PdfColor const&)':
luaconverter.cpp:(.text+0x872): undefined reference to `lua_getglobal'
luaconverter.cpp:(.text+0x929): undefined reference to `lua_callk'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`LuaConverter::SetStrokingColorCMYK(PoDoFo::PdfColor const&)':
luaconverter.cpp:(.text+0x9a0): undefined reference to `lua_getglobal'
luaconverter.cpp:(.text+0xa85): undefined reference to `lua_callk'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`LuaConverter::SetNonStrokingColorGray(PoDoFo::PdfColor const&)':
luaconverter.cpp:(.text+0xafc): undefined reference to `lua_getglobal'
luaconverter.cpp:(.text+0xb57): undefined reference to `lua_callk'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`LuaConverter::SetNonStrokingColorRGB(PoDoFo::PdfColor const&)':
luaconverter.cpp:(.text+0xbce): undefined reference to `lua_getglobal'
luaconverter.cpp:(.text+0xc85): undefined reference to `lua_callk'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`LuaConverter::SetNonStrokingColorCMYK(PoDoFo::PdfColor const&)':
luaconverter.cpp:(.text+0xcfc): undefined reference to `lua_getglobal'
luaconverter.cpp:(.text+0xde1): undefined reference to `lua_callk'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`imp_lua_objlen(lua_State*, int)':
luaconverter.cpp:(.text._Z14imp_lua_objlenP9lua_Statei[_Z14imp_lua_objlenP9lua_Statei]+0x1c):
undefined reference to `lua_rawlen'
CMakeFiles/podofocolor.dir/luaconverter.cpp.o: In function
`imp_lua_dofile(lua_State*, char const*)':
luaconverter.cpp:(.text._Z14imp_lua_dofileP9lua_StatePKc[_Z14imp_lua_dofileP9lua_StatePKc]+0x24):
undefined reference to `luaL_loadfilex'
luaconverter.cpp:(.text._Z14imp_lua_dofileP9lua_StatePKc[_Z14imp_lua_dofileP9lua_StatePKc]+0x4f):
undefined reference to `lua_pcallk'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/podofocolor/CMakeFiles/podofocolor.dir/build.make:299:
tools/podofocolor/podofocolor] Error 1
make[1]: *** [CMakeFiles/Makefile2:971:
tools/podofocolor/CMakeFiles/podofocolor.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Does anyone knows how to solve it?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to