snowkit / linc_nanovg Goto Github PK
View Code? Open in Web Editor NEWhttp://snowkit.github.io/linc/ Haxe/hxcpp @:native bindings for nanovg
http://snowkit.github.io/linc/ Haxe/hxcpp @:native bindings for nanovg
On:
import nanovg.Nvg;
Getting:
Error: nanovg.c
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(275) : error C2275: 'NVGcompositeOperationState' : illegal use of this type as an expression
c:\haxetoolkit\haxe\lib\linc_nanovg\git\lib\nanovg\src\nanovg.h(120) : see declaration of 'NVGcompositeOperationState'
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(275) : error C2146: syntax error : missing ';' before identifier 'state'
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(275) : error C2065: 'state' : undeclared identifier
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(276) : error C2065: 'state' : undeclared identifier
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(276) : error C2224: left of '.srcRGB' must have struct/union type
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(277) : error C2065: 'state' : undeclared identifier
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(277) : error C2224: left of '.dstRGB' must have struct/union type
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(278) : error C2065: 'state' : undeclared identifier
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(278) : error C2224: left of '.srcAlpha' must have struct/union type
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(279) : error C2065: 'state' : undeclared identifier
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(279) : error C2224: left of '.dstAlpha' must have struct/union type
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(280) : error C2065: 'state' : undeclared identifier
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(280) : error C2440: 'return' : cannot convert from 'int' to 'NVGcompositeOperationState'
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(1040) : error C2275: 'NVGstate' : illegal use of this type as an expression
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(89) : see declaration of 'NVGstate'
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(1040) : error C2065: 'state' : undeclared identifier
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(1041) : error C2065: 'state' : undeclared identifier
C:/HaxeToolkit/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c(1041) : error C2223: left of '->compositeOperation' must point to struct/union
This is after adding Glew to the project.
Is there a prefered compiler for this ?
Trying to build both windows target and android target.
I am getting this error :
HaxeToolkit\haxe\lib\snow/git/snow/systems/io/IO.hx:26: characters 18-35 : Cannot access private constructor of snow.modules.sdl.IO
C:\HaxeToolkit\haxe\lib\snow/git/snow/App.hx:224: characters 27-40 : Cannot access private constructor of Main
:app:flowBuildWindows FAILED
C:\Users\Karl\tst\linc_nanovg\test\snow>flow run
flow / 1.0.0-alpha.2 (node.js v0.12.7)
flow / target is windows ( arch 32 )
flow / haxe version 3.4.2 (git build master @ 890f8c7)
flow / build - linc_nanovg_test 1.0.0 for windows
flow / icons - failed - do you have visual C++ installed?
flow / not running project build because failure state is set
I do have Visual Studio installed (2017) with C++ modules.
From now on you must explicitly specify OpenGl version #9 (comment)
Does this need glew-2.0.0 as a dependency ?
I found what it is asking for in the GL directory of GLEW but it may be from some other place because it threw a lot of stuff out after it found the file.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.