LightningStalker / Splatmeme-Printer

LUFA Project for the Nintendo Switch. Pretends to be a HORI Pokken Pad and prints Splatoon 2 Posts 🍋🍋

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No rule to make target needed by 'obj/HIDParser.o' Stop.

ScorelessPine opened this issue · comments

I've been following the readme guide, but when I open a command prompt in the directory and type make I receive this error. Previously, I had been getting a separate error which I resolved by downloading a folder named obj in the comments of this reddit post. The prompt was able to successfully compile Joystick.c and seems to have been able to compile Descriptors.c and Image.c, but seems to have failed afterwards and gives me this error:

make: *** No rule to make target `LUFA/Drivers/USB/Class/Common/HIDParser.c', needed by `obj/HIDParser.o'.  Stop.

I can provide a full log from open to error of the command prompt if requested.

Even after placing the obj folder i downloaded in the correct place, however, I still get the error and I can't make the Joystick.hex file needed to flash it onto my Arduino though, do you have any idea what could be causing it?

obj is supposed to be created during compilation. What OS are you running this on?

I'm on a Windows 10 Laptop.

Unfortunately, I do not have Windows 10 to test. Did you d/l the latest Atmel toolchain?

If you're talking about the WinAVR mentioned in the link to the GCC compiler and tools install, then yes. Otherwise, I'm unsure what you're talking about.

WinAVR is way out of date. Try downloading the latest AVR toolchain.

That website requires me to create an account or submit a form as a guest in order to download the Windows Installer. It says I will receive an email to confirm my registration, so I will have to get back to you whenever that happens. In the meantime, before installing it, from a fresh download of Splatmeme-Printer-master, running make gives me this log of info to the command console: https://pastebin.com/J3BX7Dhs

I'm pretty sure it's a different error than I was getting before, but I don't really know why or how.

Yea that compiler is way too old. Showing dates from 2008 and 2010

Whenever Atmel sends the link let me know how it goes.

If it still doesn't work, also try this gbatemp thread and let me know how it goes.

Funny, I actually was just reading the same thing reposted to reddit by the same person. That thread doesn't detail how to use it with the Arduino Uno board, which is the only one that I have. Is there anywhere else that I could download the Toolchain? I still haven't gotten an email back from them and I tried filling out a form as a guest and registering for an account.

Yo I had no idea that was a thing. Worked like a charm, thanks. Ill get back to you whether it worked or not in a bit.

Okay I'm having a totally separate problem now, which I think has to do with the fact that I installed the Mingw32 thing again and now when I type make, windows can't recognize it as a command, what do I need to add to the system environment variables in order to make it work correctly? I think I have everything else done right, so if I can get this to work, i think the rest should work right too.

I tried following the gbatemp thread you linked anyway, but it seems i screwed something up when I tried to install MinGW.

Try doing a restart. Environment variables were probably changed.

I'm still getting the make error after restarting.

OKAY I FINALLY FIGURED IT OUT. It's partly because I'm stupid and didn't read the same thing correctly 5 times, partly because I needed to install other things.

The part I'm stupid about is that I wasn't adding directories to PATH, I was adding environment variables instead. After I (correctly) added the bin directories of MinGW, AVR8 toolchain, and python 2.7 to the PATH and ran make all I finally built the Joystick.hex I so terribly wanted.

Problem finally solved, so I'm closing the issue. Thanks for the help!

Yw, great to hear you got it working.

It's supposed to build the all target by default, but on Windows who knows?

Make sure to read the entire README.md as well.

Oh and one further question if you don't mind: what happens when you run make without any arguments or run make with-alert?

Running make without any arguments also seems to sucessfully build Joystick.hex, and make with-alert seems to do the same thing. I can't tell a difference between the 3 commands.

FYI, all is the default target. Running make without arguments should be the same as make all. The with-alert target compiles in the end-of-print alert. See README.md for more info.