Giter VIP home page Giter VIP logo

Comments (6)

pklima avatar pklima commented on June 14, 2024 1

@jaw Could you please describe a bit more about your environment?

Because for me on current master (5eb68c0), the size of Debug\fmtd.pdb is 815,104 bytes even if I revert my change from 52a99a6. How did you get this "real" PDB that is bigger?

I'm using VS2022 17.9.5 with:

cmake . -G "Visual Studio 17 2022"
cmake --build .

from fmt.

jaw avatar jaw commented on June 14, 2024

Or alternatively: maybe only do this if the compiler actually is msvc2017...

from fmt.

vitaut avatar vitaut commented on June 14, 2024

PDB file is generated in the cmake build directory which is invalid

Could you elaborate why is it invalid and which directory would you expect it to be?

from fmt.

milianw avatar milianw commented on June 14, 2024

could it be that the issue lies in the fact that the CMAKE_BINARY_DIR is used? That's not where the .lib is being put necessarily, instead CMAKE_LIBRARY_OUTPUT_DIRECTORY is used which might point to a different location.

from fmt.

jaw avatar jaw commented on June 14, 2024

PDB file is generated in the cmake build directory which is invalid

Could you elaborate why is it invalid and which directory would you expect it to be?

Yes, I wasn't totally clear in my wording; the PDB file is corrupt, at least according to breakpad's dump_syms. Looking at it, it's smaller than the "real" working one, ~700k instead of >2MB.

from fmt.

vitaut avatar vitaut commented on June 14, 2024

It seems strange to me that the PDB file would be corrupt if you change the output directory. This might indicate a bug in a specific version of MSVC so I recommend reporting to Microsoft although I'm not opposed to a workaround. Closing for now but feel free to reopen with more details/repro per @pklima's comment.

from fmt.

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.