[fdo-dev] FW: FW: [fdo-users] RE: [fdo-dev] Re: FW: [fdo-users] RE: [fdo-dev] Query on MySQL FDO

Romica Dascalescu Romica.Dascalescu at autodesk.com
Fri Oct 13 10:29:14 EDT 2006


Hi Rajneesh,

I had a look at the project Fdo\UnitTest\UnitTest.vcproj 
	- UseOfMFC="0" - ok
	- PreprocessorDefinitions does not contains __CPPUNIT_MFC_APP -
ok
	- The File Fdo\UnitTest\Pch.h does not contains define
__CPPUNIT_MFC_APP - ok
Everything looks ok. I tried a full build on a clean machine (with VC++
and VC# Express 2005 and it worked + SDK).
Maybe your problem is coming from file
Thirdparty\cppunit\HostApp\StdAfx.h
In this file you should have next part of code (it's the only place
where an afx (MFC) header file can be included):
#ifdef __CPPUNIT_MFC_APP
	#define _AFXDLL
	#include <afxwin.h>         // MFC core and standard components
	#include <afxext.h>         // MFC extensions
	#ifndef _AFX_NO_AFXCMN_SUPPORT
		#include <afxcmn.h>
	#endif // _AFX_NO_AFXCMN_SUPPORT
#else
	#define WIN32_LEAN_AND_MEAN
	#include <stdio.h>
	#include <tchar.h>
	#include <Windows.h>
#endif // __CPPUNITMFCAPP

Can you check please if you have the last version of Thirdparty folder?
Can you make an update on this folder and if something changed make a
build?
Also can you check for __CPPUNIT_MFC_APP if you defined? 
__CPPUNIT_MFC_APP must be undefined.

Regards,
Romica

-----Original Message-----
From: Rajneesh Verma [mailto:rajneesh at klgsystel.com] 
Sent: Friday, October 13, 2006 1:06 AM
To: Romica Dascalescu
Cc: dev at fdo.osgeo.org; users at fdo.osgeo.org; 'Manjeet Sharma'
Subject: [fdo-dev] FW: FW: [fdo-users] RE: [fdo-dev] Re: FW: [fdo-users]
RE: [fdo-dev] Query on MySQL FDO

Hi Romica,

We are getting these error messages during build process of both "Core
FDO and  MySql FDO provider ".

The project names that we are trying to build are:

FDO.sln
MYSQL.sln

and we are getting these errors during the build process of subproject
"unittest.sln" (FDO project) and "unittestmysql.sln" (MySQL project).

Please mark your response to Manjeet also as he is working with us on
this
project.

Thanks
Rajneesh

>
> -----Original Message-----
> From: Romica Dascalescu [mailto:Romica.Dascalescu at autodesk.com]
> Sent: Thursday, October 12, 2006 8:11 PM
> To: dev at fdo.osgeo.org
> Cc: users at fdo.osgeo.org; Rajneesh Verma
> Subject: [fdo-users] RE: [fdo-dev] Re: FW: [fdo-users] RE: [fdo-dev]
Query
> on MySQL FDO
>
>
> Hi Rajneesh,
>
> Could you please tell me on which project (.sln and .vcproj) do you
have
> this error?
> Could you please provide me more information?
>
> Thanks,
> Romica.
>
>
> -----Original Message-----
> From: Rajneesh Verma [mailto:rajneesh at klgsystel.com]
> Sent: Thursday, October 12, 2006 2:34 AM
> To: Romica Dascalescu
> Cc: dev at fdo.osgeo.org; users at fdo.osgeo.org
> Subject: [fdo-dev] Re: FW: [fdo-users] RE: [fdo-dev] Query on MySQL
FDO
>
> Hi Romica,
>
> Thanks for the guidance. However, we are still facing problem as given
> below:
>
> We have already done checkout of utilities folder and are getting the
> error
> message as below:
>
> c:\program files\microsoft visual studio 8\vc\atlmfc\include\afx.h(24)
> : fatal error C1189: #error :  Building MFC application with /MD[d]
(CRT
> dll
> version) requires MFC shared dll version. Please #define _AFXDLL or do
> not
> use /MD[d]
>
>
> Regards
>
> Rajneesh
>
>
>
> > -----Original Message-----
> > From: Romica Dascalescu [mailto:Romica.Dascalescu at autodesk.com]
> > Sent: Tuesday, October 10, 2006 11:44 PM
> > To: dev at fdo.osgeo.org; users at fdo.osgeo.org
> > Cc: Rajneesh Verma
> > Subject: [fdo-users] RE: [fdo-dev] Query on MySQL FDO
> >
> >
> > Hi,
> >
> > Because '[FDO Open Source]\Utilities' directory is not on your local
> > disk I think you took from SVN only fdo, thirdparty and rdbms. You
> need
> > also the utilities for providers.
> > You can use checkoutsvn.bat to get/update your working folder by
using
> > -w command e.g.:
> > checkoutsvn.bat -w=fdocore -w=rdbms -u=xxx -p=xxx -o=xxx -s=xxx
> > Or
> > checkoutsvn.bat -w=fdo -w=utilities -w=rdbms -u=xxx -p=xxx -o=xxx
> -s=xxx
> >
> > The option fdocore include utilities option.
> > Before running checkoutsvn.bat, please update it from SVN.
> > After this command you should have and build the utilities without
any
> > problems.
> > If you still have problems please let me know.
> >
> > Regards,
> > Romica.
> >
> >
> >
> >
> >
>
>
> --
> Manjeet Sharma
> Software Engineer
> Daffodil Software Ltd.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe at fdo.osgeo.org
> For additional commands, e-mail: dev-help at fdo.osgeo.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at fdo.osgeo.org
> For additional commands, e-mail: users-help at fdo.osgeo.org
>
>
>


-- 
Manjeet Sharma
Software Engineer
Daffodil Software Ltd.


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






More information about the Fdo-users mailing list