zephir-lang / zephir

Zephir is a compiled high-level language aimed to ease the creation of C-extensions for PHP
https://zephir-lang.com
MIT License
3.31k stars 466 forks source link

zephir init do not work #2208

Closed brucelin closed 3 years ago

brucelin commented 3 years ago

Enviroment:

I use zephir init to init an project, but when I compile the extension using zephir compile, it shows me that php_ext.h was not found. I also notice that some other files (like configure,php_phalcon.h) which are needed to comiple the project are also missing. I wonder whether the skeleton to init an project is wrong

Jeckerson commented 3 years ago

Try to use zephir generate before compile.

brucelin commented 3 years ago

Try to use zephir generate before compile.

It solves the problem