|
From: Matrixpower <juk...@gm...> - 2009-12-01 11:53:21
|
Hi All, I got error when I compiled QuantLibXL_full_vc9 solution. It looks so weird. At beginning, I only compiled project apr and aprutil respectively. When I compiled log4gcxx, I got -------------------------------------------------------------------------- C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) : error C2004: expected 'defined(id)' C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) : fatal error C1012: unmatched parenthesis : missing ')' -------------------------------------------------------------------------- Then I clean all solution build and build the solution. Then I got the following errors for apr, aprutil ....... -------------------------------------------------------------------------- C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) : error C2004: expected 'defined(id)' C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) : fatal error C1012: unmatched parenthesis : missing ')' -------------------------------------------------------------------------- I don't know what the problem is. My system is Windows XP and Visual Studio 9. Thanks -- View this message in context: http://old.nabble.com/Compile-QuantLibXL_full_vc9-error%21-tp26590179p26590179.html Sent from the quantlib-dev mailing list archive at Nabble.com. |
|
From: Ferdinando A. <na...@am...> - 2009-12-01 19:45:11
|
On Tue, Dec 1, 2009 at 12:15 PM, Matrixpower <juk...@gm...> wrote: > I got error when I compiled QuantLibXL_full_vc9 solution. It looks so > weird. At beginning, I only compiled project apr and aprutil respectively. > When I compiled log4gcxx, I got > -------------------------------------------------------------------------- > C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) : error > C2004: expected 'defined(id)' > C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) : fatal > error C1012: unmatched parenthesis : missing ')' chances are you have some problem with your sdk which version of QLXL are you trying to compile ? windows xp 32 o 64 bits ? VC 9: what do you have in the about box ? ciao -- Nando |
|
From: Matrixpower <juk...@gm...> - 2009-12-02 11:43:22
|
Hi Ferdinando,
Thank you for your concerns. I have resolved that problem but I got the
new one. When I compiled ohgensrc, I got the following error.
------ Build started: Project: ohgensrc, Configuration: All Win32 ------
Performing Makefile project actions
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
..\..\gensrc\gensrc.py -xdlv --oh_dir=..
File "c:\Projects\trunk\gensrc\gensrc.py", line 51
print USAGE_ERROR % { 'scriptName' : sys.argv[0] }
^
SyntaxError: invalid syntax
NMAKE : fatal error U1077: '..\..\gensrc\gensrc.py' : return code '0x1'
Stop.
Project : error PRJ0019: A tool returned an error code from "Performing
Makefile project actions"
Build log was saved at
"file://c:\Projects\trunk\ObjectHandler\gensrc\build\vc\BuildLog.htm"
ohgensrc - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
By the way, if all codes in SVN can be compiled or not. Since when I
compiled ohxllib, I found the project file is not consistent with the source
code. That means someone changed something but they didn't change the
project file. So weird~~~~~~~~~~~~~~
Thanks
Matrix
Ferdinando Ametrano wrote:
>
> On Tue, Dec 1, 2009 at 12:15 PM, Matrixpower <juk...@gm...> wrote:
>> I got error when I compiled QuantLibXL_full_vc9 solution. It looks so
>> weird. At beginning, I only compiled project apr and aprutil
>> respectively.
>> When I compiled log4gcxx, I got
>> --------------------------------------------------------------------------
>> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) :
>> error
>> C2004: expected 'defined(id)'
>> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) :
>> fatal
>> error C1012: unmatched parenthesis : missing ')'
>
> chances are you have some problem with your sdk
>
> which version of QLXL are you trying to compile ?
> windows xp 32 o 64 bits ?
> VC 9: what do you have in the about box ?
>
> ciao -- Nando
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> QuantLib-dev mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
>
--
View this message in context: http://old.nabble.com/Compile-QuantLibXL_full_vc9-error%21-tp26590179p26607566.html
Sent from the quantlib-dev mailing list archive at Nabble.com.
|
|
From: Matrixpower <juk...@gm...> - 2009-12-01 23:24:16
|
Thank you for your quick reply. Sorry, it is Visual studio 8.0 not visual studio 9.0. My platform is Windows XP 32 bit (Windows XP Professional Version 2002 and Service Pack 2). In the about box, Microsoft Visual Studio 2008 Version 9.0.21022.8 RTM, Microsoft .NET Framework Version 3.5 SP1. Thanks Ferdinando Ametrano wrote: > > On Tue, Dec 1, 2009 at 12:15 PM, Matrixpower <juk...@gm...> wrote: >> I got error when I compiled QuantLibXL_full_vc9 solution. It looks so >> weird. At beginning, I only compiled project apr and aprutil >> respectively. >> When I compiled log4gcxx, I got >> -------------------------------------------------------------------------- >> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) : >> error >> C2004: expected 'defined(id)' >> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) : >> fatal >> error C1012: unmatched parenthesis : missing ')' > > chances are you have some problem with your sdk > > which version of QLXL are you trying to compile ? > windows xp 32 o 64 bits ? > VC 9: what do you have in the about box ? > > ciao -- Nando > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > -- View this message in context: http://old.nabble.com/Compile-QuantLibXL_full_vc9-error%21-tp26590179p26600896.html Sent from the quantlib-dev mailing list archive at Nabble.com. |
|
From: Matrixpower <juk...@gm...> - 2009-12-01 23:25:33
|
Sorry, I forgot to mention. I download it from SVN not in the webpage. I don't think this is the problem. Thanks Matrixpower wrote: > > Thank you for your quick reply. Sorry, it is Visual studio 8.0 not visual > studio 9.0. My platform is Windows XP 32 bit (Windows XP Professional > Version 2002 and Service Pack 2). In the about box, Microsoft Visual > Studio 2008 Version 9.0.21022.8 RTM, Microsoft .NET Framework Version 3.5 > SP1. > > > Thanks > > > > Ferdinando Ametrano wrote: >> >> On Tue, Dec 1, 2009 at 12:15 PM, Matrixpower <juk...@gm...> >> wrote: >>> I got error when I compiled QuantLibXL_full_vc9 solution. It looks so >>> weird. At beginning, I only compiled project apr and aprutil >>> respectively. >>> When I compiled log4gcxx, I got >>> -------------------------------------------------------------------------- >>> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) : >>> error >>> C2004: expected 'defined(id)' >>> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(424) : >>> fatal >>> error C1012: unmatched parenthesis : missing ')' >> >> chances are you have some problem with your sdk >> >> which version of QLXL are you trying to compile ? >> windows xp 32 o 64 bits ? >> VC 9: what do you have in the about box ? >> >> ciao -- Nando >> >> ------------------------------------------------------------------------------ >> Join us December 9, 2009 for the Red Hat Virtual Experience, >> a free event focused on virtualization and cloud computing. >> Attend in-depth sessions from your desk. Your couch. Anywhere. >> http://p.sf.net/sfu/redhat-sfdev2dev >> _______________________________________________ >> QuantLib-dev mailing list >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-dev >> >> > > -- View this message in context: http://old.nabble.com/Compile-QuantLibXL_full_vc9-error%21-tp26590179p26600904.html Sent from the quantlib-dev mailing list archive at Nabble.com. |