Git Product home page Git Product logo

Comments (9)

num3ric avatar num3ric commented on July 28, 2024

I concur, quite a few people have the same error: https://news.ycombinator.com/item?id=11070281

from ion.

cmaughan avatar cmaughan commented on July 28, 2024

Me too....

from ion.

missmah avatar missmah commented on July 28, 2024

Was seriously hoping this would be fixed by now...

from ion.

oon3m0oo avatar oon3m0oo commented on July 28, 2024

The missing file is in the latest push. Please comment back here if you still have issues.

from ion.

DomDumont avatar DomDumont commented on July 28, 2024

Hi,

Got a new issue on windows : gyp: name 'ogles20' is not defined while evaluating condition 'angle or ogles20'

from ion.

oon3m0oo avatar oon3m0oo commented on July 28, 2024

That's odd, ogles20 is defined in dev/common_variables.gypi. If you just comment out that block does it work for you? We haven't ever got around to migrating angle support to gyp anyway, and the contents of that block are commented out, so it's kind of useless.

from ion.

cwillisf avatar cwillisf commented on July 28, 2024

I put this into /ion/common_variables.gypi and was able to get a little bit further:

  'variables': {
    'ogles20%': 0, # <----- Added this line

With that in place, the next error I get is:

FAILED: ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\ion\port\ionport.stacktrace.obj.rsp /c ..\..\..\ion\port\stacktrace.cc /Foobj\ion\port\ionport.stacktrace.obj /Fdobj\ion\port\ionport.cc.pdb 
[snip]\ion\ion\port\stacktrace.h(21): fatal error C1083: Cannot open include file: 'string': No such file or directory

I noticed that the environment.x86 and environment.x64 files all contain this entry:

INCLUDE=[snip]\ion\third_party\msvc/files/vc/include;[snip]\ion\third_party\windows_sdk_8_1/files/include/um;[snip]\ion\third_party\windows_sdk_8_1/files/include/shared;[snip]\ion\third_party\windows_sdk_8_1/files/include/winrt

I also saw these warnings in the output of build.bat:

ninja: warning: multiple rules generate [snip]/ion/gyp-out/windows-ninja/dbg_x86/environment.x86. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: warning: multiple rules generate [snip]/ion/gyp-out/windows-ninja/dbg_x86/environment.x64. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]

I tried using mklink to connect ion/third_party/msvc/files to my actual MSVC directory and was able to get further. I don't have the Windows 8.1 SDK handy at the moment but I will try mklink with that as well. Ideally the build process would find these files on its own, through things like %VCINSTALLDIR%.

Full build output: build-output.txt

from ion.

cwillisf avatar cwillisf commented on July 28, 2024

Update with Windows 8.1 SDK: I still get errors related to headers that can't be found, but the headers in question are now corecrt.h, malloc.h, and ctype.h which are being included from within the VC and Windows SDK headers.

My links are now:

ion/third_party/msvc/files -> /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 14.0
ion/third_party/windows_sdk_8_1/files -> /cygdrive/c/Program Files (x86)/Windows Kits/8.1

In case it matters, I'm using Visual Studio 2015 on Windows 10.

Here's the new build output: build-output.txt

from ion.

tweenk avatar tweenk commented on July 28, 2024

Try this branch:
https://github.com/tweenk/ion/tree/vsbuildfix

from ion.

Related Issues (17)

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.