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

Post Reply
Nomkid
Posts: 2
Joined: Sat Nov 28, 2020 7:36 am

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

Post by Nomkid » Sat Nov 28, 2020 7:53 am

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)

User avatar
fincs
( ͡° ͜ʖ ͡°)
Posts: 103
Joined: Mon Jul 12, 2010 9:45 pm
Location: Seville, Spain
Contact:

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

Post by fincs » Sat Nov 28, 2020 5:11 pm

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.
Donate to devkitPro - help us stay alive!

Nomkid
Posts: 2
Joined: Sat Nov 28, 2020 7:36 am

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

Post by Nomkid » Sat Nov 28, 2020 6:45 pm

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?

User avatar
fincs
( ͡° ͜ʖ ͡°)
Posts: 103
Joined: Mon Jul 12, 2010 9:45 pm
Location: Seville, Spain
Contact:

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

Post by fincs » Sat Nov 28, 2020 9:03 pm

I'm glad my pointers helped :)

3ds-examples contains examples for plain citro3d as well, of course.
Donate to devkitPro - help us stay alive!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest