Search found 202 matches

by dkaip
Sat Oct 27, 2018 4:36 am
Forum: wxCode
Topic: Compile from sources the wxPDFView error
Replies: 5
Views: 270

Re: Compile from sources the wxPDFView error

Ok i solved it, must put (FPDF_DOCUMENT) before.
Thank you
Jim.
by dkaip
Fri Oct 26, 2018 8:23 pm
Forum: wxCode
Topic: Compile from sources the wxPDFView error
Replies: 5
Views: 270

Re: Compile from sources the wxPDFView error

How did you configure the pdfview? args.gn --------- # Build arguments go here. # See "gn args <out_dir> --list" for available build arguments. is_debug = true pdf_is_standalone = true pdf_use_skia = false pdf_use_skia_paths = false pdf_enable_xfa = false pdf_enable_v8 = false is_component...
by dkaip
Fri Oct 26, 2018 3:40 pm
Forum: wxCode
Topic: Compile from sources the wxPDFView error
Replies: 5
Views: 270

Re: Compile from sources the wxPDFView error

Which platform? Linux Mint
Which version of the wxPDFView? Last git clone from https://github.com/TcT2k/wxPDFView.git
Which compiler? GCC

Thank you.
Jim
by dkaip
Fri Oct 26, 2018 11:36 am
Forum: wxCode
Topic: Compile from sources the wxPDFView error
Replies: 5
Views: 270

Compile from sources the wxPDFView error

Hello, trying to compile from sources the wxPDFView i am taking error.
What i must do?
I have use https://github.com/TcT2k/wxPDFView.git deposit.
Thank you
Jim.
wxPDFView/src/PDFViewBookmarks.cpp|44|error: invalid conversion from ‘void*’ to ‘FPDF_DOCUMENT {aka fpdf_document_t__*}’ [-fpermissive]
by dkaip
Sat Oct 20, 2018 7:41 am
Forum: wxCode
Topic: Help for wxPDFView builng on windows 10
Replies: 1
Views: 369

Re: Help for wxPDFView builng on windows 10

My mistake, wrong repository. We use only the newer https://github.com/TcT2k/wxPDFView.git. Thank you Jim. C:\>git clone https://github.com/TcT2k/wxPDFView.git Cloning into 'wxPDFView'... remote: Enumerating objects: 1336, done. remote: Total 1336 (delta 0), reused 0 (delta 0), pack-reused 1336 Rece...
by dkaip
Sat Oct 13, 2018 11:24 am
Forum: wxCode
Topic: Help for wxPDFView builng on windows 10
Replies: 1
Views: 369

Help for wxPDFView builng on windows 10

Hello. I am trying to follow step by step instructions at https://github.com/TcT2k/wxPDFView to build wxPDFView, but i making something wrong, i don't know what is it. A help please to a newbie to this. Thank you. Jim. --------------------------------- mkdir pdfium cd pdfium set DEPOT_TOOLS_WIN_TOOL...
by dkaip
Sat Sep 29, 2018 7:06 pm
Forum: wxCode
Topic: Making wxPDFView library
Replies: 0
Views: 150

Making wxPDFView library

Hello. I am trying to making wxPDFView lib in Linux and Windows So Pdfium lib instructions for Linux are exactly as bellow. Linux Mint OS Repository: https://pdfium.googlesource.com/pdfium/ download depot_tools ---------------- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.g...
by dkaip
Thu Sep 27, 2018 8:51 am
Forum: C++ Development
Topic: wxCopyFile when dir dont exist.
Replies: 11
Views: 228

Re: wxCopyFile when dir dont exist.

Ok it works as PB make.
The method is wxFileName(("/home/a/home/a/myfolder/")).Mkdir(wxS_DIR_DEFAULT,wxPATH_MKDIR_FULL);
If / don’t exist at first then puts home/a/home/a/myfolder in current dir.
If / don’t exist at last the myfolder dir dont make it.

Thank you.
Jim.
by dkaip
Thu Sep 27, 2018 7:22 am
Forum: C++ Development
Topic: wxCopyFile when dir dont exist.
Replies: 11
Views: 228

Re: wxCopyFile when dir dont exist.

Ok my wrong, i am new to wxWidgets. I will make as you say. So i make it and nothing happens(there are no permissions issues). Maybe because some directories have Unicode characters? Trying wxMessageBox(dirName); take /home/a/Βίντεο/home/a/Επιφάνεια εργασίας There is some problem maybe with Unicode....
by dkaip
Thu Sep 27, 2018 6:58 am
Forum: C++ Development
Topic: wxCopyFile when dir dont exist.
Replies: 11
Views: 228

Re: wxCopyFile when dir dont exist.

What is the joke? I don’t understand, really. I am try to make a clone of a file in other place, relative to existing dir(/home/a/video). The file is at /home/a/Desktop/folder/to/. All that for non destructive process. I is really important to construct the new directory and then copy the file. The ...
by dkaip
Wed Sep 26, 2018 6:05 am
Forum: C++ Development
Topic: wxCopyFile when dir dont exist.
Replies: 11
Views: 228

Re: wxCopyFile when dir dont exist.

My program runs in /home/a/myfolder/ and i want to make the dir...
dirName=/home/a/video/home/a/Desktop/folder/to/
but wxMkdir(dirName,wxPATH_MKDIR_FULL) don’t makes it.
What i have wrong?
by dkaip
Tue Sep 25, 2018 6:15 pm
Forum: C++ Development
Topic: wxCopyFile when dir dont exist.
Replies: 11
Views: 228

Re: wxCopyFile when dir dont exist.

Yes this is the way. But dirName is like dri1/dir2/dir3 ... and as i see wxMkdir dont make subdirs...
Only if dirName is only one dir name.
Thank you
Jim

Code: Select all

    wxFileName xx(dest);
    wxString dirName =xx.GetPath();
    if (!wxDirExists(dirName))
        wxMkdir(dirName);
by dkaip
Tue Sep 25, 2018 3:30 pm
Forum: C++ Development
Topic: wxCopyFile when dir dont exist.
Replies: 11
Views: 228

wxCopyFile when dir dont exist.

Hello. If i have wxCopyFile(source, dest) and dir of destination file don’t exist, wxCopyFile can make destination dir automatically?
Thank you.
Jim
by dkaip
Sun Sep 16, 2018 9:38 pm
Forum: C++ Development
Topic: Delete an item from wxListCtrl.
Replies: 10
Views: 297

Re: Delete an item from wxListCtrl.

In Linux wxWidgets lib must have problem.
It must works on both OS.
Thank you
Jim.
by dkaip
Sun Sep 16, 2018 11:27 am
Forum: C++ Development
Topic: Delete an item from wxListCtrl.
Replies: 10
Views: 297

Re: Delete an item from wxListCtrl.

For PB code i take error when pick an item... Is library's bug? /usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type But when disable code // wxLogMessage(&...

Go to advanced search