View Single Post
  #1  
Old 08-15-2011, 11:32 PM
takatok
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 20
Default Error Compliling

I have 2 main errors.

I believe the first error is perl related, but while I'm familiar with c++ and visual C, I haven't used perl much at all.

To start with, I followed this guide: http://www.eqemulator.org/forums/showthread.php?t=32980
And got the latest source using SVN just 30 minutes ago.


While compiling 2 of the 5 of the projects fail to the following error:

left operand must be an l-value.

Everyone one of the errors revolves around the following Macro:
GvCV(gp). For example Zone fails in emperl.cpp(150)

GvCV(exitgp) = perl_get_cv("my_exit", TRUE); //dies on error

I was unable to find perl 5.1 rev 1007 without buying the business edition so I"m using the lastest perl. 5.14.1 rev 1401.

I've made sure all the directories in VC++ are pointing to the correct lib and include files for the perl installation. Any help on what might be causing the error would be appreciated. Even knowing if its a version problem or more likely a setup problem would be a big help.



The second error just revolves around linking in zlib. Its looking to link in zlib.lib. I'm not sure if this is a version problem as I'm unfamilir with zlib. But the zlib I downloaded has a zlib1.dll in the main directory(which I copied into my system32 folder) and inside the lib directory has zdll.exp and zdll.lib. So not sure if I should be linking one of thse or not instead?

Tony
Reply With Quote