Dear Forum,
I want to render a PDF within my GUI (vs2013 + Qt5 win7 x64). After little research, I decided to use muPDF library
https://github.com/xiangxw/mupdf-qt I compiled the library using CMake.exe (win64) but when it comes to build the solution, I got the following errors:
main.obj : error LNK2019: unresolved external symbol fz_new_context_imp referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_free_context referenced in function main
3>main.obj : error LNK2019: unresolved external symbol fz_new_context_imp referenced in function main
3>main.obj : error LNK2019: unresolved external symbol fz_free_context referenced in function main
3>main.obj : error LNK2019: unresolved external symbol fz_free_outline referenced in function main
3>main.obj : error LNK2019: unresolved external symbol fz_register_document_handlers referenced in function main
3>main.obj : error LNK2019: unresolved external symbol fz_open_document referenced in function main
3>main.obj : error LNK2019: unresolved external symbol fz_close_document referenced in function main
3>main.obj : error LNK2019: unresolved external symbol fz_load_outline referenced in function main
3>C:\Users\massinissa.bandou\Downloads\mupdf-qt-dev\mupdf-qt-dev\mupdf-qt\Build64\bin\Debug\outline_c.exe : fatal error LNK1120: 7 unresolved externals
2>main.obj : error LNK2019: unresolved external symbol fz_pre_scale referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_rotate referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_round_rect referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_transform_rect referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_device_rgb referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_new_pixmap_with_bbox referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_drop_pixmap referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_clear_pixmap_with_value referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_free_device referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_new_draw_device referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_register_document_handlers referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_open_document referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_close_document referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_load_page referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_bound_page referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_run_page referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_free_page referenced in function main
2>main.obj : error LNK2019: unresolved external symbol fz_write_png referenced in function main
2>C:\Users\massinissa.bandou\Downloads\mupdf-qt-dev\mupdf-qt-dev\mupdf-qt\Build64\bin\Debug\exportpage_c.exe : fatal error LNK1120: 20 unresolved externals
1>main.obj : error LNK2019: unresolved external symbol fz_new_context_imp referenced in function main
1>main.obj : error LNK2019: unresolved external symbol fz_free_context referenced in function main
1>main.obj : error LNK2019: unresolved external symbol fz_register_document_handlers referenced in function main
1>main.obj : error LNK2019: unresolved external symbol fz_open_document referenced in function main
I would appreciate any help or guidance on this matter!
Kind Regards,