pdfium-binaries icon indicating copy to clipboard operation
pdfium-binaries copied to clipboard

FLAG_interpreted_frames_native_stack || !FLAG_jitless not compatible with each other

Open RobertMassart opened this issue 2 years ago • 3 comments

built with V8 enabled but when testing with:

#include "fpdf_libs.h"

int main() { // Determine the path to files in the res folder from the archive const char* resPath = "D:\pdfium-binaries\staging\res\";

// Initialize V8 and other embedded libraries
FPDF_InitEmbeddedLibraries(resPath);

// Make use of PDFium
FPDF_InitLibrary();
FPDF_DestroyLibrary();

}

v8.cc line #178 throws error: CHECK(!FLAG_interpreted_frames_native_stack || !FLAG_jitless)

Do you know how to change build to fix this issue?

RobertMassart avatar Sep 24 '21 18:09 RobertMassart

@TcT2k, do you have any idea?

bblanchon avatar Sep 25 '21 08:09 bblanchon

Also check the path, C language needs double slash \ in strings.

mm2 avatar Sep 25 '21 11:09 mm2

It has double slash, Just cut an paste removed the \ in the string it really is:

    // Determine the path to files in the res folder from the archive
    const char* resPath = "D:\\pdfium-binaries\\staging\\res\\";

I loads the resources no issue. Just something else I'm missing.

RobertMassart avatar Sep 27 '21 13:09 RobertMassart