[fdo-users] FDO VC 2008 - Compilation Issue

Romica Dascalescu Romica.Dascalescu at autodesk.com
Mon Nov 22 12:18:28 EST 2010


Hi Ela,

FdoMessage.h is a generated file and it gets genetated into "Your_FDO_path\Fdo\Unmanaged\Inc\FdoMessage.h" by project "Your_FDO_path\Fdo\Unmanaged\Src\Message.vcproj"
Below is the command line executed by the project. You can run yourself line by line from the command line where you set FDO variables. In case you get an error you can see the details about it. After running all below commands you should see FdoMessage.h in specified location.

CD "Your_FDO_path\Fdo\Unmanaged"

mc -U -h Inc\ -r Src\Message\ Src/Message/FDOMessage.mc
ren Src\Message\FDOMessage.rc MessageDynamic.rc
copy Src\Message\MessageStatic.rc+Src\Message\MessageDynamic.rc Src\Message\Message.rc
del Src\Message\MessageDynamic.rc
ren Inc\FDOMessage.h FdoMessage.h

Regards,
Romy.
________________________________________
From: fdo-users-bounces at lists.osgeo.org [fdo-users-bounces at lists.osgeo.org] on behalf of Elavazhagan. M [elavazhagan.mouniandy at kcubeconsulting.com]
Sent: Monday, November 22, 2010 11:42 AM
To: 'Elavazhagan. M'; 'FDO Users Mail List'
Subject: RE: [fdo-users] FDO VC 2008 - Compilation Issue

Hello Romy,

Here are some more supplementary information. When I try to build the shp
provider alone, I am getting the below error. (I was trying in another
machine, that is the reason for the change of the source directory)

C:\OpenSource>build -w=shp
Build release SHP provider dlls
Build started 11/22/2010 10:18:37 PM.
Project "C:\OpenSource\Providers\SHP\Src\SHP_temp.sln" on node 0 (Build
target(
s)).
  Building solution configuration "release|Win32".
C:\OpenSource\Fdo\Unmanaged\inc\Common/Exception.h(26): fatal error C1083:
Cann
ot open include file: 'FdoMessage.h': No such file or directory
C:\OpenSource\Fdo\Unmanaged\inc\Common/Exception.h(26): fatal error C1083:
Cann
ot open include file: 'FdoMessage.h': No such file or directory
Done Building Project "C:\OpenSource\Providers\SHP\Src\SHP_temp.sln" (Build
tar
get(s)) -- FAILED.


Build FAILED.

Time Elapsed 00:00:10.31
There was a build error executing action: Build
There was a build error.

Any help?

Thanks,
Ela.

