gumbo-d bindings with DUB -


i'm trying use gumbo-d in project dub failing.

here's dub output:

building: myproject (default) performing main compilation... dub build "myproject" "--build=plain" building package myproject in c:\users\matt\documents\projects\myproject\ target vibe-d 0.7.23 date. use --force rebuild. target gumbo-d 0.2.2 date. use --force rebuild. building myproject ~master configuration "application", build type plain. compiling using dmd... linking...  optlink (r) win32  release 8.00.15 copyright (c) digital mars 1989-2013  rights reserved. http://www.digitalmars.com/ctg/optlink.html ..\..\..\appdata\roaming\dub\packages\gumbo-d-0.2.2\gumbo-d.lib(parse)   error 42: symbol undefined _gumbo_destroy_output ..\..\..\appdata\roaming\dub\packages\gumbo-d-0.2.2\gumbo-d.lib(parse)   error 42: symbol undefined _gumbo_parse --- errorlevel 2 fail .dub\build\application-plain-windows-x86-dmd_2066-946d41e793c045166b4dfd37035481ae\ myproject executable error executing command build: dmd failed exit code 2.  exit code 2 build complete -- 1 error, 0 warnings  ---------------------- done ----------------------  build: 1 error, 0 warnings 

i'm @ bit of loss of library file needs go , format needs in. there .lib file in gumbo-d dependency directory, meant library? if so, why linker failing link it?

here contents of main dub.json file (for overall project includes gumbo-d dependency)

{     "name": "googleplayscraper",     "description": "a simple vibe.d server application.",     "copyright": "copyright © 2015, matt",     "authors": ["matt"],     "dependencies": {         "vibe-d": "~>0.7.19",         "gumbo-d": "~>0.2.2"     },     "versions": ["vibedefaultmain"] } 

and here dub.json file gumbo-d dependency:

{     "libs-posix": [         "gumbo"     ],     "version": "0.2.2",     "description": "d bindings google's gumbo html5 parser library",     "authors": [         "christopher bertels"     ],     "importpaths": [         "source/"     ],     "configurations": [         {             "targettype": "library",             "name": "library"         }     ],     "homepage": "https://github.com/bakkdoor/gumbo-d",     "sourcepaths": [         "source/"     ],     "name": "gumbo-d",     "copyright": "copyright © 2013, christopher bertels" } 


Popular posts from this blog