This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Noggit not compiling  (Read 2069 times)

Synric

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
[QUESTION] Noggit not compiling
« 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Noggit not compiling
« Reply #1 on: October 20, 2014, 08:35:58 am »
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Synric

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
Re: [QUESTION] Noggit not compiling
« Reply #2 on: October 20, 2014, 08:47:16 am »
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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Noggit not compiling
« Reply #3 on: October 20, 2014, 09:40:41 am »
From the top of my head: No idea. Just fill in both.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Synric

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
Re: [QUESTION] Noggit not compiling
« Reply #4 on: October 21, 2014, 03:44:57 am »
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Noggit not compiling
« Reply #5 on: October 21, 2014, 08:58:50 am »
It is not requiring those files. Cmake falls back to them if findstorm.cmake fails.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Synric

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
Re: [QUESTION] Noggit not compiling
« Reply #6 on: October 22, 2014, 01:08:43 am »
Got it resolved, had a few issues in my setup with Storm. Thanks for taking the time to try to help me
« Last Edit: January 01, 1970, 01:00:00 am by Admin »