Coder Social home page Coder Social logo

Comments (5)

Southclaws avatar Southclaws commented on May 23, 2024

I can't help without any information. Please elaborate on the issue you're running into.

from vscode-pawn.

0x1E4 avatar 0x1E4 commented on May 23, 2024

Okay..

Here is my detailed information:
Operating System: Manjaro (Arch Linux)
Pawn version: 3.0.19

I trying to change some settings like adding parameter -Z or -d3, and it shows me YSI error, then i change include folder from pawno to my samp03 folder and the error change differently, then i change my direction to ../include and still error.

Do you have any solution for this?

from vscode-pawn.

Southclaws avatar Southclaws commented on May 23, 2024

Pawn version: 3.0.19

Do you mean 3.10.9? There is no 3.0.19 that I know of.

I trying to change some settings like adding parameter -Z or -d3

-Z+ is necessary with the community compiler, read more here: https://github.com/pawn-lang/compiler/#how-to-use
And d3 is purely for generating debug code, it will make absolutely no difference to the compile-time invocation, warnings/errors or include directories.

it shows me YSI error

What error?

You need to show your directory setup and your tasks.json file as well as the actual problem you're having, it's still guesswork at this point.

It might be worth first just writing a basic shell script to invoke the compiler with your desired options then convert that into the tasks.json format with command and args.

from vscode-pawn.

0x1E4 avatar 0x1E4 commented on May 23, 2024

Sorry i forgot to put tasks.json:

{
    "version": "2.0.0",
    "tasks": [
      {
        "label": "build-normal",
        "type": "shell",
        "command": "pawncc",
        "args": ["\"${relativeFile}\"", "-iinclude", "\"-;+\"", "\"-(+\"", "-Z+"],
        "group": {
          "kind": "build",
          "isDefault": true
        },
        "isBackground": false,
        "presentation": {
          "reveal": "silent",
          "panel": "dedicated"
        },
        "problemMatcher": "$pawncc"
      }
    ]
  }

About the YSI error i got:
YSI Error not found /YSI Code/Y_timers

then if i change directoy of -i
YSI Error not found y_natives

Then i remove -Z / -Z+

non string passing...
foreach not found...
Itter_ not found...
and much more error (1k total warning and error)

But if i trying compile on windows, it's fine, nothing happen.

from vscode-pawn.

ADRFranklin avatar ADRFranklin commented on May 23, 2024

Closing this as an old stale issue, please reopen if you are still having this problem

from vscode-pawn.

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.