> -----Original Message-----
> From: Elavazhagan. M [mailto:elavazhagan.mouniandy at kcubeconsulting.com]
> Sent: Monday, November 22, 2010 11:18 AM
> To: 'FDO Users Mail List'
> Subject: RE: [fdo-users] FDO VC 2008 - Compilation Issue
>
> Hello Romy,
>
> Yes, I do have ActivePerl installed to C:\Perl. Also, I am following
> only OpenSourceBuild__README.txt to build FDO.
>
> Do you have any other clue?
>
> Thanks,
> Ela.
>
> > -----Original Message-----
> > From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-
> > bounces at lists.osgeo.org] On Behalf Of Romica Dascalescu
> > Sent: Friday, November 19, 2010 9:42 PM
> > To: FDO Users Mail List
> > Subject: RE: [fdo-users] FDO VC 2008 - Compilation Issue
> >
> > Hello Ela,
> >
> > Could you please tell me if you have installed ActiveState Perl,
> > available from http://www.activestate.com/ActivePerl ?
> > Build steps can be found in OpenSourceBuild__README.txt
> >
> > Regards,
> > Romy.
> > ________________________________
> > From: fdo-users-bounces at lists.osgeo.org [fdo-users-
> > bounces at lists.osgeo.org] on behalf of Elavazhagan. M
> > [elavazhagan.mouniandy at kcubeconsulting.com]
> > Sent: Friday, November 19, 2010 10:33 AM
> > To: fdo-users at lists.osgeo.org
> > Subject: [fdo-users] FDO VC 2008 - Compilation Issue
> >
> > Hello List,
> >
> > I am trying to build FDO and Providers using VC 2008. I was able to
> > compile third_party DLLs. But after that when I compile fdo using
> > build.bat I am getting the following error:
> >
> > error PRJ0019: A tool returned an error code from "Performing Custom
> > Build Step:  Creating GRFPMessage.h and RFPMessage.rc from
> > GRFPMessage.mc"
> >
> > Please not that I have already tried vcvars32.bat and vsvars32.bat
> with
> > no success.
> >
> > Detailed output from the command prompt:
> > C:\Test\fdo\OpenSource_FDO>build
> > Build release Fdo dlls
> > Build started 11/19/2010 8:53:41 PM.
> > Project "C:\Test\fdo\OpenSource_FDO\Fdo\FDO.sln" on node 0 (Build
> > target(s)).
> >   Building solution configuration "release|Win32".
> > Message:
> >   Deleting file
> > "C:\Test\fdo\OpenSource_FDO\Fdo\Unmanaged\Message.tmp_Release_W
> >   in32.vcproj".
> > Common:
> >   Deleting file
> > "C:\Test\fdo\OpenSource_FDO\Fdo\Unmanaged\Common.tmp_Release_Wi
> >   n32.vcproj".
> > Geometry:
> >   Deleting file
> > "C:\Test\fdo\OpenSource_FDO\Fdo\Unmanaged\Geometry.tmp_Release_
> >   Win32.vcproj".
> > MgCommon:
> >   Deleting file
> > "C:\Test\fdo\OpenSource_FDO\Fdo\Managed\Project\MgCommon.tmp_Re
> >   lease_Win32.vcproj".
> > Spatial:
> >   Deleting file
> > "C:\Test\fdo\OpenSource_FDO\Fdo\Unmanaged\Spatial.tmp_Release_W
> >   in32.vcproj".
> > MgGeometry:
> >   Deleting file
> > "C:\Test\fdo\OpenSource_FDO\Fdo\Managed\Project\MgGeometry.tmp_
> >   Release_Win32.vcproj".
> > Fdo:
> >   Deleting file
> > "C:\Test\fdo\OpenSource_FDO\Fdo\Unmanaged\Fdo.tmp_Release_Win32
> >   .vcproj".
> > MgFDO:
> >   Deleting file
> > "C:\Test\fdo\OpenSource_FDO\Fdo\Managed\Project\MgFDO.tmp_Relea
> >   se_Win32.vcproj".
> > MgSpatial:
> >   Deleting file
> > "C:\Test\fdo\OpenSource_FDO\Fdo\Managed\Project\MgSpatial.tmp_R
> >   elease_Win32.vcproj".
> > UnitTest:
> >   Deleting file
> > "C:\Test\fdo\OpenSource_FDO\Fdo\UnitTest\UnitTest.tmp_Release_W
> >   in32.vcproj".
> > Done Building Project "C:\Test\fdo\OpenSource_FDO\Fdo\FDO.sln" (Build
> > target(s)
> > ).
> >
> >
> > Build succeeded.
> >
> > Time Elapsed 00:02:39.75
> > End FDO Build
> > Build release GdalFile provider dlls
> > Microsoft (R) Windows Script Host Version 5.6
> > Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
> >
> > Build started 11/19/2010 8:56:24 PM.
> > Project "C:\Test\fdo\OpenSource_FDO\Providers\GDAL\Src\RFP_temp.sln"
> on
> > node 0
> > (Build target(s)).
> >   Building solution configuration "release|Win32".
> > Project : error PRJ0019: A tool returned an error code from
> "Performing
> > Custom
> > Build Step:  Creating GRFPMessage.h and RFPMessage.rc from
> > GRFPMessage.mc"
> > Done Building Project
> > "C:\Test\fdo\OpenSource_FDO\Providers\GDAL\Src\RFP_temp.s
> > ln" (Build target(s)) -- FAILED.
> >
> >
> > Build FAILED.
> >
> > Time Elapsed 00:00:01.93
> > There was a build error executing action: Build
> > There was a build error.
> >
> > Any help? Thanks in advance.
> > Regards,
> > Ela.
> > _______________________________________________
> > fdo-users mailing list
> > fdo-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/fdo-users

_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users


More information about the fdo-users mailing list