Type-Safer Modern High-Level Performant OpenGL

ponce contact at gam3sfrommars.fr
Fri Mar 7 02:08:52 PST 2014


On Thursday, 6 March 2014 at 23:16:26 UTC, Nordlöw wrote:
>> GFM (my own, PLEASE, PLEASE CHOOSE ME)
>
> I'm trying to build your package using
>
>     dub
>
> but I get the error
>
> θ61° [per:~/justd/gfm] master ± dub
> Error executing command run: Main package must have a binary 
> target type, not none. Cannot build.
>
> I'm using a recent build of dub from git master.
>
> What is wrong?

I get the same behaviour, but this looks reasonable to me.

dub tries to build the package named "gfm", which has targetType 
"none" because it's an umbrella package to group sub-packages. 
What you can do instead is just referencing the sub-packages you 
need in your dub.json. Should work then.


More information about the Digitalmars-d-learn mailing list