Modcraft - The community dedicated to quality WoW modding!

Featured => Noggit => Topic started by: Greenpro on September 16, 2017, 11:17:43 am

Title: Noggit not building
Post by: Greenpro on September 16, 2017, 11:17:43 am
Hi its me again sorry. I have compiled stormlib (i think...) and now i have compiled noggit in cmake and am now seeing it in visual studio, however when i build ALL_BUILD it does not build properly.
Here is the error visual studio is giving me https://pastebin.com/D35NeQQd
Title: Re: Noggit not building
Post by: schlumpf on September 16, 2017, 12:15:32 pm
"library machine type 'x86' conflicts with target machine type 'x64'"

You compiled or downloaded a x86 library but compile noggit as x64.
Title: Re: Noggit not building
Post by: Greenpro on September 16, 2017, 12:35:10 pm
Ok i got it to build and i have a noggit.exe but when i try to run it, it produces an error Qt5OpenGLd.dll was not found. I am sure i set qt correctly in cmake. Or do i have to build INSTALL as well.
Title: Re: Noggit not building
Post by: schlumpf on September 16, 2017, 12:47:36 pm
I have never built the current thing on windows. There being a d at the end of the dll name, it might be looking for a debug enabled Qt build but you only have a release build installed? Maybe building in release helps? Maybe it is some stupid shit like having to copy the dlls into the noggit.exe's directory? Are they properly installed system wide?
Title: Re: Noggit not building
Post by: Greenpro on September 16, 2017, 01:01:07 pm
YES! Thank you i just had to copy the .dlls to the noggit folder. It is working now. Thanks alot.
Title: Re: Noggit not building
Post by: Greenpro on September 16, 2017, 01:14:59 pm
Ok but now noggit runs at like 6fps.
Title: Re: Noggit not building
Post by: schlumpf on September 16, 2017, 01:33:09 pm
"Configuration: Debug x64"

Debug builds will not perform well.
Title: Re: Noggit not building
Post by: Greenpro on September 16, 2017, 02:34:06 pm
Ah ok i have made it run properly now. Thanks alot. This new water edit is so strange.
Title: Re: Noggit not building
Post by: schlumpf on September 16, 2017, 10:16:09 pm
Please give UX feedback to Adspartan, preferably via the bitbucket issue tracker.
Title: Re: Noggit not building
Post by: Steff on September 18, 2017, 08:03:31 am
@Greenpro.  Perhaps you would be so kind and write a step by step guide how to ro setup and compile noggit?  To make it easyer for others want to try this.
Title: Re: Noggit not building
Post by: schlumpf on September 18, 2017, 09:46:12 am
We already have a step by step guide in the readme…
Title: Re: Noggit not building
Post by: Steff on September 18, 2017, 02:20:20 pm
What is total confusing and don´t work. I tested it.
It tells your for example not that you must compile storm lib after download.
Title: Re: Noggit not building
Post by: schlumpf on September 18, 2017, 03:27:39 pm
The very next step after downloading stormlib is building it…

If it is confusing or doesn't work, then ASK, create an ISSUE or FIX it. Every other action, like saying "it doesn't work" does not help at all.