[mapguide-dev] RE: Roadblock trying to build from SVN with VS2005...

Jason Birch Jason.Birch at nanaimo.ca
Sat Aug 26 03:44:27 EDT 2006


And I'm actually up and running on the SVN version. Amazing... :)
 
Thanks again,
Jason

________________________________

From: Steve Dang [mailto:steve.dang at autodesk.com]
Sent: Fri 2006-08-25 11:02 PM
To: dev at mapguide.osgeo.org; Trevor Wekel
Subject: RE: [mapguide-dev] RE: Roadblock trying to build from SVN with VS2005...




I've just reviewed/verified Trevor's fix (thanks Trevor!).

The Debug build should be fine now.

Steve.

-----Original Message-----
From: Jason Birch [mailto:Jason.Birch at nanaimo.ca]
Sent: Friday, August 25, 2006 10:50 PM
To: Trevor Wekel; dev at mapguide.osgeo.org
Subject: [mapguide-dev] RE: Roadblock trying to build from SVN with
VS2005...


Thanks; I've switched to Release builds now, and was able to get
everything compiled.

Jason


________________________________

From: Trevor Wekel [mailto:trevor.wekel at autodesk.com]
Sent: Fri 2006-08-25 4:46 PM
To: Jason Birch; dev at mapguide.osgeo.org
Subject: RE: Roadblock trying to build from SVN with VS2005...



Hi Jason,

Ok.  This one is caused by three template classes declared with missing
dll import/export attributes.  It works ok in a release build but fails
under a debug build.  I've just put in another fix.  Hopefully this will
clear up both build flavours for you.  You should be able to svn update
from just MgDev/Common.

This library is a support library for unit testing.  If you're not
running the Web Extension (Php) unit tests, you could comment this
project out of your build.  It's just a Php extension library that we
include to access the SQLite test databases under
MgDev/UnitTest/TestData.

Thanks,

Trevor

-----Original Message-----
From: Jason Birch [mailto:Jason.Birch at nanaimo.ca]
Sent: Friday, August 25, 2006 5:28 PM
To: Trevor Wekel; dev at mapguide.osgeo.org
Subject: RE: Roadblock trying to build from SVN with VS2005...

Thanks.  Couple new issues now:

Error   1564    error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
MgDisposable::SetRefCountFlag(void)"
(__imp_?SetRefCountFlag at MgDisposable@@QAEXXZ) referenced in function
"public: __thiscall Ptr<class MgLongTransactionData>::Ptr<class
MgLongTransactionData>(class MgLongTransactionData *)"
(??0?$Ptr at VMgLongTransactionData@@@@QAE at PAVMgLongTransactionData@@@Z)
SwigWrappers.obj      

Error   1565    fatal error LNK1120: 1 unresolved externals
..\..\bin\win32\debug/php_SQLitePhpApid.dll   

Jason


-----Original Message-----
From: Trevor Wekel [mailto:trevor.wekel at autodesk.com]
Sent: Friday, August 25, 2006 13:32
To: Jason Birch; dev at mapguide.osgeo.org
Subject: RE: Roadblock trying to build from SVN with VS2005...

Hi Jason,

The SQLite project piggybacks on the SWIG infrastructure used by the Web
Extensions.  You are correct, the common framework changes broke the
SQLite compilation.  I have just put a fix in under "MG371: Add
resources to Platform libraries, fix Sqlite compilation".  An SVN update
should fix the compile error.

Thanks,

Trevor

-----Original Message-----
From: Jason Birch [mailto:Jason.Birch at nanaimo.ca]
Sent: Friday, August 25, 2006 2:13 PM
To: dev at mapguide.osgeo.org
Subject: Roadblock trying to build from SVN with VS2005...

Has the build order changed with the introduction of the common
framework, or is there an additional environment variable or VS setting
that I need to have?

When I try to build Oem (the first step in the docs) I get an error in
the SQLite compilation:

Error   1       fatal error C1083: Cannot open include file:
'MapGuideCommon.h': No such file or directory
d:\osgeo\mgbuild\oem\sqlite\src\sqlitephpapi\sqlitephpapi_wrap.cpp
62    

Jason





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: dev-help at mapguide.osgeo.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: dev-help at mapguide.osgeo.org



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6873 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-internals/attachments/20060826/d4a6184f/attachment.bin


More information about the Mapguide-internals mailing list