Skip to content

Windows build #85

@boyanio

Description

@boyanio

Has anyone succeeded in building it for Windows? I have VC++ 2017 and what I did was:

  • Downloaded the SDK tools for PHP 7.1
  • Ran phpize.bat in the src folder to generate configure.bat
  • Ran configure.bat
  • Ran nmake, but got I lot of compilation errors like:
...\src\wasm.cc(124): warning C4003: not enough arguments for function-like macro invocation 'ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX'
...\src\wasm.cc(124): error C2059: syntax error: ','
...\src\wasm.cc(124): error C2143: syntax error: missing ';' before '}'
...\src\wasm.cc(124): error C2059: syntax error: '}'
...\src\wasm.cc(125): error C2059: syntax error: '}'
...\src\wasm.cc(125): error C2143: syntax error: missing ';'

I tried adding /std:c++14 to the cl.exe args, but to no avail. Any tips would be appreciated :)

Metadata

Metadata

Assignees

Labels

❓ questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions