Windows Build

I installed all dependencies attention to https://github.com/phalcon/zephir/blob/master/WINDOWS.md

F:\mnbox>zephir build
Preparing for PHP compilation...
Preparing configuration file...
Compiling...
Installation is not implemented for windows yet! Aborting!

When i try to zephir build the ext/configure.js opening in visual studio...

is a video for Zephir Windows Installing and Building ?

We created a separated repository with precompiled DLLs.

edited Apr '17

phpinfo();

Zephir Parser


The Zephir Parser delivered as a C extension for the PHP language.
Zephir Parser => enabled
Author => Zephir Team and contributors
Version => 1.0.1
Build Date => Mar 31 2017 19:11:29

When I trying to build zephir ext by Executing ZephirPath>parser>parser>build_win32

F:\php\Zephir\parser\parser>cl lemon.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23026 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

lemon.c
lemon.c(9): fatal error C1034: stdio.h: no include path set

F:\php\Zephir\parser\parser>del parser.c parser.h scanner.c

F:\php\Zephir\parser\parser>re2c -o scanner.c scanner.re

F:\php\Zephir\parser\parser>lemon -s parser.php5.lemon
'lemon' is not recognized as an internal or external command,
operable program or batch file.

F:\php\Zephir\parser\parser>type parser.php5.c  1>parser.c

F:\php\Zephir\parser\parser>type base.c  1>>parser.c

When i trying to build a zephir extension

F:\mnbox>zephir build
Preparing for PHP compilation...
Preparing configuration file...
Compiling...
Installation is not implemented for windows yet! Aborting!

`

i think stdio.h: no include path set is cause of this error and Lemon can't be build.

php , phpdevpack , php sdk

When I trying to build zephir ext by Executing ZephirPath>parser>parser>build_win32

You do not have to use old parser. This command needed for install old parser.

Zephir Parser => enabled

You have installed parser

edited Apr '17

When I trying to build zephir ext by Executing ZephirPath>parser>parser>build_win32

You do not have to use old parser. This command needed for install old parser.

Zephir Parser => enabled

You have installed parser

ok!!

but my problem not fixed ;(

did you known about opening ext/configure.js in visual studio automaticaly?

Thank you!



60
edited Aug '17

I don't know how to run appveyor.yml but I've tried this tutorial https://github.com/phalcon/zephir/blob/master/WINDOWS.md and after solving some issues now I cannot pass 2 issues. One of the issues is that when I try to run C:\zephir\vendor\phalcon\zephir\parser\parser\build_win32.bat (actually I don't know what is its purpose) I get this resuld: http://i.imgur.com/ykDhz1c.png

Then the second issue is when I run "zephir build" it doesn't create a dll file, instead it opens C:\test\project5\utils\ext\configure.js in Notepad++

I have Microsoft Visual Studio 2012 Express on Microsoft Windows 8.1.