-
Notifications
You must be signed in to change notification settings - Fork 43
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
Microsoft JScript Runtime Error: 'PHP_OPENCV' is not defined #38
Comments
Hello. Windows is not supported. |
Hello, I made a copy of your wonderful project, and in order to contribute to the project, I did, little and little, and I managed to make it work on windows, I will make the pull request so you can analyze :) |
very nice! |
I did a step by step that was necessary to compile the version for windows, I ask you to kindly analyze the code corrections, because I know very little about c/c++, and I would really like to see this project as an official pecl package, I have certainty that would attract many developers to help you with support and development. |
Hello, initially, thanks for this lib that seems to be very useful for us developers, I'm new to php compilations and I don't have much knowledge about compilation, I already compiled other php dlls for windows, and I had no problems, but when trying to compile the version of php-opencv, in windows environment, I have the problem due to an error : Microsoft JScript Runtime Error: 'PHP_OPENCV' is notdefined
I'm using:
Windows 10
PHP 8.0.2
php-sdk-binary-tools - 2.2.0
Visual Studio 2019 Developer Command Prompt v16.11.17 x64bits
Following the steps in the documentation:
https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2
Log:
Build dir: D:\Php\Php-8.0-sdk\phpdev\vc15\x64\php-src-8.0.20\x64\Release_TS
PHP Core: php8ts.dll and php8ts.lib
Checking for wspiapi.h ...
Enabling IPv6 support
Enabling SAPI sapi\cli
Checking for library edit_a.lib;edit.lib ...
Enabling extension ext\date
Enabling extension ext\hash
Checking for KeccakHash.h ... ext/hash/sha3/generic64lc
Enabling extension ext\json
Enabling extension ext\pcre
Enabling extension ext\reflection
Enabling extension ext\spl
Checking for timelib_config.h ... ext/date/lib
Enabling extension ext\standard
D:\Php\Php-8.0-sdk\phpdev\vc15\x64\php-src-8.0.20\configure.js(6275, 1) Microsoft JScript Runtime Error: 'PHP_OPENCV' is not defined
The text was updated successfully, but these errors were encountered: