Modcraft - The community dedicated to quality WoW modding!
Featured => Noggit => Topic started by: Synric on July 02, 2016, 12:13:02 am
-
Hello,
I'm currently trying to compile the QT branch of Noggit. I have everything checked out and all that. Everything goes fine until Visual Studio attempts to finish compiling, when it spits out this error:
LNK1104 cannot open file 'Boost::system.lib' noggit C:Users*****DesktopNoggitnoggit3WinLINK
When I run cmake it says it found both libraries, but later spits out these warnings:
Target "noggit" links to target "Boost::system" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
This warning is for project developers. Use -Wno-dev to suppress it.
Target "noggit" links to target "Boost::filesystem" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
This warning is for project developers. Use -Wno-dev to suppress it.
The most logical explanation is obviously that it the system and filesystem libs don't exist, but cmake is has them listed as:
(http://i.imgur.com/g20SkcE.jpg)
Next stop was to make sure the files listed there exist, and they do. I then went, read how to compile those two libraries from scratch and I basically compiled them in every mode possible (debug, release, dynamic, static, etc.), made there they all ended up together in the lib folder, but still nothing worked. Googled it, which said system had to come before filesystem, changed that, nothing.
I've been trying to figure this out myself for two days now, and I'm out of ideas at this point. Anyone have something I may have missed or overlooked?
-
Cmake version? Have you tried following the readme?
-
Cmake version is 3.4.1, boost is 1.61, with MSVC14.
Yeah i followed the readme, everything except build INSTALL, because when I follow the windows portion of the readme that project doesnt get built/added.
-
The windows portion of the readme was confirmed to be working on machines installed from scratch. It would be very weird if it didn't. I personally never used that "libs" repo and won't ever suggest anyone doing so, so I can't help with that. It seems like the Boost library paths were manually entered though, not found using `find_package (Boost)` as it should (as `BOOST_ROOT` is empty). This will break stuff.
-
Did it without the repo libs, still nothing. Oh well, ill just go back to using normal noggit. Thanks for trying to help though.
-
Did it without the repo libs, still nothing.
Define "nothing". Did cmake run without issues? What is the entire cmake log of a clean configure?
-
As it seems from your screenshot
(http://i.imgur.com/g20SkcE.jpg)
that you have placed the libs in a wrong folder, try this:
This repo contains all libs to compile noggit3 on windows.
Just clone the repo into the same folder your Noggit3 repo is with the folder name Noggit3libs.
Have a look at the path structure below.
Latest Cmake file from noggit will find stuff there.
ALso the binarys in Noggit3 repo are updated. Copy them over to run Noggit.
Steff
Needed folder structure
¦
+-----Noggit3Repo
¦ +----CMakeLists.txt
+-----Noggit3libs < This folder MUST have exactly this name!
+----readme.txt
This qote is taken from https://bitbucket.org/modcraft/noggit3libs after reading the overview on https://bitbucket.org/berndloerwald/noggit3
I hope that i could interpret yout error the right way and that this helps.
Edit: I stumbled over some problmes myself while trying to compile noggitQT but got it working in the end.
BIG EDIT:
Apparently i made a huge mistake. I accedently downloaded the SDL version not the QT one
BUT
I am currently compiling the (real) QT version and you have to name the folder your libs in not to "Noggit3libs" but to "Noggit_QT_libs" and you may have to change the boost path in the CmakeList.txt. Thats the way it seems to work for me.
-
schlumpf, it still won't compile with the same issues as above
Jøk3r, I was using Noggit_QT_libs, thats why it was set like that. I had originally tried Noggit3Libs in the format the readme suggested, and that did not work either.
-
schlumpf, it still won't compile with the same issues as above
Jøk3r, I was using Noggit_QT_libs, thats why it was set like that. I had originally tried Noggit3Libs in the format the readme suggested, and that did not work either.
Have you used this readme ?
https://bitbucket.org/berndloerwald/nog ... #README-26 (https://bitbucket.org/berndloerwald/noggit3/src/bc3cd18cb2fec8faabad84cd22fa8318c992d9b9/README?at=qt-no-old-ui&fileviewer=file-view-default#README-26" onclick="window.open(this.href);return false;)
-
schlumpf, it still won't compile with the same issues as above
Jøk3r, I was using Noggit_QT_libs, thats why it was set like that. I had originally tried Noggit3Libs in the format the readme suggested, and that did not work either.
Have you used this readme ?
https://bitbucket.org/berndloerwald/nog ... #README-26 (https://bitbucket.org/berndloerwald/noggit3/src/bc3cd18cb2fec8faabad84cd22fa8318c992d9b9/README?at=qt-no-old-ui&fileviewer=file-view-default#README-26" onclick="window.open(this.href);return false;)
Yep, as I said to Schlumpf I followed that step by step except building INSTALL because the project never showed up.
-
Did it without the repo libs, still nothing.
Define "nothing". Did cmake run without issues? What is the entire cmake log of a clean configure?
The second question would be the important one.
-
From the GUI (http://pastebin.com/wrGqwDmm)
CmakeOutput (http://pastebin.com/KJpsBYcL)
No error log, I'd assume because nothing was fatal.
-
Also, your CMakeCache.txt please.
-
Also, that cmake output does not look like a clean configure (it is for example missing qt altogether)
-
http://pastebin.com/gDrX79sv (http://pastebin.com/gDrX79sv" onclick="window.open(this.href);return false;)
and it was a cache delete/reload when I tried, I dunno what happened :/
-
This is extremely weird, everything looks fine, but it seems to just not define those targets even though cmake 3.5+ do.
I'm sorry but I only have the absurd one thing left before I'll have to ask for you to somehow let me dig in it using teamviewer.
Try changing the minimum required version in https://bitbucket.org/berndloerwald/nog ... ists.txt-3 (https://bitbucket.org/berndloerwald/noggit3/src/bc3cd18cb2fec8faabad84cd22fa8318c992d9b9/CMakeLists.txt?at=qt-no-old-ui&fileviewer=file-view-default#CMakeLists.txt-3" onclick="window.open(this.href);return false;) to 3.5. (It is a bug that it isn't anyway)