VisualD phobos link error, only when I implement a few simple classes on top of a hello world program.

Enjoys Math enjoysmath at gmail.com
Wed Feb 6 17:54:03 UTC 2019


On Wednesday, 6 February 2019 at 17:53:05 UTC, Enjoys Math wrote:
> What is this phobos crap?
>
> I've tried renaming all my modules with an _ (underscore) in 
> case they were colliding with phobos.
>
> ------ Build started: Project: BasicSimpleTypeTheoryApp, 
> Configuration: Debug Win32 ------
> Building Win32\Debug\BasicSimpleTypeTheoryApp.exe...
> LINK : fatal error LNK1104: cannot open file 
> 'phobos32mscoff.lib'
> Building Win32\Debug\BasicSimpleTypeTheoryApp.exe failed!
>
> All I have is two abstract classes essentially with 2 1-line 
> methods, nothing out-of-the ordinary.
>
> Thanks.

Minimal example is now just hello world:

module BasicSimpleTypeTheoryApp;

import std.stdio;
//import _variable;

int main()
{
    // auto v = new Variable("v");

    writeln("Hello D World!\n");
    readln();
    return 0;
}



More information about the Digitalmars-d-learn mailing list