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: Compiling error  (Read 1373 times)

Bth

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Compiling error
« on: March 05, 2013, 10:59:50 pm »
So, i´m triying to compile Noggit unsuccessfully.
I´ve installed all the libraries indicated in the readme, but seems that stormlib has an error. Is there a guide to install stormlib properly?
Or if it´s not the problem, What is?

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
  Could NOT find storm (missing: STORM_LIBRARY)
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
  cmake/Findstorm.cmake:26 (find_package_handle_standard_args)
  CMakeLists.txt:48 (find_package)

(I´m using windows 8 64bits and tried visual studio 2010 and 2012)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Compiling error
« Reply #1 on: March 05, 2013, 11:25:42 pm »
Try manually setting the path to it in cmake-gui.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Bth

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Re: Compiling error
« Reply #2 on: March 05, 2013, 11:49:27 pm »
I´ve tried before posting, but the error doesn´t get fixed.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Compiling error
« Reply #3 on: March 06, 2013, 09:40:30 am »
Have you compiled stormlib?

It comes not with an precompiled binary, you need to compile it before cMake can find it. Also there is a bug in the cMake script I don´t get fixed till today. It add the RAD and DAD dlls that are needed but also a Stormlib.dll that don´t exist. You have to clean this out inside VisualStudio after project creation.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954