Error

2022-10-30 Thread Decabytes via Digitalmars-d-learn
I'm trying to write a chip8 emulator. I'm at the step where I load the rom into the memory. According to the [documentation](http://devernay.free.fr/hacks/chip8/C8TECH10.HTM#3.0) each instruction is 2 bytes and max memory addressed is 4K. So I define the memory as an array of ushorts. ```D stru

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

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: Raspberry Pi 4: Where to put raylib after I've compiled it to get dub to find and link properly

2021-03-08 Thread Decabytes via Digitalmars-d-learn
On Monday, 8 March 2021 at 04:22:14 UTC, Mike Parker wrote: On Monday, 8 March 2021 at 03:16:40 UTC, Decabytes wrote: I just downloaded Raylib on the pi 4, which unfortunately wasn't in the repo on Raspberry Pi OS. On my computer main comp, I can link it by just adding raylib to the libs sectio

Raspberry Pi 4: Where to put raylib after I've compiled it to get dub to find and link properly

2021-03-07 Thread Decabytes via Digitalmars-d-learn
I just downloaded Raylib on the pi 4, which unfortunately wasn't in the repo on Raspberry Pi OS. On my computer main comp, I can link it by just adding raylib to the libs section of the dub.sdl because I downloaded it from the repo, but because I've compiled it from source on the RPI that doesn

Re: ldc on a raspberry pi 3 running freebsd

2021-02-23 Thread Decabytes via Digitalmars-d-learn
On Tuesday, 23 February 2021 at 15:11:32 UTC, Adam D. Ruppe wrote: On Tuesday, 23 February 2021 at 14:56:45 UTC, Decabytes wrote: It is often called `ldc2` so give that a try. btw I run gdc on my raspberry pi 3 from the raspbian distro package and it is pretty nice too. though ldc will have

Re: ldc on a raspberry pi 3 running freebsd

2021-02-23 Thread Decabytes via Digitalmars-d-learn
On Tuesday, 23 February 2021 at 15:15:56 UTC, Steven Schveighoffer wrote: On 2/23/21 9:56 AM, Decabytes wrote: Found this on the internet: https://forums.freebsd.org/threads/list-of-the-installed-files-of-a-package.66372/ looks like: pkg info -l name-of-package It should show you were it p

ldc on a raspberry pi 3 running freebsd

2021-02-23 Thread Decabytes via Digitalmars-d-learn
I've been playing around in D for a bit and I'm enjoying it so far. I've also been testing out freebsd on a Raspberry Pi 3. I noticed that there is actually a package for LDC on the raspberry pi 3, and thought it would be fun to play around with D on an ARM platform. I installed it with "pkg

Re: raylib LoadTexture Mismatch between

2021-02-19 Thread Decabytes via Digitalmars-d-learn
On Friday, 19 February 2021 at 23:29:18 UTC, Steven Schveighoffer wrote: On 2/19/21 5:26 PM, Decabytes wrote: raylib-d does not have D wrappers for everything. You are supposed to use the C functions. D's string literals are null-terminated. However, the language only allows actual literals

raylib LoadTexture Mismatch between

2021-02-19 Thread Decabytes via Digitalmars-d-learn
Dlang and curly brace language noob here. I'm trying to work with the raylib-d library. I downloaded raylib-d using dub, and I installed raylib with my package manager on Manjaro. I'm getting a mismatch in the arguments I'm passing to LoadTexture. source/app.d(7,32): Error: function raylib.L