Page 1 of 1

Completely new to 3DS dev... Cannot build 2d-shapes example?

Posted: Sat Nov 28, 2020 7:53 am
by Nomkid
I copied the example, line-for-line, from here. Here's a copy of the output I get. I'm building a tool app, so I only actually need the 2D shapes, and I really need the 2D shapes. Is there a more recent version?

Here's the output

Also while I'm at it, where can I find a reference of all the libraries and what each command does?

Thanks!

(okay you might want to fix your spam filter because I could not make this post until I moved the error to pastebin)

Re: Completely new to 3DS dev... Cannot build 2d-shapes example?

Posted: Sat Nov 28, 2020 5:11 pm
by fincs
It looks like you didn't copy over the LIBS part of the Makefile.

libctru documentation can be found here: https://libctru.devkitpro.org/

citro2d documentation can be found here: https://citro2d.devkitpro.org/

Unfortunately no such reference exists for citro3d.

Re: Completely new to 3DS dev... Cannot build 2d-shapes example?

Posted: Sat Nov 28, 2020 6:45 pm
by Nomkid
Thanks so much! Wow, that was a quicker reply than I expected considering when the last post was. Yeah, I realized I had a misconfigured Makefile after I had made the post... Unfortunately I couldn't respond to explain what I had figured out for any future people facing the same problem.

Also thank you for the references! I only need 2D drawing, so the citro3d isn't needed right now. I think.

So when looking through the example and comparing it to what I saw on my screen, I noticed there were some citro3d commands in there. If I will still need citro3d, can I still find the examples in the same Git repo?

Re: Completely new to 3DS dev... Cannot build 2d-shapes example?

Posted: Sat Nov 28, 2020 9:03 pm
by fincs
I'm glad my pointers helped :)

3ds-examples contains examples for plain citro3d as well, of course.