Error Compiling from SVN

Archive of posts related to former distro versions. Be aware that posts here do not refer to the current distro and may not work.
Locked
tomtommy
New User
Posts: 27
Joined: Tue Oct 15, 2013 1:33 am

Error Compiling from SVN

Post by tomtommy »

Hi all! I'm using VS2013 Ultimate running on Win7 Ultimate SP1, but atm I can build the core only with config 'Release|x64'. Using the Win32 platform compilation gives me this error:

Code: Select all

Error	93	error LNK2019: unresolved external symbol _GetProcessMemoryInfo@12 referenced in function "unsigned int __cdecl Pol::Clib::getCurrentMemoryUsage(void)" (?getCurrentMemoryUsage@Clib@Pol@@YAIXZ)	C:\Users\User\Desktop\polserver-code-823-trunk\pol-core\pol\clib.lib(xmain.obj)	pol
File: clib.lib(xmain.obj)

This error appears for each project. Any idea about this?

Thanks :)
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: Error Compiling from SVN

Post by Turley »

Mmmh please test the latest revision, just committed a fix.
tomtommy
New User
Posts: 27
Joined: Tue Oct 15, 2013 1:33 am

Re: Error Compiling from SVN

Post by tomtommy »

Turley wrote:Mmmh please test the latest revision, just committed a fix.
I was banging my head from 4 days :P Core-x86 builded without any problem now, thanks a lot Turley :)
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: Error Compiling from SVN

Post by Turley »

Hehe sorry for the headache. I usually only compile x64 win/linux and dont expect any problems with 32bit. :)
Locked