Code Monkey home page Code Monkey logo

Comments (14)

weltling avatar weltling commented on May 22, 2024

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.

Wes0617 avatar Wes0617 commented on May 22, 2024

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.

weltling avatar weltling commented on May 22, 2024

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.

Wes0617 avatar Wes0617 commented on May 22, 2024

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.

weltling avatar weltling commented on May 22, 2024

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.

Wes0617 avatar Wes0617 commented on May 22, 2024

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.

weltling avatar weltling commented on May 22, 2024

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.

Wes0617 avatar Wes0617 commented on May 22, 2024

I did not delete it by hand :P

from php-sdk-binary-tools.

weltling avatar weltling commented on May 22, 2024

Oh, then something fishy happens anyway. Should not happen, if you follow the build doc by letter.

Thanks.

from php-sdk-binary-tools.

weltling avatar weltling commented on May 22, 2024

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.

Wes0617 avatar Wes0617 commented on May 22, 2024

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.

Wes0617 avatar Wes0617 commented on May 22, 2024

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.

Wes0617 avatar Wes0617 commented on May 22, 2024

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.

weltling avatar weltling commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.