nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nel] Problems compiling 3d Module un VC7.1


From: Vianney Lecroart
Subject: Re: [Nel] Problems compiling 3d Module un VC7.1
Date: Mon, 30 Aug 2004 09:47:38 +0200
User-agent: Mozilla Thunderbird 0.7.2 (Windows/20040707)

Hi Timothy,

These issues are due to visual 7.1, we don't have it on gcc 3.3 and visual 6.

For the fmod stuff, you just have to cast parameter to be of the same type as vyas kumar said.

For others, you'll have to investigate since we can't reproduce them. If you find the problem, we'll fix it on the tree.

Regards,

Vianney Lecroart


Timothy H. Schilbach wrote:

HI Everyone,

I have been successful in compiling most of the tools and all of the server libraries into fully compiled applications thanks to CODEMASTERS guide. I am now having an issue compiling NEL itself in the 3D project module.

  Here is the error output that I get when I compile:

Compiling...

lod_character_shape.cpp

3d\lod_character_shape.cpp(589) : error C2666: 'fmod' : 3 overloads have 
similar conversions

        X:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\include\../include\math.h(606): could be 'long double fmod(long 
double,long double)'

        X:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\include\../include\math.h(558): or       'float fmod(float,float)'

        X:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\include\../include\math.h(191): or       'double fmod(double,double)'

        while trying to match the argument list '(NL3D::TGlobalAnimationTime, 
const float)'

vegetable_manager.cpp

3d\vegetable_manager.cpp(1821) : error C2666: 'fmod' : 3 overloads have similar 
conversions

        X:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\include\../include\math.h(606): could be 'long double fmod(long 
double,long double)'

        X:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\include\../include\math.h(558): or       'float fmod(float,float)'

        X:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\include\../include\math.h(191): or       'double fmod(double,double)'

        while trying to match the argument list '(double, float)'

ps_plane_basis_maker.cpp

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : 
warning C4346: 'NL3D::CPSVector::V' : dependent name is not a type

        prefix with 'typename' to indicate a type

        X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(399) 
: see reference to class template instantiation 'NL3D::CPSValueGradientFunc' 
being compiled

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : error 
C2146: syntax error : missing ';' before identifier '_Tab'

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : error 
C2501: 'NL3D::CPSValueGradientFunc::_Tab' : missing storage-class or type 
specifiers

ps_int.cpp

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : 
warning C4346: 'NL3D::CPSVector::V' : dependent name is not a type

        prefix with 'typename' to indicate a type

        X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(399) 
: see reference to class template instantiation 'NL3D::CPSValueGradientFunc' 
being compiled

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : error 
C2146: syntax error : missing ';' before identifier '_Tab'

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : error 
C2501: 'NL3D::CPSValueGradientFunc::_Tab' : missing storage-class or type 
specifiers

ps_float.cpp

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : 
warning C4346: 'NL3D::CPSVector::V' : dependent name is not a type

        prefix with 'typename' to indicate a type

        X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(399) 
: see reference to class template instantiation 'NL3D::CPSValueGradientFunc' 
being compiled

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : error 
C2146: syntax error : missing ';' before identifier '_Tab'

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : error 
C2501: 'NL3D::CPSValueGradientFunc::_Tab' : missing storage-class or type 
specifiers

ps_color.cpp

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : 
warning C4346: 'NL3D::CPSVector::V' : dependent name is not a type

        prefix with 'typename' to indicate a type

        X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(399) 
: see reference to class template instantiation 'NL3D::CPSValueGradientFunc' 
being compiled

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : error 
C2146: syntax error : missing ';' before identifier '_Tab'

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : error 
C2501: 'NL3D::CPSValueGradientFunc::_Tab' : missing storage-class or type 
specifiers

ps_attrib_maker_template.cpp

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : 
warning C4346: 'NL3D::CPSVector::V' : dependent name is not a type

        prefix with 'typename' to indicate a type

        X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(399) 
: see reference to class template instantiation 'NL3D::CPSValueGradientFunc' 
being compiled

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : error 
C2146: syntax error : missing ';' before identifier '_Tab'

X:\Downloads\NEL\Source\code\nel\src\3d\ps_attrib_maker_template.h(386) : error 
C2501: 'NL3D::CPSValueGradientFunc::_Tab' : missing storage-class or type 
specifiers

Generating Code...

I am using the following:

Visual C++ 7.1

Character Studio 4.1

3d Studio Max R5.1

stlPort 4.6

LibXML

Freetype2

openAL

DirectX SDK 9.0c from June 2ns (Summer) SDK.

Seems that there is an issue with DirectX 9.0c? Should I back my system to the DirectX 9.0b instead? If anyone can shed some light on this for me, I would be grateful.

Timoth H. Schilbach

Alpha Omega Design Inc.

address@hidden <mailto:address@hidden>

Visit our website at www.aodinc.com <http://www.aodinc.com>


------------------------------------------------------------------------

_______________________________________________
Nel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/nel-all

--
Commit du soir, espoir. Update du matin, chagrin.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]