HSPlasmaNet_DIR-NOTFOUND

Help bring our custom Ages to life! Share tips and tricks, as well as code samples with other developers.

HSPlasmaNet_DIR-NOTFOUND

Postby Scarabee » Thu May 01, 2014 9:34 am

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
Image
Mister Magic in Moula 1255010
User avatar
Scarabee
 
Posts: 30
Joined: Wed Sep 08, 2010 1:55 pm

Re: HSPlasmaNet_DIR-NOTFOUND

Postby Deledrius » Thu May 01, 2014 9:55 am

Have you built HSPlasmaNet before building MoulKi?
User avatar
Deledrius
Gehn Shard Admin
 
Posts: 1377
Joined: Mon Oct 01, 2007 1:21 pm

Re: HSPlasmaNet_DIR-NOTFOUND

Postby Scarabee » Thu May 01, 2014 11:48 am

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'
Image
Mister Magic in Moula 1255010
User avatar
Scarabee
 
Posts: 30
Joined: Wed Sep 08, 2010 1:55 pm

Re: HSPlasmaNet_DIR-NOTFOUND

Postby Deledrius » Thu May 01, 2014 4:44 pm

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?
User avatar
Deledrius
Gehn Shard Admin
 
Posts: 1377
Joined: Mon Oct 01, 2007 1:21 pm

Re: HSPlasmaNet_DIR-NOTFOUND

Postby Scarabee » Sat May 03, 2014 12:47 pm

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
Image
Mister Magic in Moula 1255010
User avatar
Scarabee
 
Posts: 30
Joined: Wed Sep 08, 2010 1:55 pm

Re: HSPlasmaNet_DIR-NOTFOUND

Postby Luna » Sun May 04, 2014 10:39 am

Did you build zlib yourself or are you using CWE's devlib package?
Code: Select all
long longestTimeWithoutPlayingMoula = (new Date()) - (new Date(2014, 9, 26));
User avatar
Luna
 
Posts: 204
Joined: Fri Oct 08, 2010 12:21 am
Location: Il y a encore des pommes.

Re: HSPlasmaNet_DIR-NOTFOUND

Postby Scarabee » Sun May 04, 2014 2:04 pm

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
Image
Mister Magic in Moula 1255010
User avatar
Scarabee
 
Posts: 30
Joined: Wed Sep 08, 2010 1:55 pm

Re: HSPlasmaNet_DIR-NOTFOUND

Postby Luna » Mon May 05, 2014 3:22 am

hmm, hard to tell what is going wrong.

Why do you want to build MoulKI anyway? It's a dangerous tool.
Code: Select all
long longestTimeWithoutPlayingMoula = (new Date()) - (new Date(2014, 9, 26));
User avatar
Luna
 
Posts: 204
Joined: Fri Oct 08, 2010 12:21 am
Location: Il y a encore des pommes.

Re: HSPlasmaNet_DIR-NOTFOUND

Postby Scarabee » Mon May 05, 2014 6:56 am

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.
Image
Mister Magic in Moula 1255010
User avatar
Scarabee
 
Posts: 30
Joined: Wed Sep 08, 2010 1:55 pm

Re: HSPlasmaNet_DIR-NOTFOUND

Postby Tsar Hoikas » Mon May 05, 2014 9:15 am

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.
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia

Next

Return to Scripting

Who is online

Users browsing this forum: No registered users and 7 guests