Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

active directory path no work linux #80

Closed
Dayvison opened this issue Jan 8, 2016 · 1 comment
Closed

active directory path no work linux #80

Dayvison opened this issue Jan 8, 2016 · 1 comment

Comments

@Dayvison
Copy link

Dayvison commented Jan 8, 2016

I use this on linux

./pawncc /home/ubuntu/workspace/UGB-RPG/gamemodes/main.pwn -\;+ -\(+ -d2 IN_COMPILE_SCRIPT='1' -o'/home/ubuntu/workspace/UGB-RPG/gamemodes/main.amx' -i'/home/ubuntu/workspace/UGB-RPG/include'

Ok work fine, but this:

-D'/home/ubuntu/workspace/UGB-RPG/gamemodes'

have error, and return

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=-d3)
             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.

In Windows have the argument -Dpath active directory path

Sorry bad english.

@oscar-broman
Copy link
Contributor

Can confirm, I've experienced the same problem.

@Zeex Zeex closed this as completed in 632ab70 Jan 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants