RE: Compilar GM com vscode - annety -  02/11/2020
 
 
 (02/11/2020 15:13)João Pedro Escreveu:  O processo do LInux e do Windows é o mesmo, basta fazer a substituição do caminho do binário do compilador.  
Então eu to fazendo algo errado no .vscode? 
 
 (02/11/2020 15:36)domingues93 Escreveu:   (27/10/2020 22:18)annety Escreveu:   (05/10/2020 23:17)Gguiz Escreveu:  Assista esse vídeo do Chainksain.  
 (08/10/2020 13:39)annety Escreveu:  esse tutorial é pra windows, como fazer pra transformar esse arquivo do sublime pra um cmd?  (25/10/2020 15:37)Hazard Escreveu:   (25/10/2020 15:06)annety Escreveu:  não queria mais usar o sublime, queria usar o vscode, to usando só pra compilar o GM   
alguem ajuda pls  
veja esse video do chainksain, você irá conseguir 
https://www.youtube.com/watch?v=jITcf95XGgA   
Só baixar e ser feliz. 
Servidor configurado  
Tentei usar o seu .vscode/tasks.json 
 
 
Mas não compila, olha como fica 
Código: [/font][/size][/color] 
[color=#333333][size=small][font=Tahoma, Verdana, Arial, sans-serif]> Executing task: /home/anty/Documents/sampserver/pawno/pawncc /home/anty/Documents/sampserver/gamemodes/TWD.pwn -D/home/anty/Documents/sampserver/gamemodes -i/home/anty/Documents/sampserver/pawno/include '-;+' '-(+' '-d3' < 
 
Pawn compiler 3.10.20150531                    Copyright (c) 1997-2006, ITB CompuPhase 
 
Usage:  pawncc <filename> [filename...] [options] 
 
Options: 
        -A<num>  alignment in bytes of the data segment and the stack 
        -a      output assembler code 
        -C[+/-]  compact encoding for output file (default=+) 
        -c<name> codepage name or number; e.g. 1252 for Windows Latin-1 
        -d<num>  debugging level (default=-d1) 
            0    no symbolic information, no run-time checks 
            1    run-time checks, no symbolic information 
            2    full debug information and dynamic checking 
            3    same as -d2, but implies -O0 
        -e<name> set name of error file (quiet compile) 
        -i<name> path for include files 
        -l      create list file (preprocess only) 
        -o<name> set base name of (P-code) output file 
        -O<num>  optimization level (default=-O1) 
            0    no optimization 
            1    JIT-compatible optimizations only 
            2    full optimizations 
        -p<name> set name of "prefix" file 
        -r[name] write cross reference report to console or to specified file 
        -S<num>  stack/heap size in cells (default=4096) 
        -s<num>  skip lines from the input file 
        -t<num>  TAB indent size (in character positions, default=8) 
        -v<num>  verbosity level; 0=quiet, 1=normal, 2=verbose (default=1) 
        -w<num>  disable a specific warning by its number 
        -X<num>  abstract machine size limit in bytes 
        -XD<num> abstract machine data/stack size limit in bytes 
        -Z[+/-]  run in compatibility mode (default=-) 
        -\      use '\' for escape characters 
        -^      use '^' for escape characters 
        -;[+/-]  require a semicolon to end each statement (default=-) 
        -([+/-]  require parantheses for function invocation (default=-) 
        sym=val  define constant "sym" with value "val" 
        sym=    define constant "sym" with value 0 
 
Options with a value may optionally separate the value from the option letter 
with a colon (":") or an equal sign ("="). That is, the options "-d0", "-d=0" 
and "-d:0" are all equivalent. 
The terminal process terminated with exit code: 3 
 
Terminal will be reused by tasks, press any key to close it.
  
 
 
 
RE: Compilar GM com vscode - HenriqueAra1 -  04/11/2020
 
 
Assista a esse tutorial e tente, consegui por ele. 
Youtube
 
 
 
RE: Compilar GM com vscode - domingues93 -  04/11/2020
 
 
 (02/11/2020 23:39)annety Escreveu:   (02/11/2020 15:13)João Pedro Escreveu:  O processo do LInux e do Windows é o mesmo, basta fazer a substituição do caminho do binário do compilador.  
Então eu to fazendo algo errado no .vscode? 
 
 (02/11/2020 15:36)domingues93 Escreveu:   (27/10/2020 22:18)annety Escreveu:   (05/10/2020 23:17)Gguiz Escreveu:  Assista esse vídeo do Chainksain.  
 (08/10/2020 13:39)annety Escreveu:  esse tutorial é pra windows, como fazer pra transformar esse arquivo do sublime pra um cmd?  (25/10/2020 15:37)Hazard Escreveu:   (25/10/2020 15:06)annety Escreveu:  não queria mais usar o sublime, queria usar o vscode, to usando só pra compilar o GM   
alguem ajuda pls  
veja esse video do chainksain, você irá conseguir 
https://www.youtube.com/watch?v=jITcf95XGgA   
Só baixar e ser feliz. 
Servidor configurado  
Tentei usar o seu .vscode/tasks.json 
 
 
Mas não compila, olha como fica 
Código: [/font][/size][/color] 
[color=#333333][size=small][font=Tahoma, Verdana, Arial, sans-serif]> Executing task: /home/anty/Documents/sampserver/pawno/pawncc /home/anty/Documents/sampserver/gamemodes/TWD.pwn -D/home/anty/Documents/sampserver/gamemodes -i/home/anty/Documents/sampserver/pawno/include '-;+' '-(+' '-d3' < 
 
Pawn compiler 3.10.20150531                    Copyright (c) 1997-2006, ITB CompuPhase 
 
Usage:  pawncc <filename> [filename...] [options] 
 
Options: 
        -A<num>  alignment in bytes of the data segment and the stack 
        -a      output assembler code 
        -C[+/-]  compact encoding for output file (default=+) 
        -c<name> codepage name or number; e.g. 1252 for Windows Latin-1 
        -d<num>  debugging level (default=-d1) 
            0    no symbolic information, no run-time checks 
            1    run-time checks, no symbolic information 
            2    full debug information and dynamic checking 
            3    same as -d2, but implies -O0 
        -e<name> set name of error file (quiet compile) 
        -i<name> path for include files 
        -l      create list file (preprocess only) 
        -o<name> set base name of (P-code) output file 
        -O<num>  optimization level (default=-O1) 
            0    no optimization 
            1    JIT-compatible optimizations only 
            2    full optimizations 
        -p<name> set name of "prefix" file 
        -r[name] write cross reference report to console or to specified file 
        -S<num>  stack/heap size in cells (default=4096) 
        -s<num>  skip lines from the input file 
        -t<num>  TAB indent size (in character positions, default=8) 
        -v<num>  verbosity level; 0=quiet, 1=normal, 2=verbose (default=1) 
        -w<num>  disable a specific warning by its number 
        -X<num>  abstract machine size limit in bytes 
        -XD<num> abstract machine data/stack size limit in bytes 
        -Z[+/-]  run in compatibility mode (default=-) 
        -\      use '\' for escape characters 
        -^      use '^' for escape characters 
        -;[+/-]  require a semicolon to end each statement (default=-) 
        -([+/-]  require parantheses for function invocation (default=-) 
        sym=val  define constant "sym" with value "val" 
        sym=    define constant "sym" with value 0 
 
Options with a value may optionally separate the value from the option letter 
with a colon (":") or an equal sign ("="). That is, the options "-d0", "-d=0" 
and "-d:0" are all equivalent. 
The terminal process terminated with exit code: 3 
 
Terminal will be reused by tasks, press any key to close it.
   
Código PHP: {   "version": "2.0.0",   "tasks": [     {       "label": "build",       "type": "shell",       "command": "${workspaceRoot}/pawno/pawncc",       "args": [         "'${file}'",         "'-D${fileDirname}'",         "'-i${workspaceRoot}/pawno/include'",         "'-;+'",         "'-(+'",         "'-d3'"       ],       "group": {         "kind": "build",         "isDefault": true       },       "isBackground": false,       "presentation": {         "reveal": "always",         "panel": "dedicated"       },       "problemMatcher": "$pawncc"     }   ] } 
 
  
 
 
 
RE: Compilar GM com vscode - annety -  04/11/2020
 
 
 (04/11/2020 12:11)domingues93 Escreveu:   (02/11/2020 23:39)annety Escreveu:   (02/11/2020 15:13)João Pedro Escreveu:  O processo do LInux e do Windows é o mesmo, basta fazer a substituição do caminho do binário do compilador.  
Então eu to fazendo algo errado no .vscode? 
 
 (02/11/2020 15:36)domingues93 Escreveu:   (27/10/2020 22:18)annety Escreveu:   (05/10/2020 23:17)Gguiz Escreveu:  Assista esse vídeo do Chainksain.  
 (08/10/2020 13:39)annety Escreveu:  esse tutorial é pra windows, como fazer pra transformar esse arquivo do sublime pra um cmd?  (25/10/2020 15:37)Hazard Escreveu:  veja esse video do chainksain, você irá conseguir 
https://www.youtube.com/watch?v=jITcf95XGgA   
Só baixar e ser feliz. 
Servidor configurado  
Tentei usar o seu .vscode/tasks.json 
 
 
Mas não compila, olha como fica 
Código: [/font][/size][/color] 
[color=#333333][size=small][font=Tahoma, Verdana, Arial, sans-serif]> Executing task: /home/anty/Documents/sampserver/pawno/pawncc /home/anty/Documents/sampserver/gamemodes/TWD.pwn -D/home/anty/Documents/sampserver/gamemodes -i/home/anty/Documents/sampserver/pawno/include '-;+' '-(+' '-d3' < 
 
Pawn compiler 3.10.20150531                    Copyright (c) 1997-2006, ITB CompuPhase 
 
Usage:  pawncc <filename> [filename...] [options] 
 
Options: 
        -A<num>  alignment in bytes of the data segment and the stack 
        -a      output assembler code 
        -C[+/-]  compact encoding for output file (default=+) 
        -c<name> codepage name or number; e.g. 1252 for Windows Latin-1 
        -d<num>  debugging level (default=-d1) 
            0    no symbolic information, no run-time checks 
            1    run-time checks, no symbolic information 
            2    full debug information and dynamic checking 
            3    same as -d2, but implies -O0 
        -e<name> set name of error file (quiet compile) 
        -i<name> path for include files 
        -l      create list file (preprocess only) 
        -o<name> set base name of (P-code) output file 
        -O<num>  optimization level (default=-O1) 
            0    no optimization 
            1    JIT-compatible optimizations only 
            2    full optimizations 
        -p<name> set name of "prefix" file 
        -r[name] write cross reference report to console or to specified file 
        -S<num>  stack/heap size in cells (default=4096) 
        -s<num>  skip lines from the input file 
        -t<num>  TAB indent size (in character positions, default=8) 
        -v<num>  verbosity level; 0=quiet, 1=normal, 2=verbose (default=1) 
        -w<num>  disable a specific warning by its number 
        -X<num>  abstract machine size limit in bytes 
        -XD<num> abstract machine data/stack size limit in bytes 
        -Z[+/-]  run in compatibility mode (default=-) 
        -\      use '\' for escape characters 
        -^      use '^' for escape characters 
        -;[+/-]  require a semicolon to end each statement (default=-) 
        -([+/-]  require parantheses for function invocation (default=-) 
        sym=val  define constant "sym" with value "val" 
        sym=    define constant "sym" with value 0 
 
Options with a value may optionally separate the value from the option letter 
with a colon (":") or an equal sign ("="). That is, the options "-d0", "-d=0" 
and "-d:0" are all equivalent. 
The terminal process terminated with exit code: 3 
 
Terminal will be reused by tasks, press any key to close it.
   
Código PHP: {   "version": "2.0.0",   "tasks": [     {       "label": "build",       "type": "shell",       "command": "${workspaceRoot}/pawno/pawncc",       "args": [         "'${file}'",         "'-D${fileDirname}'",         "'-i${workspaceRoot}/pawno/include'",         "'-;+'",         "'-(+'",         "'-d3'"       ],       "group": {         "kind": "build",         "isDefault": true       },       "isBackground": false,       "presentation": {         "reveal": "always",         "panel": "dedicated"       },       "problemMatcher": "$pawncc"     }   ] } 
 
   
Msma coisa, acho que já tava igual, eu tinha copiado do seu  
 
 
 
RE: Compilar GM com vscode - domingues93 -  05/11/2020
 
 
Bom eu compilo o meu gamemode com essa configuração no linux mint 20 e não da nenhum problema.
 
 
 
RE: Compilar GM com vscode - annety -  05/11/2020
 
 
ué ;'( 
 
 
teu keybidings.json tá 
Código: { "key": "f5", "command": "workbench.action.tasks.build" }
  
?
 
 
 
RE: Compilar GM com vscode - annety -  14/11/2020
 
 
ainda tenho esperança  
 
 
 
RE: Compilar GM com vscode - annety -  03/01/2021
 
 
po queria mt usar o vscode   
nenhum anjo compilando isso no linux pra me salvar n?
 
 
 
RE: Compilar GM com vscode - annety -  10/01/2021
 
 
alguém?
 
 
 
RE: Compilar GM com vscode - annety -  19/06/2021
 
 
alguém tem alguma ideia? to quase desistindo
 
 
 
 |