On Wednesday, 11 April 2018 at 14:57:51 UTC, rumbu wrote:
On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote:
[...]
Cannot manage to build it on Windows:
D:\git\dpp>dub build
WARNING: A deprecated branch based version specification is
used for the dependency libclang. Please use numbered versions
instead. Also note that you can still use the
dub.selections.json file to override a certain dependency to
use a branch instead.
Performing "debug" build using dmd for x86.
libclang ~master: target for configuration "library" is up to
date.
dpp 0.0.1+commit.41.g60f98e4: building configuration
"executable"...
Linking...
OPTLINK (R) for Win32 Release 8.00.17
Copyright (C) Digital Mars 1989-2013 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
OPTLINK : Warning 183: Extension not .RES : clang.lib
C:\Users\[]\AppData\Roaming\dub\packages\libclang-master\libclang\.dub\build\library-debug-windows-x86-dmd_2079-78261F5A299D700FEEC2C0E7B51191C1\libclang.lib(1)
: Error 52: .DEF Syntax Error
[...]
I'll have to take a look at Jacob's configure.d to find out where
libclang is installed on Windows.
It'll fail even if it builds though, since there won't be a
`cpp.exe` on Windows for it to call. I don't even know what the
equivalent would be with Visual Studio.