Comments (9)
I concur, quite a few people have the same error: https://news.ycombinator.com/item?id=11070281
from ion.
Me too....
from ion.
Was seriously hoping this would be fixed by now...
from ion.
The missing file is in the latest push. Please comment back here if you still have issues.
from ion.
Hi,
Got a new issue on windows : gyp: name 'ogles20' is not defined while evaluating condition 'angle or ogles20'
from ion.
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.
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.
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.
Try this branch:
https://github.com/tweenk/ion/tree/vsbuildfix
from ion.
Related Issues (17)
- Android builds not working (multiple issues) HOT 1
- Use of angle brackets around file names for include statements HOT 2
- Completion of error handling
- Protect against spurious wakeups HOT 1
- iOS build is failing HOT 2
- Build fails on OS X 10.11.4 / Xcode 7.3 HOT 1
- Request: Guide for linking google ion with an exisiting os x app
- ANDROID Build fails on ubuntu 16.10 (x64) HOT 1
- Build broken with Android ndk-r13b (current release)
- Build failed on Win 10 64bit: ninja: fatal: CreateProcess: The system cannot find the file specified. HOT 3
- select_build_output_files_for_ion_bazel_platform does not ref OSX outputs path
- Document abandonment and point to alternatives
- Does ionremote work on Windows x64?
- Build fails on UBUNTU 20 HOT 17
- Security Policy violation Binary Artifacts HOT 154
- Fails to build with clang-3.4 HOT 1
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 ion.