Forum > Noggit

[A little help] Compiling Noggit

(1/2) > >>

Grimtonz1337:
Alright, so I followed the instructions from here: https://bitbucket.org/berndloerwald/noggit3/overview

And so far, everything's fine. CMake was able to configure and generate everything just FINE. However, when compiling Noggit, it gives me syntax errors about qOverload and other silly stuff. To give you more information, here's what I use:

Windows 7, 32 bit
Microsoft Visual Studio 2015 (not sure if this version is supported by Noggit)
Qt5 (5.6 and 5.7, tried on both, still the same errors)
Boost 1.6.0 (using the libraries for MSVC 14.0, 32 bit)

MSVC debug output:
https://pastebin.com/tZkzWxym

schlumpf:
Is your source tree up to date? Does this line exist? https://bitbucket.org/berndloerwald/noggit3/src/25af4eb9093e7d19a7cfd43da9c423b31621a469/cmake/win32_prefind.cmake?at=default&fileviewer=file-view-default#win32_prefind.cmake-19

What if you remove the if and endif lines so the definition is always added?

Grimtonz1337:
Yes, it is up-to-date. I just downloaded the repo yesterday from Downloads section on bitbucket. I just removed the if and endif (not the add_definitions line). I re-configured and re-generated through CMake again. Build output has changed. At the end, it was unable to link the Stormlib.

7>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(638,5): error MSB6006: "link.exe" exited with code 1104.
7>LINK : fatal error LNK1104: cannot open file '_storm_any_lib-NOTFOUND.lib'

CMake also warned me that storm could not be found:

Could NOT find storm (missing:  STORM_LIBRARIES)

schlumpf:
Try manually setting the path to storm in cmake-gui

Grimtonz1337:
I tried adding an entry manually:

STORM_LIBRARIES
Path
C:/Program Files/StormLib

I also tried setting the value to include and lib, but didn't work as well. This is of course the path set from CMake to Install.

Also, what happens when I link CMAKE_PREFIX_PATH  (C:/Qt/5.7/msvc2015;C:/Program Files/StormLib)? Does it not create some sort of link for storm then and there?

EDIT:

Alright, so I didn't copy the .lib and .pch from the bin folder after compiling (I just built INSTALL and nothing else after that lol oops). Built was successful :D

Navigation

[0] Message Index

[#] Next page

Go to full version