-
Notifications
You must be signed in to change notification settings - Fork 41
Invalid subtyping in definition of AbstractMesh #77
Comments
Yes, GeometryTypes does currently not support 0.6 :( |
Does GLVisualize run on 0.6 without GeometryTypes? I thought 0.6 was required by CUDAnative, which is required by one of your examples? |
It was at some point! haven't tested recently. But a lot of issues have piled up which have higher priority right now... |
OK, thanks! GLVisualize looks awesome, and is one of the reasons I decided to install Julia. But no rush. |
Thanks! :) Well, it should all work on 0.5! |
Just FYI, this failure is causing |
Fun fact, Plots.jl actually halted my efforts to port GeometryTypes to StaticArrays and making it work on 0.6, because the dependencies were spread out quite far and I was running out of time ;) |
@SimonDanisch Any update ? The two issues you mentionned earlier have now been fixed. |
yes... it's working :D But 0.6 only because of staticarrays... I still rely quite a bit on 0.5,,, but maybe it's time to just have one working tag for 0.5 and then have a cut there! |
Not working for me? On 0.6 I have this issue even with GeometryTypes master. Is it supposed to work now? |
Pretty sure #80 needs to be merged |
@SimonDanisch it looks like on master we no longer have One way to do it would be to change the AbstractMesh type to something like: abstract type AbstractMesh{N, T, VertT <: StaticArray{Tuple{N}, T}, FaceT} <: AbstractGeometry{N, T}
end |
The mesh type actually needs to be rewritten quite a bit for 0.6 i'd say... It still has bugs and I'm increasingly unhappy with the design. In any case, it should definitely be an AbstractGeometry ;) |
Ok, then I'll just work around the issue until it becomes an AbstractGeometry again. |
Would you be willing to tag a new release with the fix for this issue? Even if it's not fully functional on v0.6, it would be a huge improvement to at least have a release which can be loaded on v0.6. As it stands, Polyhedra.jl, CDDLib.jl, DrakeVisualizer.jl, etc. all require GeometryTypes master. |
done: JuliaLang/METADATA.jl#9608 |
Thank you! |
In Julia v0.6, there is the following error in precompilation
This line is:
The errors seems to be that
AbstractGeometry
has the parameters{N, T}
an now in Julia v0.6, you cannot subtype a type without specifying all parameters.The text was updated successfully, but these errors were encountered: