Giter Club home page Giter Club logo

Comments (4)

galkahana avatar galkahana commented on July 20, 2024

what makes you think it finds any symbol?
do either one of the following:

  1. remove libPDFWriter.a and compile again. if you get the same errors...well it just doesn't find it
  2. try using the cmake builds "https://github.com/galkahana/PDF-Writer/wiki/Building-and-running-samples#building-with-cmake". see if it fairs better. compare.

Gal.

from pdf-writer.

jbierling avatar jbierling commented on July 20, 2024

(1). If libPDFWriter.a is removed, it doesn't find any of the symbols. From 47 missing to 200+. Its finding the lib just fine, but unable to find some of the symbols. I'm not sure what makes them special. BTW, Shutdown() is another missing one and I do see this:
nm -m libPDFWriter.a | grep Shutdown
0000000000000d30 (__TEXT,__text) external __ZN9PDFWriter8ShutdownERKSs
0000000000004938 (__TEXT,__eh_frame) external __ZN9PDFWriter8ShutdownERKSs.eh

So it seems to be in the lib, but unable to find it for some reason. Weird.

(2). I'll take a look and see if I can try it.

from pdf-writer.

galkahana avatar galkahana commented on July 20, 2024

k. see if cmake works. then maybe some of the files were missing during the compiling of libPDFWriter.a (like OutputFile), which makes less sense. what makes more sense is that libPDFWriter.a and PDFWriterTestPlayground are compiled using different settings around the definition of std::string, which would amount from compiling against different versions of stdlib. try matching the compilation settings, then.

from pdf-writer.

jbierling avatar jbierling commented on July 20, 2024

Good call on the different settings. I'd recreated the Playground project and inadvertently carried over inconsistent compilation settings. Thanks.

from pdf-writer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.