hexabits / nifskope

Other
246 stars 54 forks source link

windws.h {linux} #12

Open Yaksinikos opened 7 years ago

Yaksinikos commented 7 years ago

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

psi29a commented 7 years ago

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
Yaksinikos commented 7 years ago

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

psi29a commented 7 years ago

@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

Yaksinikos commented 7 years ago

@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
psi29a commented 7 years ago

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 commented 7 years ago

Works for you now @Translator5 ?

Yaksinikos commented 7 years ago

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

psi29a commented 7 years ago

@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. :)