Modcraft - The community dedicated to quality WoW modding!
Featured => Noggit => Topic started by: Synric on October 20, 2014, 07:15:36 am
-
Hello,
I've followed the instructions in Noggit's readme, and I can't seem to get it to compile. I've compiled the storm lib, but for the life of me cant get it to find the stormlib directory. I tried manually setting it, that didnt work.
It found STORM_LIBRARY_DIRECTORY (C:Program Files (x86)StormLibstorm_dll), but wont find StormLib_DIR, and therefor wont compile.
CMake Error at CMakeLists.txt:417 (FIND_PACKAGE):
By not providing "FindStormLib.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "StormLib",
but CMake did not find one.
Could not find a package configuration file provided by "StormLib" with any
of the following names:
StormLibConfig.cmake
stormlib-config.cmake
Add the installation prefix of "StormLib" to CMAKE_PREFIX_PATH or set
"StormLib_DIR" to a directory containing one of the above files. If
"StormLib" provides a separate development package or SDK, be sure it has
been installed.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
STORM_LIBRARYDAD (ADVANCED)
linked by target "noggit" in directory F:/Emulator Software/Noggit Source
STORM_LIBRARYRAD (ADVANCED)
linked by target "noggit" in directory F:/Emulator Software/Noggit Source
Configuring incomplete, errors occurred!
See also "F:/Emulator Software/Noggit Source/win/CMakeFiles/CMakeOutput.log".
See also "F:/Emulator Software/Noggit Source/win/CMakeFiles/CMakeError.log".
I've also checked through the directories, and neither StormLibConfig.cmake nor stormlib-config.cmake seem to be real files. Am I missing something?
-
Yes. That's why it says "could not find".
Look into findstorm.cmake or how it was named to see how it looks for storm. If you are lazy you can also replace those find()s with set()s to your paths.
-
It finds everything in FindStorm just fine...
What I don't understand is why STORM_LIBRAR_DIR and StormLib_DIR are two different values...
I'm sorry if I'm missing something obvious.
http://i.imgur.com/dtE6fEh.png?1 (http://i.imgur.com/dtE6fEh.png?1" onclick="window.open(this.href);return false;)
-
From the top of my head: No idea. Just fill in both.
-
Where do you point it? I'm at a loss, I've tried every directory related to storm, and I cannot find the files it's looking for (StormLibConfig.cmake, StormLib-Config.cmake), and can't find any references to them ANYWHERE.
-
It is not requiring those files. Cmake falls back to them if findstorm.cmake fails.
-
Got it resolved, had a few issues in my setup with Storm. Thanks for taking the time to try to help me