www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Dub will not load bindbc-harfbuzz

reply Kaitlyn Emmons <katemmons0 gmail.com> writes:
Failed to load package in 
C:/Users/snuff/AppData/Local/dub/packages/bindbc-harfbuzz-0.2
1/bindbc-harfbuzz/: BuildOption does not have a member named 'betterC'

I am not sure why it is not working. ..

my dub.json looks like this
{
	"name": "graph",
	"authors": [
		"Kaitlyn Emmons"
	],
	"description": "A graph based game engine",
	"dependencies":
	{
		"bindbc-glfw": "~>0.8.0",
		"bindbc-opengl": "~>0.9.0",
		"bindbc-freeimage": "~>0.3.1",
		"bindbc-freetype": "~>0.8.0",
		"derelict-assimp3": "==1.0.1",
		"derelict-ode": "==1.1.2",
		"bindbc-harfbuzz": "~>0.2.1"
	},
	"versions": [
     	"GL_46",
     	"FI_318",
     	"FT_210",
     	"HB_with_freetype"
	],
	"configurations": [
		{
			"name": "Main",
			"targetType": "executable"
		},
		{
			"name": "lib",
			"targetType": "dynamicLibrary",
			"versions": ["tofu_dynamic"]
		}
	],
	"subConfigurations": {
		"bindbc-harfbuzz": "dynamic"
	},
	"postBuildCommands": [
		"sublime_generate.bat"
	],
	"copyright": "Copyright © 2017, Tofu Ninja",
	"license": "Owned by k emmons"
}


Can someone help?
Apr 09 2020
parent reply rikki cattermole <rikki cattermole.co.nz> writes:
How old is your build of dub?

"betterC" build option was introduced in 1.20.0
Apr 09 2020
parent Kaitlyn Emmons <katemmons0 gmail.com> writes:
On Thursday, 9 April 2020 at 11:40:12 UTC, rikki cattermole wrote:
 How old is your build of dub?

 "betterC" build option was introduced in 1.20.0
I have tried several times to get new version of dub from https://github.com/dlang/dub/releases but it then it wont query the register at all PS C:\Users\snuff\Desktop\dev\projects> dub search dcd Searching registry at https://code.dlang.org/ (fallbacks registry at https://codemirror.dlang.org/, registry at https://code-mirror.dlang.io/, registry at https://dub-registry.herokuapp.com/) for 'dcd' failed: Failed to download https://code.dlang.org/api/packages/search?q=dcd No matches found.
Apr 09 2020