Homebrew Nihstro-assembler Help.

Stardust3033

Well-Known Member
OP
Member
Joined
Feb 12, 2016
Messages
457
Trophies
0
Age
21
Location
behind you
XP
1,378
Country
United States
Is the only way to use Nihstro is by building it with CMake and C++ Boost libraries? I heard theres a precompiled version, but I don't know where to find it.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,032
Country
United States
Is the only way to use Nihstro is by building it with CMake and C++ Boost libraries? I heard theres a precompiled version, but I don't know where to find it.
I would say the build instructions are pretty good but a certain amount of reading may be required ;)
 

Rinnegatamante

Well-Known Member
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
Is the only way to use Nihstro is by building it with CMake and C++ Boost libraries? I heard theres a precompiled version, but I don't know where to find it.

Is there a specific reason why you're using nihstro? It's pretty outdated, there is picasso which received more recent updates.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,032
Country
United States
I downloaded the Nihstro binary, but where do I put it? Because when I type the make command it says: "Makefile:10: *** "Please set NIHSTRO in your environment. export NIHSTRO=<path to>nihstro-assemble". Stop."
It doesn't matter so much where you put it as you are going to add the "export NIHSTRO=" command to the makefile. Open up the makefile in a text editor and look for the line where it is complaining about exporting NIHSTRO. Then add the export command somewhere above it. You will be specifying the full path and file name. You could even dump it in the devkitpro folder if you are at a loss as to where to put it.(it being the binary file)
 

Stardust3033

Well-Known Member
OP
Member
Joined
Feb 12, 2016
Messages
457
Trophies
0
Age
21
Location
behind you
XP
1,378
Country
United States
It doesn't matter so much where you put it as you are going to add the "export NIHSTRO=" command to the makefile. Open up the makefile in a text editor and look for the line where it is complaining about exporting NIHSTRO. Then add the export command somewhere above it. You will be specifying the full path and file name. You could even dump it in the devkitpro folder if you are at a loss as to where to put it.(it being the binary file)
I'm still getting the error.
Here's the orignal code...

ifeq ($(strip $(NIHSTRO)),)
$(error "Please set NIHSTRO in your environment. export NIHSTRO=<path to>nihstro-assemble")
endif

Now here's my new one...

ifeq ($(strip $(NIHSTRO)),)
$(error "Please set NIHSTRO in your environment. export NIHSTRO=<C:\nihstro>nihstro-assemble")
endif

Is there something wrong with my new code?
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,032
Country
United States
I'm still getting the error.
Here's the orignal code...

ifeq ($(strip $(NIHSTRO)),)
$(error "Please set NIHSTRO in your environment. export NIHSTRO=<path to>nihstro-assemble")
endif

Now here's my new one...

ifeq ($(strip $(NIHSTRO)),)
$(error "Please set NIHSTRO in your environment. export NIHSTRO=<C:\nihstro>nihstro-assemble")
endif

Is there something wrong with my new code?
Interesting that you chose to put the export command after the error message. In this context "above" should be interpreted as "prior to". But go one step further and move the export above the ifeq line. Also, fix the path to the binary. What you have typed is not a valid format. If you can type the whole path and file name together on the command line - and it starts - then you have it right. Google absolute paths in Windows if you need to ;) good luck.
 

Stardust3033

Well-Known Member
OP
Member
Joined
Feb 12, 2016
Messages
457
Trophies
0
Age
21
Location
behind you
XP
1,378
Country
United States

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,032
Country
United States
When I type the command make it's suppose to compresses the files right?

https://gbatemp.net/threads/how-do-i-compile-files-to-3dsx.415466/

But when I do it says nihstro error.

So, when I fix the nihstro error, I can compress the file. I'm compressing new blargSnes controls.
I am sorry. I don't think I can help you further. I suspect this task is beyond your current experience level. You should should maybe take some programming classes or perhaps some online tutorials specializing in C programming and/or make usage.
 

Stardust3033

Well-Known Member
OP
Member
Joined
Feb 12, 2016
Messages
457
Trophies
0
Age
21
Location
behind you
XP
1,378
Country
United States
I am sorry. I don't think I can help you further. I suspect this task is beyond your current experience level. You should should maybe take some programming classes or perhaps some online tutorials specializing in C programming and/or make usage.
Ok, that seems like good idea. Thanks for all the help, learned a lot.:D
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Least they got head in the end