How do I correctly install packages for use with Visual Studio?

2022-10-16 Thread Decabytes via Digitalmars-d-learn
I'm trying to set up Visual Studio 2022 with Visual D, and I'm running into issues trying to get my project to build correctly. It's a double whammy because I've never used Visual Studio before (Just an Emacs Guy), but I need to debug my D programming and according to the [documentation](https

Re: How do I correctly install packages for use with Visual Studio?

2022-10-16 Thread rikki cattermole via Digitalmars-d-learn
On 17/10/2022 12:09 AM, Decabytes wrote: I'm trying to set up Visual Studio 2022 with Visual D, and I'm running into issues trying to get my project to build correctly. It's a double whammy because I've never used Visual Studio before (Just an Emacs Guy), but I need to debug my D programming an

Re: How do I correctly install packages for use with Visual Studio?

2022-10-16 Thread Mike Parker via Digitalmars-d-learn
On Sunday, 16 October 2022 at 11:09:31 UTC, Decabytes wrote: Building x64\Debug\chip8.exe... chip8.d(4): Error: unable to read module `raylib` chip8.d(4):Expected 'raylib.d' or 'raylib\package.d' in one of the following import paths: import path[0] = C:\D\dmd2\windows\bin\..\..\src\pho

Re: How do I correctly install packages for use with Visual Studio?

2022-10-16 Thread matheus via Digitalmars-d-learn
On Sunday, 16 October 2022 at 11:09:31 UTC, Decabytes wrote: I'm trying to set up Visual Studio 2022 with Visual D, and I'm running into issues trying to get my project to build correctly. It's a double whammy because I've never used Visual Studio before (Just an Emacs Guy), but I need to debug

Re: How do I correctly install packages for use with Visual Studio?

2022-10-16 Thread Mike Parker via Digitalmars-d-learn
On Sunday, 16 October 2022 at 11:09:31 UTC, Decabytes wrote: I'm confused at what/where exactly D expect files to be for them to considered "installed". D doesn't expect them to be anywhere. By default, the compiler will search relative to the current working directory, on any paths confi

Re: How do I correctly install packages for use with Visual Studio?

2022-10-16 Thread Imperatorn via Digitalmars-d-learn
On Sunday, 16 October 2022 at 11:42:04 UTC, matheus wrote: On Sunday, 16 October 2022 at 11:09:31 UTC, Decabytes wrote: I'm trying to set up Visual Studio 2022 with Visual D, and I'm running into issues trying to get my project to build correctly. It's a double whammy because I've never used Vi

Is it possible? branching on debug info

2022-10-16 Thread Guillaume Piolat via Digitalmars-d-learn
I'd like to have: version (D_DebugInfo) {} else { version = enableFeatureThatIsAnnoyingWhenDebugging; } Is there a way to know if debug info is being emitted when compiling? "debug is not cutting it because sometimes you really need to debu

Re: Is it possible? branching on debug info

2022-10-16 Thread rikki cattermole via Digitalmars-d-learn
There is: D_Optimized https://dlang.org/spec/version.html#predefined-versions But nothing for debug info. I'm afraid I think you'll just have to use a version (unless you want to add it).

Re: How do I correctly install packages for use with Visual Studio?

2022-10-16 Thread Decabytes via Digitalmars-d-learn
On Sunday, 16 October 2022 at 11:42:04 UTC, matheus wrote: On Sunday, 16 October 2022 at 11:09:31 UTC, Decabytes wrote: I'm trying to set up Visual Studio 2022 with Visual D, and I'm running into issues trying to get my project to build correctly. It's a double whammy because I've never used Vi