nifskope icon indicating copy to clipboard operation
nifskope copied to clipboard

windws.h {linux}

Open Yaksinikos opened this issue 8 years ago • 8 comments

I've tried to build in linux, but widnows.h is missing there -.- how did you get your build; becasue if I leave bsatest I get missing issues in message.h

Yaksinikos avatar Dec 29 '16 00:12 Yaksinikos

This should be fixed in this commit: https://github.com/niftools/nifskope/pull/101

Please test this branch. I used the following:

/usr/lib/x86_64-linux-gnu/qt5/bin/qmake -makefile NifSkope.pro

psi29a avatar Jan 12 '17 08:01 psi29a

@psi29a nope, do not work for me :& same error (using dev branch, psi29a:2.0.0-dev6-linux-fix"

Yaksinikos avatar Jan 13 '17 19:01 Yaksinikos

@Translator5 How is that? windows.h was removed in headers so it will be impossible to fail in the same way.

See for yourself: https://github.com/niftools/nifskope/pull/101/files#diff-583527b78fce7a9dd0c28359629642ff

Line 15

Please post your error.

Result of my branch: Image of Nifscope 2.0

psi29a avatar Jan 13 '17 19:01 psi29a

@jonwd7

Please post your error.

Project MESSAGE: lupdate could not be found, ignoring make target
Project MESSAGE: lrelease could not be found, ignoring build step

Yaksinikos avatar Jan 14 '17 11:01 Yaksinikos

Those messages don't have anything to do with not having windows.h. I used to get those too, but that was because I didn't initialize the submodules such as zlib, docsys, kfmxml, nifxml and qhull.

git clone --recursive git://github.com/psi29a/nifskope.git
git checkout 2.0.0-dev6-linux-fix
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake -makefile NifSkope.pro
make -j4

I just tested, from scratch. :)

psi29a avatar Jan 14 '17 13:01 psi29a

Works for you now @Translator5 ?

psi29a avatar Jan 16 '17 20:01 psi29a

@psi29a nope, I dont get it to run :/ hmm may some commands run from false directory or sth. like that ... :confused:

Yaksinikos avatar Jan 17 '17 13:01 Yaksinikos

@Translator5 : what distribution are you using? Also, with the commands I posted above, can you use pastebin or gist to post the output of all the commands and post the link here? I would really like to solve this mystery. :)

psi29a avatar Jan 17 '17 14:01 psi29a