-
Notifications
You must be signed in to change notification settings - Fork 43
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
Build failed on x64 #23
Comments
Btw #18 |
@kingscallop do you have an working x64 branch? |
Found promising forks: |
Hi @caxapexac, |
@kingscallop yeah thanks, applying almost all of your PRs (with additional changing all size_t to unsigned int) fixed the build issues |
@caxapexac Hi, that fork is based on an old version, before some rather big changes to the codebase made by Synxis. So I don't really know what features it lacks, or what bugs that fork might have. From what I can remember when last I tried it, it doesn't work on all platforms. I think Linux works at least. More than that I really don't know, sorry. By the way, the branch 'spark2-ks-all-patches' should work out of the box without any extra patches. |
@kingscallop I mean visual node editor for this library, which is the most actual (if something except spkgen exists)? |
Library is making an assumtions that sizeof(size_t) == sizeof(unsigned int) (i.e. SPK_Group::373) which isn't true on x64 (sizeof(size_t) == 8)
Fixed by adding
TYPE_SIZE_T,
into SPK_Types::61
and
spk_basetype( size_t, TYPE_SIZE_T, meta::PassByValue );
into SPK_Types::308
But its still won't build because of some kind of error in
SPK::meta::Counter
(its using sizeof inside contrution of type system so Im almost sure this is the root of the problem). Anybody came with the soultion?Error sample:
spk_attribute(bool, loop, enableLooping, isLoopingEnabled);
(SPK_GraphInterpolator::244)The text was updated successfully, but these errors were encountered: