Skip to content

Can not recompile the core. #22

@iY0Yi

Description

@iY0Yi

Hi,

I'm trying to recompile the core with this tutorial.
http://vimeo.com/76534990
(Thank you nice tutorials:)
When I recompile the core via Grunt like this tutorial,
I got errors like bellow:

GoroMatsumoto:away3d-core-ts Goro$ grunt lib
Running "ts:MainJsFile" (ts) task
Compiling...
/Users/Goro/Desktop/away/away3d-core-ts/src/away/core/display/BitmapData.ts(429,9): error TS2012: Cannot convert 'Uint8Array' to 'number[]':
    Type 'Uint8Array' is missing property 'concat' from type 'number[]'.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/core/display/BitmapData.ts(430,9): error TS2012: Cannot convert 'Uint8Array' to 'number[]':
    Type 'Uint8Array' is missing property 'concat' from type 'number[]'.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/core/display/BitmapData.ts(459,9): error TS2012: Cannot convert 'Uint8Array' to 'number[]':
    Type 'Uint8Array' is missing property 'concat' from type 'number[]'.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/core/display3D/Context3D.ts(83,22): error TS2094: The property 'width' does not exist on value of type '(x: number, y: number, width: number, height: number) => void'.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/core/display3D/Context3D.ts(84,22): error TS2094: The property 'height' does not exist on value of type '(x: number, y: number, width: number, height: number) => void'.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/core/display3D/Context3D.ts(645,22): error TS2094: The property 'width' does not exist on value of type '(x: number, y: number, width: number, height: number) => void'.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/core/display3D/Context3D.ts(646,22): error TS2094: The property 'height' does not exist on value of type '(x: number, y: number, width: number, height: number) => void'.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/utils/ByteArrayBase.ts(124,13): error TS2173: Generic type references must include all type arguments.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/animators/SkeletonAnimationSet.ts(51,16): error TS2173: Generic type references must include all type arguments.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/animators/SkeletonAnimationSet.ts(52,16): error TS2173: Generic type references must include all type arguments.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/animators/VertexAnimationSet.ts(168,13): error TS2173: Generic type references must include all type arguments.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/loaders/parsers/CubeTextureParser.ts(106,14): error TS2173: Generic type references must include all type arguments.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/loaders/parsers/CubeTextureParser.ts(106,23): error TS2173: Generic type references must include all type arguments.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/loaders/parsers/AWDParser.ts(173,17): error TS2173: Generic type references must include all type arguments.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/loaders/parsers/AWDParser.ts(1694,28): error TS2173: Generic type references must include all type arguments.
/Users/Goro/Desktop/away/away3d-core-ts/src/away/loaders/parsers/AWDParser.ts(1745,28): error TS2173: Generic type references must include all type arguments.
/Users/Goro/Desktop/away/away3d-core-ts/src/aglsl/Parser.ts(53,17): error TS2173: Generic type references must include all type arguments.
>> Compilation failed
Warning: Task "ts:MainJsFile" failed. Use --force to continue.

I use TypeScript 0.9.5.
Is there a solution or what?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions