problem compiling against gtkmm using Visual Studio 2003
- From: <Alex Krumm-Heller csiro au>
- To: <gtkmm-list gnome org>
- Subject: problem compiling against gtkmm using Visual Studio 2003
- Date: Tue, 22 Jan 2008 22:00:57 +1100
Hi,
I am having problems using gtkmm on windows. I am using cairo to render
some text to the screen. The problem I am having is compiling the code
using Visual Studio 2003 (The code compiles fine on Visual Studio 2005).
The error (see below) I get occurs as soon as I start including the
various gtkmm header files. Does anybody have any ideas?
Thanks
Alex
---
Compiling...
WordReplay.cpp
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(314) : warning C4003: not enough actual
parameters for macro 'min'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(323) : warning C4003: not enough actual
parameters for macro 'max'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(314) : error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(427) : see reference to class template
instantiation 'std::valarray<_Ty>' being compiled
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(314) : error C2334: unexpected token(s)
preceding ':'; skipping apparent function body
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2143: syntax error : missing ')'
before '}'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2143: syntax error : missing '}'
before ')'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2143: syntax error : missing ';'
before '}'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2238: unexpected token(s)
preceding ';'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(323) : error C2146: syntax error : missing ';'
before identifier '_Ty'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(314) : error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(1124) : see reference to class template
instantiation 'std::valarray<_Ty>' being compiled
with
[
_Ty=size_t
]
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(314) : error C2334: unexpected token(s)
preceding ':'; skipping apparent function body
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2143: syntax error : missing ')'
before '}'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2143: syntax error : missing '}'
before ')'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(323) : error C2334: unexpected token(s)
preceding ':'; skipping apparent function body
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(330) : error C2143: syntax error : missing ')'
before '}'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(330) : error C2143: syntax error : missing '}'
before ')'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(330) : error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(330) : error C2143: syntax error : missing ';'
before '}'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(330) : error C2238: unexpected token(s)
preceding ';'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(332) : error C2146: syntax error : missing ';'
before identifier 'valarray'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(314) : error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(1333) : see reference to class template
instantiation 'std::valarray<_Ty>' being compiled
with
[
_Ty=std::_Bool
]
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(1335) : see reference to class template
instantiation 'std::mask_array<_Ty>' being compiled
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(314) : error C2334: unexpected token(s)
preceding ':'; skipping apparent function body
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2143: syntax error : missing ')'
before '}'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2143: syntax error : missing '}'
before ')'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2143: syntax error : missing ';'
before '}'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(321) : error C2238: unexpected token(s)
preceding ';'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\valarray(323) : error C2146: syntax error : missing ';'
before identifier '_Ty'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]