Comments (14)
Thanks for the report. This kind of error usually means your Visual Studio install is broken. I'd advise to retry on some clean machine, with the core only first, or maybe try to reinstall VS.
Thanks.
from php-sdk-binary-tools.
I've installed (and just reinstalled) only the vs build tools. It used to work before I've updated the dependencies. Also (don't know if relevant) I'm using the x86 x64 cross compiler, because I've never had the x64 native one... who knows why. I do have a 64 bit machine and OS.
from php-sdk-binary-tools.
That might be a factor, yes. As soon as you try to link with deps, there might be issues, if you only compile sources and link with the same toolset - that's fine. Actually, there's no cross compilation support, it's documented.
Another point - i was working to support build tools only for vc15 (upcoming PHP 7.2), but not for vc14. If you bypass the starter scripts - well, that might be fine, but I never tried it, especially not with vc14 standalone build tools. Anyway it seems to be explicitly some VS issue, not the new sdk one, at the moment at least.
I'd recommend to get some community edition, conventional, standard :) and check with it.
Thanks.
from php-sdk-binary-tools.
I could compile PHP 7.1.0 with the same setup. 7.1.5 and 7.1.6 failed instead. These are the only that I've tried. Does that help to identify the issue? I don't mind using an old version as it's for a dev machine anyway. It is strange though, because it always worked fine. Also, do you know why I don't get the native x64 compiler? Are you suggesting me to install VS express or whatever it's called now? Thank you for the help.
from php-sdk-binary-tools.
It should not depend on the PHP version in 99% of cases. If you compile without deps - same toolset is used. As soon as deps are in the game, the toolset used for the deps and the toolset currently being used do matter.
Why there's no 64-bit compiler - not sure as I don't use the build tools. Do you vcvarsall.bat amd64
and it errors? Otherwise i'd expect the toolset were same as normal VS has, except it were some special x86 edition or alike. On the wiki we also always point to the Visual Studio only as the most reliable and hassle free experience. In that case, you'd simply click phpsdk-vc14-x64.bat
and be automatically on the right shell.
Thanks.
from php-sdk-binary-tools.
LINK : fatal error LNK1104: cannot open file 'E:\php-sdk\phpmaster\vc14\x64\Release_TS\resp\PHP_GLOBAL_OBJS.txt'
Also related? Will try Visual Studio. By the way, what about VS Code?
Do you vcvarsall.bat amd64 and it errors?
Yes, but it uses the cross compiler instead. It worked up until now :(
from php-sdk-binary-tools.
The link error above is not related. It's because the response file is missing, those should not be deleted by hand, you need to configure and all that stuff again.
VS code is an editor only AFAIK, no idea about it anyway :)
Thanks.
from php-sdk-binary-tools.
I did not delete it by hand :P
from php-sdk-binary-tools.
Oh, then something fishy happens anyway. Should not happen, if you follow the build doc by letter.
Thanks.
from php-sdk-binary-tools.
Btw. it were anyway interesting to know, what your vcvarsall.bat amd64
tells. At least to know, the standalone build tools have same config as VS.
Thanks.
from php-sdk-binary-tools.
The specified configuration type is missing. The tools for the configuration might not be installed.
I've installed visual studio but nothing changed. I still only get the cross arm compiler, the x86 and the cross x64. no native x64 one
from php-sdk-binary-tools.
So, after I've installed all released VS of the past 10 years, I'm still missing VC14 x64 compiler. I've lost all hopes. I'm trying on another machine now. Is it possible that Windows 7 just doesn't have it?
from php-sdk-binary-tools.
Update: After it did that error again, I've tried to relaunch nmake again without doing nmake clean. It resumed from where it left before the error... and completed the compilation. I'm completely stumped. Running the tests now...
from php-sdk-binary-tools.
Thanks for the further checks. As the issue doesn't regard the binary tools SDK, I'm closing it. Please direct the issues regarding the Visual Studio configuration to the corresponding places like MSDN support, etc. If you could invent a patch for the BuildTools support for vc14, I't be something to evaluate. Please also keep in mind, that we officially don't support yet the new SDK wrt. PHP lower than 7.2 and not Visual Studio, while it is likely to work.
Thanks.
from php-sdk-binary-tools.
Related Issues (20)
- no genera librerias dll HOT 2
- Supporting multiple toolsets for a single VS installation HOT 3
- PGO CLI Training HOT 2
- Could not found vc15 folder. HOT 13
- It does not support gdb debug. HOT 2
- Could not determine 'vc15' directory HOT 14
- Bundle PHP 7.4 HOT 5
- Trying to Create My own Extension HOT 3
- PGO initialization fails on MariaDB download HOT 3
- Add exact requirements / better install manual to readme.md HOT 3
- libzip-1.6.1-vs16-x64 ENABLE_LZMA HOT 4
- Unable to build PHP master with VS 2019 because of iconv/sqlite3 dependency mismatch HOT 6
- Symfony HOT 1
- Auto
- MSys certs need updating
- Could not determine 'vs16' directory HOT 2
- How to choose vs 2017 when execute phpsdk-vc15-x64.bat? HOT 7
- when a path is contains blank spaces,bat execution failure HOT 5
- Failed to fetch supported branches HOT 4
- when command line include space in path the cli is not run HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-sdk-binary-tools.