Giter Club home page Giter Club logo

Comments (3)

kripken avatar kripken commented on June 18, 2024
binaryen\src\parser\wat-parser.cpp : fatal  error C1128: number of sections exceeded object file format

Hmm, I'm not familiar with Visual Studio but I'm guessing that means we are running into some internal limitation there.

I believe this file also compiles very slowly atm due to the many templates - is that right @tlively ? I seem to recall you might have had an idea for how to improve that. If so that plan might also help avoid this VS limitation I'd hope.

from binaryen.

tlively avatar tlively commented on June 18, 2024

Yeah, splitting things up to improve the compile time might also fix this problem.

In the meantime, it looks like there is a /bigobj flag that should resolve this.

from binaryen.

haley-dot-yang avatar haley-dot-yang commented on June 18, 2024

As I posted in the last figure, I added the compiling flag /bigobj in Visual Studio, but it does not help to resolve this problem.
Now I switched to VS Code, and it can debug now. Here is my VSCode CMake Project Status Settings
image
It confused me so much: when I run Debug in Visual Studio, it failed; however, if I debug in VS Code with Visual Studio Toolchain (as shown in the figure in this comment), it works. Orz

from binaryen.

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.