digitalmars.D.learn - VisualD phobos link error, only when I implement a few simple classes
- Enjoys Math (11/11) Feb 06 2019 What is this phobos crap?
- Enjoys Math (12/24) Feb 06 2019 Minimal example is now just hello world:
- Enjoys Math (12/12) Feb 06 2019 I tried re-installing DMD, and now for either 64-bit or x86 build
- H. S. Teoh (9/22) Feb 06 2019 [...]
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.
Feb 06 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; }
Feb 06 2019
I tried re-installing DMD, and now for either 64-bit or x86 build mode, I'm getting the Phobos linker error: ------ Build started: Project: BasicSimpleTypeTheoryApp, Configuration: Debug x64 ------ Building x64\Debug\BasicSimpleTypeTheoryApp.exe... LINK : fatal error LNK1104: cannot open file 'phobos64.lib' Building x64\Debug\BasicSimpleTypeTheoryApp.exe failed! Details saved as "file://C:\Users\FruitfulApproach\Desktop\_SIMPLE_TYPE_THEORY\BasicSimpleTypeTheoryApp\BasicSimpleTypeTheoryApp\x64\Debug\BasicSimpleTypeTheoryApp.buildlog.html" ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== In other words re-installing didn't help.
Feb 06 2019
On Wed, Feb 06, 2019 at 05:53:05PM +0000, Enjoys Math via Digitalmars-d-learn 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.[...] It has nothing to do with colliding identifiers. You're missing a path to Phobos. Probably dmd.conf or some other configuration file doesn't have the correct path defined, or you're missing (the correct version of) the Phobos library file(s) for some reason. T -- Verbing weirds language. -- Calvin (& Hobbes)
Feb 06 2019