NFlib Compilation Error

  • Thread starter Thread starter wojota_
  • Start date Start date
  • Views Views 1,217
  • Replies Replies 11

wojota_

Active Member
Newcomer
Joined
Jan 12, 2025
Messages
31
Reaction score
2
Trophies
0
XP
161
Country
United Kingdom
I get this error when trying to compile any NFlib project. Does anybody know how to fix this? I am on Windows 11. Here are all the screenshots. Thanks for any help in advance
 

Attachments

  • Screenshot 2025-01-16 182718.png
    Screenshot 2025-01-16 182718.png
    22.4 KB · Views: 64
  • Screenshot 2025-01-20 085810.png
    Screenshot 2025-01-20 085810.png
    35.6 KB · Views: 63
  • Screenshot 2025-01-20 085854.png
    Screenshot 2025-01-20 085854.png
    30 KB · Views: 62
It looks like you updated libnds but did not get the new calico components. Try reinstalling “nds-dev” with pacman.
However, I would not be surprised if nflib no longer works with the latest libnds.
 
What version would it work with?
I don’t know. To be clear I said - I would not be surprised if it did not work. I did not say that I know that it will not work.
I can say that historically devkitpro does not support prior versions. If you do run into issues with nflib you will likely need to reach out to the nflib maintainers - maybe post an issue on their GitHub site.
 
Where exactly? Would that be the issues page for nflib? Could I have a link?

P.S Thank you very much for helping me ;)
 
Last edited by wojota_,
Where exactly? Would that be near the download page for nflib? Could I have a link?

P.S Thank you very much for helping me ;)
I would recommend starting by compiling the nds examples - without nflib. Then trying nflib and see if there are issues.
Were you able to install the missing calico library?
Here is a link that describes how to use pacman to install components - specifically nds-dev” -
https://devkitpro.org/wiki/Getting_Started

Another thing to keep in mind. A lot of emulators do not support the new libnds - so you may need to test with hardware rather than an emulator.
 
Already did that. No problems with that. Issues only arose when compiling nflib projects.
No because I am frankly an idiot with pacman. Will try again.
Have a DSi. Worked with melonDS. Assuming it will probably translate over to hardware.
Post automatically merged:

Tried installing nds-dev. Got some errors. Need help.

Says it is a syntax error. I just want to confirm that I am doing it correctly.

Screenshot 2025-01-20 204700.png


Also tried it with quotation marks. Same error.

Didn't write anything at the beginning.
 
Last edited by wojota_,
Already did that. No problems with that. Issues only arose when compiling nflib projects.
No because I am frankly an idiot with pacman. Will try again.
Have a DSi. Worked with melonDS. Assuming it will probably translate over to hardware.
Post automatically merged:

Tried installing nds-dev. Got some errors. Need help.

Says it is a syntax error. I just want to confirm that I am doing it correctly.

View attachment 481477

Also tried it with quotation marks. Same error.

Didn't write anything at the beginning.
You don't actually add the <>, they're just there to indicate an argument you need to replace.
 
  • Like
Reactions: wojota_
Okay
Post automatically merged:

This is exactly why I am an idiot with pacman.

P.S Thank you very much
Post automatically merged:

New question. How do you fix this error.

Screenshot 2025-01-20 211029.png


P.S This is probably another one of those easy fixes
Post automatically merged:

New question. How do you fix this error.

Screenshot 2025-01-20 211029.png


P.S This is probably another one of those easy fixes
 
Last edited by wojota_,
what operating system are you using? This is saying “sudo” does not exist - which makes me think you are using windows. If that is the case then make sure you are using the windows section in the link I specified.
pacman -S nds-dev
And possibly
pacman -S calico

Did you say the libnds examples compile fine? If so then the issue is likely with the makefile for the nflib examples. In that case you could try and get support from nflib maintainers. Though personally I would say just use libnds without nflib.
 
Hello, I was having the same issue. I did manage to reinstall / update all the components, but that did mainly nothing. Any more ideas? Any help appreciated.
 

Site & Scene News

Popular threads in this forum