{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/zephir/issues/1154","repository_url":"https://api.github.com/repos/phalcon/zephir","labels_url":"https://api.github.com/repos/phalcon/zephir/issues/1154/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/zephir/issues/1154/comments","events_url":"https://api.github.com/repos/phalcon/zephir/issues/1154/events","html_url":"https://github.com/phalcon/zephir/issues/1154","id":123504005,"number":1154,"title":"[Windows] Support x64 for parser compilation","user":{"login":"RenaudParis","id":676896,"avatar_url":"https://avatars.githubusercontent.com/u/676896?v=3","gravatar_id":"","url":"https://api.github.com/users/RenaudParis","html_url":"https://github.com/RenaudParis","followers_url":"https://api.github.com/users/RenaudParis/followers","following_url":"https://api.github.com/users/RenaudParis/following{/other_user}","gists_url":"https://api.github.com/users/RenaudParis/gists{/gist_id}","starred_url":"https://api.github.com/users/RenaudParis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RenaudParis/subscriptions","organizations_url":"https://api.github.com/users/RenaudParis/orgs","repos_url":"https://api.github.com/users/RenaudParis/repos","events_url":"https://api.github.com/users/RenaudParis/events{/privacy}","received_events_url":"https://api.github.com/users/RenaudParis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":48,"created_at":"2015-12-22T15:43:05Z","updated_at":"2016-04-12T05:20:14Z","closed_at":"2016-04-05T13:31:41Z","body":"Hi there,\r\n\r\nI'm trying to get Zephir to work on a Windows 7 64 bits system with PHP 7 NTS (as requested) 64 bits.\r\n\r\nIt fails. Here is what I get:\r\n\r\n> D:\\dev\\PHP\\Ext\\test>zephir build\r\n> zephir_parser extension not loaded, compiling it\r\n> Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86\r\n> Copyright (C) Microsoft Corporation.  All rights reserved.\r\n> \r\n> 'lemon' is not recognized as an internal or external command, operable program or batch file.\r\n> \r\n> D:\\wamp\\www\\zephir\\parser\\parser>REM Build Lemon\r\n> \r\n> D:\\wamp\\www\\zephir\\parser\\parser>cl lemon.c\r\n> lemon.c\r\n> lemon.c(1413): warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(const void *,const void *)'\r\n> cl : Command line error D8027 : cannot execute 'c2'\r\n> \r\n> D:\\wamp\\www\\zephir\\parser\\parser>del parser.c parser.h scanner.c\r\n> \r\n> D:\\wamp\\www\\zephir\\parser\\parser>re2c -o scanner.c scanner.re\r\n> \r\n> D:\\wamp\\www\\zephir\\parser\\parser>lemon -s parser.lemon\r\n> \r\n> D:\\wamp\\www\\zephir\\parser\\parser>type base.c  1>>parser.c\r\n> Preparing for parser compilation...\r\n> ERROR: bison is required\r\n> Compiling the parser...\r\n> \r\n> Microsoft (R) Program Maintenance Utility Version 14.00.23506.0\r\n> Copyright (C) Microsoft Corporation.  All rights reserved.\r\n> \r\n> NMAKE : fatal error U1064: MAKEFILE not found and no target specified\r\n> Stop.\r\n> \r\n> \r\n> PHP Warning:  copy(Release/php_zephir_parser.dll): failed to open stream: No such file or directory in D:\\wamp\\www\\zephir\\Library\\Compiler.php on line 233\r\n> \r\n> Warning: copy(Release/php_zephir_parser.dll): failed to open stream: No such file or directory in D:\\wamp\\www\\zephir\\Library\\Compiler.php on line 233\r\n> Zephir\\Exception: The zephir parser extension could not be found or compiled!\r\n\r\nI followed the instructions here: https://github.com/phalcon/zephir/blob/master/WINDOWS.md\r\n\r\nBut it complains that it \"cannot execute 'c2'\", which I don't know what it means.\r\n\r\nCould someone please help?\r\n\r\nThank you a lot!\r\n"},"comment":{"url":"https://api.github.com/repos/phalcon/zephir/issues/comments/208711800","html_url":"https://github.com/phalcon/zephir/issues/1154#issuecomment-208711800","issue_url":"https://api.github.com/repos/phalcon/zephir/issues/1154","id":208711800,"user":{"login":"umermalik129","id":10339232,"avatar_url":"https://avatars.githubusercontent.com/u/10339232?v=3","gravatar_id":"","url":"https://api.github.com/users/umermalik129","html_url":"https://github.com/umermalik129","followers_url":"https://api.github.com/users/umermalik129/followers","following_url":"https://api.github.com/users/umermalik129/following{/other_user}","gists_url":"https://api.github.com/users/umermalik129/gists{/gist_id}","starred_url":"https://api.github.com/users/umermalik129/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umermalik129/subscriptions","organizations_url":"https://api.github.com/users/umermalik129/orgs","repos_url":"https://api.github.com/users/umermalik129/repos","events_url":"https://api.github.com/users/umermalik129/events{/privacy}","received_events_url":"https://api.github.com/users/umermalik129/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T05:20:14Z","updated_at":"2016-04-12T05:20:14Z","body":"@steffengy I was able to compile ext/app with php src code here is pull request\r\nhttps://github.com/phalcon/zephir/pull/1234"}}