PDA

View Full Version : compile error: Perl_get_context


strider51
08-09-2014, 06:21 PM
hello,

HAVING AN ISSUE LINKING: -- EDIT
having an issue compiling. Where is this function ? I searched online and in my folders and the forum.

Where is the lib that I have to link? The folders are full of .pms ?

Thanks,

strider51
08-09-2014, 06:54 PM
update -
CMAKE auto linked my perl to c:/Perl64. (I installed this thinking it was needed)
I deleted those folders and re-ran CMAKE. They're now pointing to the 32 bit perl version 5.12 which is in c:/perl (which i saw when looking at world's properties)

I'll let you all know if this compiles.

strider51
08-09-2014, 07:08 PM
ok still not working... I have 5.12 all linked properly. not sure whats up

strider51
08-09-2014, 07:14 PM
so the error is : Unresolved External Symbol <random perl calls>. WHich i'm assuming means that it cannot find that function in the lib that its linking. I checked I have a lib in the path C:\Perl\lib\CORE\perl512.lib .

any ideas ?

Scorpious2k
08-09-2014, 07:24 PM
Did cmake run completely? Where did it point for perl lib?

strider51
08-09-2014, 07:28 PM
looks like the right dir. check out my cmake output below.
Thanks for the help man.


The C compiler identification is MSVC 18.0.30723.0
The CXX compiler identification is MSVC 18.0.30723.0
Check for working C compiler using: Visual Studio 12 2013 Win64
Check for working C compiler using: Visual Studio 12 2013 Win64 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 12 2013 Win64
Check for working CXX compiler using: Visual Studio 12 2013 Win64 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Found ZLIB: C:/EQ/Source/dependencies/zlib_x64/lib/zlib.lib (found version "1.2.5")
Found MySQL: C:/EQ/Source/dependencies/mysql_x64/lib/debug/mysqlclient.lib
Found Perl: C:/Perl/bin/perl.exe (found version "5.12.3")
Found PerlLibs: C:/Perl/lib/CORE/perl512.lib (found version "5.12.3")
Found Lua51: C:/EQ/Source/dependencies/luaj_x64/bin/lua51.lib (found version "5.1.4")
Boost version: 1.53.0
Configuring done

Scorpious2k
08-09-2014, 10:07 PM
Is that the 32 bit version? It looks like everything else is 64.

strider51
08-10-2014, 04:29 AM
And.... That was it. I had 2 versions of perl installed which messed me up.

Uninstalled all. Installed only 5.16 x64.

Thanks for the help!

Scorpious2k
08-10-2014, 04:47 PM
You're welcome.