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

Cannot build example #57

Open
p0nce opened this issue Jun 21, 2021 · 5 comments
Open

Cannot build example #57

p0nce opened this issue Jun 21, 2021 · 5 comments

Comments

@p0nce
Copy link

p0nce commented Jun 21, 2021

After doing:

dub init <test> spasm
cd <test>
dub
I get:
..\..\AppData\Local\dub\packages\spasm-0.1.13\spasm\source\spasm\bindings\svg.d(69,8): Error: function spasm.bindings.svg.SVGAElement.href() conflicts with previous declaration at ..\..\AppData\Local\dub\packages\spasm-0.1.13\spasm\source\spasm\bindings\svg.d(63,8)
@skoppe
Copy link
Owner

skoppe commented Jun 21, 2021

Can you try this one? https://github.com/skoppe/spasm/releases/tag/v0.2.0-beta.8

Probably need to release new tag.

@p0nce
Copy link
Author

p0nce commented Jun 21, 2021

Now I get:

spasm 0.2.0-beta.8: building configuration "library"...
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(141,6): Deprecation: use of complex type `cfloat*` is deprecated, use `std.complex.Complex!(float)` instead
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(141,6): Deprecation: use of complex type `cfloat` is deprecated, use `std.complex.Complex!(float)` instead
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(143,10): Deprecation: use of complex type `cfloat*` is deprecated, use `std.complex.Complex!(float)` instead
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(144,10): Deprecation: use of complex type `cfloat*` is deprecated, use `std.complex.Complex!(float)` instead
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(149,6): Deprecation: use of complex type `cdouble*` is deprecated, use `std.complex.Complex!(double)` instead
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(149,6): Deprecation: use of complex type `cdouble` is deprecated, use `std.complex.Complex!(double)` instead
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(151,10): Deprecation: use of complex type `cdouble*` is deprecated, use `std.complex.Complex!(double)` instead
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(152,10): Deprecation: use of complex type `cdouble*` is deprecated, use `std.complex.Complex!(double)` instead
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(157,6): Deprecation: use of complex type `creal*` is deprecated, use `std.complex.Complex!(real)` instead
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(157,6): Deprecation: use of complex type `creal` is deprecated, use `std.complex.Complex!(real)` instead
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(159,10): Deprecation: use of complex type `creal*` is deprecated, use `std.complex.Complex!(real)` instead
..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(160,10): Deprecation: use of complex type `creal*` is deprecated, use `std.complex.Complex!(real)` instead
testspawn ~master: building configuration "application"...
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\std\stdio.d(49,8): Error: module `core.stdc.stddef` import `wchar_t` not found
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(33,14): Error: undefined identifier `time_t`, did you mean function `time`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(33,14): Error: undefined identifier `time_t`, did you mean function `time`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(35,17): Error: undefined identifier `time_t`, did you mean function `time`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(35,17): Error: undefined identifier `tm`
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(37,9): Error: undefined identifier `time_t`, did you mean function `time`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(37,9): Error: undefined identifier `time_t`, did you mean function `time`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(40,17): Error: undefined identifier `tm`
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(42,17): Error: undefined identifier `time_t`, did you mean function `time`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(44,17): Error: undefined identifier `tm`
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(44,17): Error: undefined identifier `time_t`, did you mean function `time`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(46,17): Error: undefined identifier `tm`
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(46,17): Error: undefined identifier `time_t`, did you mean function `time`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\time.d(48,17): Error: undefined identifier `tm`
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\wchar_.d(128,14): Error: undefined identifier `wchar_t`, did you mean `dchar`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\wchar_.d(131,5): Error: undefined identifier `FILE`
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\wchar_.d(131,5): Error: undefined identifier `wchar_t`, did you mean `dchar`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\wchar_.d(133,5): Error: undefined identifier `FILE`
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\wchar_.d(133,5): Error: undefined identifier `wchar_t`, did you mean `dchar`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\..\import\core\stdc\wchar_.d(135,5): Error: undefined identifier `wchar_t`, did you mean `dchar`?
c:\d\ldc2-1.27.0-beta1-windows-multilib\bin\ldc2.exe failed with exit code 1.

@skoppe
Copy link
Owner

skoppe commented Jun 21, 2021

Its been a while but IIRC you need dub build --build-mode=allAtOnce --combined on windows. See https://github.com/skoppe/spasm/blob/master/BUILDING.md

@p0nce
Copy link
Author

p0nce commented Sep 14, 2021

On Linux, following the tutorial I get:

sdlang-d 0.10.4: building configuration "library"...
../../.dub/packages/sdlang-d-0.10.4/sdlang-d/src/sdlang/token.d(28,21): Error: undefined identifier FracSec, did you mean function fracSec?
../../.dub/packages/sdlang-d-0.10.4/sdlang-d/src/sdlang/token.d(29,18): Error: undefined identifier FracSec, did you mean function fracSec?
../../.dub/packages/sdlang-d-0.10.4/sdlang-d/src/sdlang/token.d(48,21): Error: undefined identifier FracSec, did you mean function fracSec?
../../.dub/packages/sdlang-d-0.10.4/sdlang-d/src/sdlang/token.d(49,18): Error: undefined identifier FracSec, did you mean function fracSec?

@vushu
Copy link

vushu commented Oct 11, 2022

yup still same problem

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

3 participants