Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP MapScript build errors on Windows #4362

Closed
jmckenna opened this issue Jun 27, 2012 · 2 comments
Closed

PHP MapScript build errors on Windows #4362

jmckenna opened this issue Jun 27, 2012 · 2 comments

Comments

@jmckenna
Copy link
Member

Using MSVC 2008 I get the following errors when compiling PHP MapScript:

   Creating library php_mapscript.lib and object php_mapscript.exp
php_mapscript_util.obj : error LNK2019: unresolved external symbol _mapscript_create_label
leader referenced in function _mapscript_fetch_object
php_mapscript_util.obj : error LNK2001: unresolved external symbol _mapscript_ce_labellead
er
label.obj : error LNK2001: unresolved external symbol _mapscript_ce_labelleader
class.obj : error LNK2001: unresolved external symbol _mapscript_ce_labelleader
php_mapscript.obj : error LNK2019: unresolved external symbol _zm_startup_labelleader refe
renced in function _zm_startup_mapscript
mapscript_i.obj : error LNK2019: unresolved external symbol _msCopyLine referenced in func
tion _lineObj_clone
mapscript_i.obj : error LNK2019: unresolved external symbol _msCopyProjection referenced i
n function _projectionObj_clone
php_mapscript.dll : fatal error LNK1120: 5 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.EXE"
' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.EXE
"' : return code '0x2'
Stop.
@aboudreault
Copy link
Member

@jmckenna give it a try

@jmckenna
Copy link
Member Author

Thanks @aboudreault , works!

(good to know about the named objects in PHPMS_CLASS_OBJS as well, noted! :)

mkofahl pushed a commit to faegi/mapserver that referenced this issue Apr 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants