Jump to content

Compiling Nifskope for Linux Mint


Guest deleted156886133

Recommended Posts

Guest deleted156886133

I'm attempting to get Nifskope back up and running on my new Linux Mint install sans Wine, which is how I ran Nifskope on my previous OS. I have issues with Wine so I went looking for another way and found this tutorial posted by the user Foxroe for compiling Nifskope for Linux allowing it to run natively.  So, long story short, I'm five steps into it and already hit a snag. I messaged said user a few days ago yet no reply as of yet and I'm a bit anxious.

Would someone lend me their help in pulling this off? That is, if the method even works. There is only one other reply on that post and it's uncertain as to whether the poster tried the method or not.

Thanks for reading. 

Edited by UsernameWithA9
link correction
Link to comment
Share on other sites

Guest deleted156886133

My mistake. I pasted the wrong link. It should direct correctly now. Take a look and go down to step five, the beginning of the code modifications in a file called lightningwidget.h. The  tutorial states to look about four lines down for the entry #define <QWidget> and add the line #define <QAction> directly below it. When in actuality, my copy of lightningwidget.h has the entry #include <QWidget> at line 4. My issue is the discrepency between Foxroe's account of line 4 and the actual file. Should I go ahead with the insertion of the line #define <QAction>? With respect to science, I suppose I should and witness the outcome of my... experiment, but I prefer to have clear instructions prior and these seem flawed so far.

Anyways, if you can help with that, there may be a few more issues I foresee.

Edited by UsernameWithA9
Reworded a segment for clarification
Link to comment
Share on other sites

Guest deleted156886133

I'm sure this will help. Here's a copy/paste of the file's content.

lightningwidget.h

  Reveal hidden contents

 

Link to comment
Share on other sites

Guest deleted156886133
  On 3/10/2024 at 1:20 PM, HeyYou said:

I would add the line, not worrying about line count, where the tutorial wants it, and see what happens. Worst case: It doesn't work. 😄

Expand  

 True. I just woke up so please stand by.

Link to comment
Share on other sites

Guest deleted156886133

So, another snag and this one's puzzling. I've progressed to step 10, the actual compile.

Entering the command suggested by the tutorial doesn't seem to fly, as referenced below:

  Reveal hidden contents

Entering the command as suggested returns 'command not found' and simply entering qmake returns with an error stating, 'Maybe you forgot to setup the environment?' Uhhhh... yeah, maybe. Did I not install the correct package when I went looking for qmake? The terminal states that it's the latest version as evidenced below:

  Reveal hidden contents

What am I missing here? And yes, I've installed g++.

  Reveal hidden contents
Link to comment
Share on other sites

  On 3/10/2024 at 5:15 PM, UsernameWithA9 said:

xxxxx@xxxxxxxx-xxxx:~/Build/nifskope$ qmake-qt5
qmake-qt5: command not found

Expand  
  On 3/10/2024 at 5:15 PM, UsernameWithA9 said:

qt5-qmake is already the newest version (5.15.3+dfsg-2ubuntu0.2)

Expand  

Are qmake-qt5 and qt5-qmake the same thing, or included together in something? 

(Not my area of expertise, sorry -- but asking anyway in case something is backwards or got overlooked in your problem.)

Link to comment
Share on other sites

Guest deleted156886133

@AaronOfMpls That's an excellent question, however, I'm uncertain. Not my area of expertise either. 

I just performed a reboot thinking maybe that would help and... it did, to a degree. Now, when I enter qmake-qt5 into the terminal, it still returns the same as before, command not found. Flipping it to qt5-qmake yields the same result. When I just enter qmake, the folder is populated with a few new files, Makefile, .qmake.stash and three new folders, Generated Files (which has four empty sub-folders), a folder called install which has two sub-folders, one for Linux and one for Windows, each populated with respective files... and an empty folder called release. However, the terminal now returns thusly:

  Reveal hidden contents

 

Edited by UsernameWithA9
Word addition
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...