Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not recompile the core. #22

Open
iY0Yi opened this issue Dec 9, 2013 · 4 comments
Open

Can not recompile the core. #22

iY0Yi opened this issue Dec 9, 2013 · 4 comments

Comments

@iY0Yi
Copy link

iY0Yi commented Dec 9, 2013

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?

@karimbeyrouti
Copy link
Contributor

TypeScript 0.9.5 was released last friday, Away3D TypeScript need an update to work with the changes in the compiler.

@iY0Yi
Copy link
Author

iY0Yi commented Dec 9, 2013

Thank you for your fast replying.
I wanted to know the cause. I can do other tasks.
Thank you!

@karimbeyrouti
Copy link
Contributor

Hello Goro, this has now been fixed for the TypeScript 0.9.5 update.

@iY0Yi
Copy link
Author

iY0Yi commented Dec 12, 2013

Hi Karim,
Now I cloud recompile.
Thank you for your fast fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants