ImportC "no include path set"

ryuukk_ ryuukk.dev at gmail.com
Wed Feb 8 04:14:21 UTC 2023


On Tuesday, 7 February 2023 at 14:01:00 UTC, Elfstone wrote:
> On Tuesday, 7 February 2023 at 13:10:44 UTC, ryuukk_ wrote:
>> On Tuesday, 7 February 2023 at 06:25:59 UTC, Elfstone wrote:
>>> On Monday, 6 February 2023 at 14:35:53 UTC, bachmeier wrote:
>>>> [...]
>>>
>>> Thanks, it worked, but I still get the link error.
>>> I wasn't expecting to configure include paths and link the 
>>> right libc myself. The doc says the simple "dmd hello.c" 
>>> should create "hello.exe". It must be a bug.
>>
>> You need to run dmd from the developer command prompt on 
>> windows
>>
>> I always found this requirement weird
>>
>> From an UX point of view, what would the better experience be? 
>> Could DMD ship with the required files? I have 0 knowledge how 
>> the whole thing works so..
>
> That I tried, and I got link error(s) - see my first post. :(

Oh my bad, i misread your comment

Make sure your visual studio install is up to date, maybe you 
have one component missing?

https://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation

If you installed/updated VS without reboot, maybe a reboot could 
do the trick?


More information about the Digitalmars-d-learn mailing list