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.

Problems Copling H-URU fork

Postby jamie_marchant » Wed Mar 20, 2013 1:03 pm

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.
jamie_marchant
 
Posts: 105
Joined: Tue Feb 07, 2012 1:15 pm

Re: Problems Copling H-URU fork

Postby Christopher » Wed Mar 20, 2013 4:22 pm

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
User avatar
Christopher
 
Posts: 276
Joined: Mon Jul 19, 2010 3:25 am

Re: Problems Copling H-URU fork

Postby jamie_marchant » Wed Mar 20, 2013 4:43 pm

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 :(.
jamie_marchant
 
Posts: 105
Joined: Tue Feb 07, 2012 1:15 pm

Re: Problems Copling H-URU fork

Postby Mystler » Wed Mar 20, 2013 10:45 pm

Your linker cannot find the PCRE library. Please check the PCRE_LIBRARY path in CMake. It should be set to the pcre.lib file.
User avatar
Mystler
 
Posts: 116
Joined: Sun Mar 22, 2009 4:55 am
Location: Germany

Re: Problems Copling H-URU fork

Postby jamie_marchant » Thu Mar 21, 2013 7:23 am

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)
jamie_marchant
 
Posts: 105
Joined: Tue Feb 07, 2012 1:15 pm

Re: Problems Copling H-URU fork

Postby Mystler » Thu Mar 21, 2013 2:53 pm

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.
User avatar
Mystler
 
Posts: 116
Joined: Sun Mar 22, 2009 4:55 am
Location: Germany

Re: Problems Copling H-URU fork

Postby jamie_marchant » Thu Mar 21, 2013 3:09 pm

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

Postby jamie_marchant » Thu Mar 21, 2013 6:14 pm

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.
jamie_marchant
 
Posts: 105
Joined: Tue Feb 07, 2012 1:15 pm

Re: Problems Copling H-URU fork

Postby Mystler » Thu Mar 21, 2013 10:36 pm

Ah, I encountered that problem too. You have to check UTF_SUPPORT somewhere in PCRE CMake.
User avatar
Mystler
 
Posts: 116
Joined: Sun Mar 22, 2009 4:55 am
Location: Germany

Re: Problems Copling H-URU fork

Postby jamie_marchant » Fri Mar 22, 2013 6:50 am

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.
jamie_marchant
 
Posts: 105
Joined: Tue Feb 07, 2012 1:15 pm

Next

Return to Plasma Development

Who is online

Users browsing this forum: No registered users and 31 guests