Problems Copling H-URU fork

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.
jamie_marchant
Posts: 105
Joined: Tue Feb 07, 2012 1:15 pm

Problems Copling H-URU fork

Post by jamie_marchant »

I am trying and failing to compile the H-URU fork of MOUla. I get this error:

Code: Select all

CoreLib.lib(plString.obj) : error LNK2001: unresolved external symbol _pcre_free
I tried pointing it to a version 7 release but this did not work, where do I get a Windows release of the correct or correct version? The Wiki does not say.
User avatar
Christopher
Posts: 276
Joined: Mon Jul 19, 2010 3:25 am
MOULa KI#: 0

Re: Problems Copling H-URU fork

Post by Christopher »

Do you have the latest master? If not take a look if you have the first line in this file:
https://github.com/H-uru/Plasma/blob/ma ... eLists.txt

Christopher
jamie_marchant
Posts: 105
Joined: Tue Feb 07, 2012 1:15 pm

Re: Problems Copling H-URU fork

Post by jamie_marchant »

I got the latest last night and I do have that line in my CMakeList.txt. I re-ran CMake and it worked fine. It's Visual Studio that is having the problem. I have built H-uru MOUla(or whatever they call it) on this setup before but it failed to compile last night after I got latest :(.
User avatar
Mystler
Posts: 116
Joined: Sun Mar 22, 2009 4:55 am
Location: Germany
Contact:

Re: Problems Copling H-URU fork

Post by Mystler »

Your linker cannot find the PCRE library. Please check the PCRE_LIBRARY path in CMake. It should be set to the pcre.lib file.
jamie_marchant
Posts: 105
Joined: Tue Feb 07, 2012 1:15 pm

Re: Problems Copling H-URU fork

Post by jamie_marchant »

Cmake is pointed to the correct file, no successes compiling. What version of pcre do I need? I got a per-complied version of version 7. Do I need version 8? Should the library be statically built(there is a check-box that is checked by default in CMake)
User avatar
Mystler
Posts: 116
Joined: Sun Mar 22, 2009 4:55 am
Location: Germany
Contact:

Re: Problems Copling H-URU fork

Post by Mystler »

If you are using a static build of PCRE you'll also have to check the box.

Latest PCRE 8.32 works fine for me. I recommend you compile it yourself.
jamie_marchant
Posts: 105
Joined: Tue Feb 07, 2012 1:15 pm

Re: Problems Copling H-URU fork

Post by jamie_marchant »

Right I will give that a try.
jamie_marchant
Posts: 105
Joined: Tue Feb 07, 2012 1:15 pm

Re: Problems Copling H-URU fork

Post by jamie_marchant »

Well I'm on my way to getting a working client, after struggling with VS inability to recanize certurn paths. Looks like I need to recompile PCRE with UTF8 support.
User avatar
Mystler
Posts: 116
Joined: Sun Mar 22, 2009 4:55 am
Location: Germany
Contact:

Re: Problems Copling H-URU fork

Post by Mystler »

Ah, I encountered that problem too. You have to check UTF_SUPPORT somewhere in PCRE CMake.
jamie_marchant
Posts: 105
Joined: Tue Feb 07, 2012 1:15 pm

Re: Problems Copling H-URU fork

Post by jamie_marchant »

I figured that out actually. Did you also get an error about not being able to return an array from a function when compiling PRCE? I think I "fixed" that the wrong way(I failed to correct the sinture). Also for anyone reading this PRCE must be compiled "As an administaro" if you have UAC on in Windows Vistia or 7.
Post Reply

Return to “Plasma Development”