Tiny Core Extensions > TCE News
FlaxPDF pdf reader
nimday:
Good morning , i have a little compiling problem
--- Code: ---make[2]: Entering directory '/tmp/flaxpdf-0.7.2/src'
g++ -g -O2 -pthread -isystem /usr/local/include -isystem /usr/local/include/freetype2 -isystem /usr/local/include -fvisibility-inlines-hidden -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -isystem /usr/local/include/poppler -isystem /usr/local/include -Wall -Wextra -ffunction-sections -fdata-sections -Wl,-O1 -Wl,-gc-sections -Wl,-as-needed -o flaxpdf main.o loadfile.o helpers.o view.o -llzo2 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lfltk_images -lpng -lz -ljpeg -lfltk -lXcursor -lXfixes -lXft -lfontconfig -lXinerama -lpthread -ldl -lm -lX11 -L/usr/local/lib -lpoppler -lXrender -lX11
main.o:(.rodata._ZTI12Fl_PNG_Image[_ZTI12Fl_PNG_Image]+0x8): undefined reference to `typeinfo for Fl_RGB_Image'
view.o:(.rodata._ZTI7pdfview[_ZTI7pdfview]+0x8): undefined reference to `typeinfo for Fl_Widget'
loadfile.o: In function `renderer':
/tmp/flaxpdf-0.7.2/src/loadfile.cpp:190: undefined reference to `omp_get_num_procs'
--- End code ---
Maybe you can give me a clue
Thanks
Juanito:
Does this help:
http://tinycorelinux.net/6.x/x86_64/tcz/src/flaxpdf/compile_flaxpdf
nimday:
--- Quote from: Juanito on December 23, 2015, 11:50:06 PM ---Does this help:
http://tinycorelinux.net/6.x/x86_64/tcz/src/flaxpdf/compile_flaxpdf
--- End quote ---
Thanks it solved the problem and the last issue with omp fixed with -fopenmp switch
I just want to change line 188 from main.cpp to enable other fltk schemes and add icon to file browser
--- Code: ---Fl::scheme("gtk+"); //changed to null
Fl_File_Icon::load_system_icons(); //added
--- End code ---
curaga:
Added the icon line, thanks. configure should have added -fopenmp, I wonder why it failed for you?
nimday:
--- Quote from: curaga on December 26, 2015, 12:33:31 PM ---Added the icon line, thanks. configure should have added -fopenmp, I wonder why it failed for you?
--- End quote ---
I did it again and yes added , maybe i missed something before :-[
Navigation
[0] Message Index
[*] Previous page
Go to full version