Page 1 of 2

HSPlasmaNet_DIR-NOTFOUND

PostPosted: Thu May 01, 2014 9:34 am
by Scarabee
Hi,

I would like compile MoulKI.
I use Cmake 2.8.11 and visual studio 10.

Cmake returns:

The C compiler identification is MSVC 16.0.40219.1
The CXX compiler identification is MSVC 16.0.40219.1
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10
Check for working CXX compiler using: Visual Studio 10 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Looking for Q_WS_X11
Looking for Q_WS_X11 - not found
Looking for Q_WS_WIN
Looking for Q_WS_WIN - found
Looking for Q_WS_QWS
Looking for Q_WS_QWS - not found
Looking for Q_WS_MAC
Looking for Q_WS_MAC - not found
Found Qt4: C:/Qt/4.8.4/bin/qmake.exe (found version "4.8.4")
Found OpenSSL: optimized;C:/OpenSSL-Win32/lib/VC/ssleay32MD.lib;debug;C:/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;optimized;C:/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win32/lib/VC/libeay32MDd.lib (found version "1.0.1c")
CMake Error at CMakeLists.txt:6 (find_package):
By not providing "FindHSPlasmaNet.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"HSPlasmaNet", but CMake did not find one.

Could not find a package configuration file provided by "HSPlasmaNet" with
any of the following names:

HSPlasmaNetConfig.cmake
hsplasmanet-config.cmake

Add the installation prefix of "HSPlasmaNet" to CMAKE_PREFIX_PATH or set
"HSPlasmaNet_DIR" to a directory containing one of the above files. If
"HSPlasmaNet" provides a separate development package or SDK, be sure it
has been installed.


Configuring incomplete, errors occurred!

How can I fix the problem ?
Tanks

Re: HSPlasmaNet_DIR-NOTFOUND

PostPosted: Thu May 01, 2014 9:55 am
by Deledrius
Have you built HSPlasmaNet before building MoulKi?

Re: HSPlasmaNet_DIR-NOTFOUND

PostPosted: Thu May 01, 2014 11:48 am
by Scarabee
Yes I did it but I have the same error message :

CMake Error at CMakeLists.txt:6 (find_package):
By not providing "FindHSPlasmaNet.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"HSPlasmaNet", but CMake did not find one.

Could not find a package configuration file provided by "HSPlasmaNet" with
any of the following names:

HSPlasmaNetConfig.cmake
hsplasmanet-config.cmake

Add the installation prefix of "HSPlasmaNet" to CMAKE_PREFIX_PATH or set
"HSPlasmaNet_DIR" to a directory containing one of the above files. If
"HSPlasmaNet" provides a separate development package or SDK, be sure it
has been installed.

and during building HSPlasmaNet I had this message:

15>LINK : fatal error LNK1181: ican't open in entry: '..\core\Release\HSPlasma.lib'

Re: HSPlasmaNet_DIR-NOTFOUND

PostPosted: Thu May 01, 2014 4:44 pm
by Deledrius
It would appear that libHSPlasma failed to build and install. It's not enough to try to make a dependency for MoulKi. You must succeed in doing so before you can use the library.

What error is causing your build of libHSPlasma to fail?

Re: HSPlasmaNet_DIR-NOTFOUND

PostPosted: Sat May 03, 2014 12:47 pm
by Scarabee
What error is causing your build of libHSPlasma to fail?


In Cmake I have no error.
But during the compilation with Visual C++ 2010 I have this first error message (in French):

2>C:\Uru compilations\include\zlib.h : fatal error LNK1107: fichier non valide ou endommagé : impossible de lire à 0x152BD

Google translation :
2>C:\Uru compilations\include\zlib.h : fatal error LNK1107: invalid or corrupt file: can not read 0x152BD

I hope is that you wanted to know.
Thanks

Re: HSPlasmaNet_DIR-NOTFOUND

PostPosted: Sun May 04, 2014 10:39 am
by Luna
Did you build zlib yourself or are you using CWE's devlib package?

Re: HSPlasmaNet_DIR-NOTFOUND

PostPosted: Sun May 04, 2014 2:04 pm
by Scarabee
Hi Luna.

I fixed the problem with Zlib.
I compiled perfectly the LibHsPlasma :)

Now, I try to build MoulKi with CMake .
I added the 2 directories HSPlasma_Dir and HSPlasmaNet_Dir in ungrouped entries before configure

But I have that error message:

CMake Error at C:/Uru compilations/libhsplasma-master/core/HSPlasmaConfig.cmake:2 (include):
include could not find load file:

C:/Uru compilations/libhsplasma-master/core/HSPlasma-targets.cmake
Call Stack (most recent call first):
C:/Uru compilations/libhsplasma-master/net/HSPlasmaNetConfig.cmake:1 (find_package)
CMakeLists.txt:6 (find_package)


Configuring incomplete, errors occurred!

Can you help me ?
Thanks

Re: HSPlasmaNet_DIR-NOTFOUND

PostPosted: Mon May 05, 2014 3:22 am
by Luna
hmm, hard to tell what is going wrong.

Why do you want to build MoulKI anyway? It's a dangerous tool.

Re: HSPlasmaNet_DIR-NOTFOUND

PostPosted: Mon May 05, 2014 6:56 am
by Scarabee
Luna wrote:hmm, hard to tell what is going wrong.

Why do you want to build MoulKI anyway? It's a dangerous tool.


If you think that tool is dangerous, why post it on github ?

All is dangerous. Using the Plasma lib is dangerous, PlClient is dangerous, but only for people that doesn't know what they are doing.
I know perfectly what I do in Uru Live. I'm not stupid. But perhas you don't know who am I ?
Unfiortunately, I speak French, so I can't explain all what I would like to say in English.

MoulKi is a tool, just a tool for me.

I just note that you can't help me . Perhaps someone else can do it ?

Have a good day.

Re: HSPlasmaNet_DIR-NOTFOUND

PostPosted: Mon May 05, 2014 9:15 am
by Tsar Hoikas
Once someone has a working copy of MoulKI, there is no security in Uru--the internal client is nothing in comparison. Forgive us if we do not actively help people compile copies of it. If you're not able to do that yourself, then perhaps this tool is not appropriate for you to be using at this time.