Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Cannot compile TV3D tutorials  (Read 2928 times)
darkentity0
Community Member
*
Posts: 2


« on: November 23, 2005, 12:08:03 AM »

Using VS2003, have DirectX9.0(June 2005) installed, WinXP Pro, using TrueVision3D version 6.2.

I have VC++ Directories set to point to my local directories for "Include" & "Lib"

When I attempt to compile the TrueVision3D Tutorials, many errors occur, complaining of some undefined type 'TrueVision3D::D3DCOLORVALUE'. Compilation already failed here, so no linking. Happens the same for any tutorial.


i checked the forums for threads on this issue, there was one, but led to a dead link.

Can some1 point me to the correct thread or how to resolve this?
Logged

<none>
Venn_Syii
Community Member
*
Posts: 88


« Reply #1 on: November 23, 2005, 03:25:04 AM »

If you could post the exact error you are getting it would help us determine the solution.  

Quote from: "darkentity0"

When I attempt to compile the TrueVision3D Tutorials, many errors occur, complaining of some undefined type 'TrueVision3D::D3DCOLORVALUE'. Compilation already failed here, so no linking.


This could be a few things that cuased this error.  I'm guessing that you haven't included the correct headers as my first guess.

Have you included all the headers with either

#include <myheader.h>

or

#include "myheader.h"

depending on how you have your compiler set up?

Also, that structure is a directx structure that should be included for you by Truevision.... well at least in 6.5 it is, I'm not sure about 6.2.
Logged

Don't ever let school stand in the way of your education!!

Irc.Desolation.Org :: #TV3DLicensed :: Moderated IRC channel for all your TV3D needs :: Non-Licensed users welcome.
NipTikNah
Community Member
*
Posts: 7


« Reply #2 on: December 15, 2005, 03:36:55 AM »

Hi
I get exactly the same problem and have pretty much the same setup and using 6.2.
I have tried every combintation of including files I could think off with no luck.
I don't think my setup is compatible and i have therefore purchased 6.5

If 6.5 doesn't work I will be most upset!
Logged
NipTikNah
Community Member
*
Posts: 7


« Reply #3 on: December 15, 2005, 03:43:24 AM »

Follow up
Here is the bug, using XP Home,Visual C++.Net 2003, DX9 SDK summer 2004.

If you follow the instructions for setting up  in C++ but try and do the similar thing with
Visual C++.Net 2003 I get this

------ Build started: Project: Tutorial 1, Configuration: Debug Win32 ------

Compiling...
Tutorial 1.cpp
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(28) : error C2027: use of undefined type 'TrueVision3D::D3DCOLORVALUE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(314) : see declaration of 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(28) : error C2079: 'TrueVision3D::_TVMaterialFactory::GetAmbient' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(29) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(30) : error C2664: 'TrueVision3D::_TVMaterialFactory::raw_GetAmbient' : cannot convert parameter 2 from 'int *' to 'TrueVision3D::D3DCOLORVALUE *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(35) : error C2027: use of undefined type 'TrueVision3D::D3DCOLORVALUE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(314) : see declaration of 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(35) : error C2079: 'TrueVision3D::_TVMaterialFactory::GetDiffuse' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(36) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(37) : error C2664: 'TrueVision3D::_TVMaterialFactory::raw_GetDiffuse' : cannot convert parameter 2 from 'int *' to 'TrueVision3D::D3DCOLORVALUE *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(42) : error C2027: use of undefined type 'TrueVision3D::D3DCOLORVALUE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(314) : see declaration of 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(42) : error C2079: 'TrueVision3D::_TVMaterialFactory::GetEmissive' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(43) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(44) : error C2664: 'TrueVision3D::_TVMaterialFactory::raw_GetEmissive' : cannot convert parameter 2 from 'int *' to 'TrueVision3D::D3DCOLORVALUE *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(49) : error C2027: use of undefined type 'TrueVision3D::D3DCOLORVALUE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(314) : see declaration of 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(49) : error C2079: 'TrueVision3D::_TVMaterialFactory::GetSpecular' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(50) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(51) : error C2664: 'TrueVision3D::_TVMaterialFactory::raw_GetSpecular' : cannot convert parameter 2 from 'int *' to 'TrueVision3D::D3DCOLORVALUE *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(212) : error C2027: use of undefined type 'TrueVision3D::D3DLIGHT8'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(454) : see declaration of 'TrueVision3D::D3DLIGHT8'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(212) : error C2079: 'TrueVision3D::_TVLightEngine::GetLightByIndex' uses undefined struct 'TrueVision3D::D3DLIGHT8'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(213) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DLIGHT8'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(214) : error C2664: 'TrueVision3D::_TVLightEngine::raw_GetLightByIndex' : cannot convert parameter 2 from 'int *' to 'TrueVision3D::D3DLIGHT8 *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(219) : error C2027: use of undefined type 'TrueVision3D::D3DLIGHT8'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(454) : see declaration of 'TrueVision3D::D3DLIGHT8'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(219) : error C2079: 'TrueVision3D::_TVLightEngine::GetLightByName' uses undefined struct 'TrueVision3D::D3DLIGHT8'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(220) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DLIGHT8'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(221) : error C2664: 'TrueVision3D::_TVLightEngine::raw_GetLightByName' : cannot convert parameter 2 from 'int *' to 'TrueVision3D::D3DLIGHT8 *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(233) : error C2027: use of undefined type 'TrueVision3D::D3DLIGHT8'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(454) : see declaration of 'TrueVision3D::D3DLIGHT8'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(233) : error C2079: 'TrueVision3D::_TVLightEngine::GetLightInfo' uses undefined struct 'TrueVision3D::D3DLIGHT8'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(234) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DLIGHT8'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(235) : error C2664: 'TrueVision3D::_TVLightEngine::get_LightInfo' : cannot convert parameter 2 from 'int *' to 'TrueVision3D::D3DLIGHT8 *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(332) : error C2564: 'void *' : a function-style conversion to a built-in type can only take one argument
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(339) : error C2564: 'void *' : a function-style conversion to a built-in type can only take one argument
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(346) : error C2564: 'void *' : a function-style conversion to a built-in type can only take one argument
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(353) : error C2564: 'void *' : a function-style conversion to a built-in type can only take one argument
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(360) : error C2564: 'void *' : a function-style conversion to a built-in type can only take one argument
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(367) : error C2564: 'void *' : a function-style conversion to a built-in type can only take one argument
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(380) : error C2027: use of undefined type 'TrueVision3D::D3DMATRIX'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(788) : see declaration of 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(380) : error C2079: 'TrueVision3D::_TVKeyFrameAnim::GetBoneMatrix' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(381) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(382) : error C2664: 'TrueVision3D::_TVKeyFrameAnim::raw_GetBoneMatrix' : cannot convert parameter 3 from 'int *' to 'TrueVision3D::D3DMATRIX *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(490) : error C2027: use of undefined type 'TrueVision3D::D3DVECTOR2'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(874) : see declaration of 'TrueVision3D::D3DVECTOR2'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(490) : error C2079: 'TrueVision3D::_TVMathLibrary::RotateAroundPoint2D' uses undefined struct 'TrueVision3D::D3DVECTOR2'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(491) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DVECTOR2'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(492) : error C2664: 'TrueVision3D::_TVMathLibrary::raw_RotateAroundPoint2D' : cannot convert parameter 4 from 'int *' to 'TrueVision3D::D3DVECTOR2 *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(1380) : error C2027: use of undefined type 'TrueVision3D::D3DMATRIX'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(788) : see declaration of 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(1380) : error C2079: 'TrueVision3D::_TVMesh::GetMatrix' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(1381) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(1382) : error C2664: 'TrueVision3D::_TVMesh::raw_GetMatrix' : cannot convert parameter 1 from 'int *' to 'TrueVision3D::D3DMATRIX *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2361) : error C2027: use of undefined type 'TrueVision3D::D3DMATRIX'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(788) : see declaration of 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2361) : error C2079: 'TrueVision3D::_TVActor2::GetMatrix' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2362) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2363) : error C2664: 'TrueVision3D::_TVActor2::raw_GetMatrix' : cannot convert parameter 1 from 'int *' to 'TrueVision3D::D3DMATRIX *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2629) : error C2027: use of undefined type 'TrueVision3D::D3DMATRIX'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(788) : see declaration of 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2629) : error C2079: 'TrueVision3D::_TVCamera::GetMatrix' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2630) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2631) : error C2664: 'TrueVision3D::_TVCamera::raw_GetMatrix' : cannot convert parameter 1 from 'int *' to 'TrueVision3D::D3DMATRIX *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2643) : error C2027: use of undefined type 'TrueVision3D::D3DMATRIX'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(788) : see declaration of 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2643) : error C2079: 'TrueVision3D::_TVCamera::GetRotationMatrix' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2644) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2645) : error C2664: 'TrueVision3D::_TVCamera::raw_GetRotationMatrix' : cannot convert parameter 1 from 'int *' to 'TrueVision3D::D3DMATRIX *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2824) : error C2564: 'void *' : a function-style conversion to a built-in type can only take one argument
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(2831) : error C2564: 'void *' : a function-style conversion to a built-in type can only take one argument
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3584) : error C2027: use of undefined type 'TrueVision3D::D3DMATRIX'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(788) : see declaration of 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3584) : error C2079: 'TrueVision3D::_TVActor::GetMatrix' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3585) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3586) : error C2664: 'TrueVision3D::_TVActor::raw_GetMatrix' : cannot convert parameter 1 from 'int *' to 'TrueVision3D::D3DMATRIX *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3766) : error C2027: use of undefined type 'TrueVision3D::D3DMATRIX'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(788) : see declaration of 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3766) : error C2079: 'TrueVision3D::_TVActor::GetBoneMatrix' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3767) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DMATRIX'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3768) : error C2664: 'TrueVision3D::_TVActor::raw_GetBoneMatrix' : cannot convert parameter 2 from 'int *' to 'TrueVision3D::D3DMATRIX *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3836) : error C2027: use of undefined type 'TrueVision3D::D3DCOLORVALUE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(314) : see declaration of 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3836) : error C2079: 'TrueVision3D::_TVGlobals::ColorValue' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3837) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3838) : error C2664: 'TrueVision3D::_TVGlobals::raw_ColorValue' : cannot convert parameter 5 from 'int *' to 'TrueVision3D::D3DCOLORVALUE *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3856) : error C2027: use of undefined type 'TrueVision3D::D3DCOLORVALUE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(314) : see declaration of 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3856) : error C2079: 'TrueVision3D::_TVGlobals::DXColor' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3857) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3858) : error C2664: 'TrueVision3D::_TVGlobals::raw_DXColor' : cannot convert parameter 5 from 'int *' to 'TrueVision3D::D3DCOLORVALUE *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3891) : error C2027: use of undefined type 'TrueVision3D::D3DPLANE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(941) : see declaration of 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3891) : error C2079: 'TrueVision3D::_TVGlobals::MakePlane' uses undefined struct 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3892) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3893) : error C2664: 'TrueVision3D::_TVGlobals::raw_MakePlane' : cannot convert parameter 3 from 'int *' to 'TrueVision3D::D3DPLANE *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3898) : error C2027: use of undefined type 'TrueVision3D::D3DPLANE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(941) : see declaration of 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3898) : error C2079: 'TrueVision3D::_TVGlobals::MakePlane2' uses undefined struct 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3899) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3900) : error C2664: 'TrueVision3D::_TVGlobals::raw_MakePlane2' : cannot convert parameter 5 from 'int *' to 'TrueVision3D::D3DPLANE *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3905) : error C2027: use of undefined type 'TrueVision3D::D3DPLANE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(941) : see declaration of 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3905) : error C2079: 'TrueVision3D::_TVGlobals::MakePlaneFromPoints' uses undefined struct 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3906) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3907) : error C2664: 'TrueVision3D::_TVGlobals::raw_MakePlaneFromPoints' : cannot convert parameter 4 from 'int *' to 'TrueVision3D::D3DPLANE *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3951) : error C2027: use of undefined type 'TrueVision3D::RECT'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(5366) : see declaration of 'TrueVision3D::RECT'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3951) : error C2079: 'TrueVision3D::_TVGlobals::REC' uses undefined struct 'TrueVision3D::RECT'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3952) : error C2079: '_result' uses undefined struct 'TrueVision3D::RECT'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(3953) : error C2664: 'TrueVision3D::_TVGlobals::raw_REC' : cannot convert parameter 5 from 'int *' to 'TrueVision3D::RECT *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(4937) : error C2027: use of undefined type 'TrueVision3D::D3DCOLORVALUE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(314) : see declaration of 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(4937) : error C2079: 'TrueVision3D::_TVDelphiGlobals::DXColor' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(4938) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DCOLORVALUE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(4939) : error C2664: 'TrueVision3D::_TVDelphiGlobals::raw_DXColor' : cannot convert parameter 5 from 'int *' to 'TrueVision3D::D3DCOLORVALUE *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(4979) : error C2027: use of undefined type 'TrueVision3D::D3DPLANE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(941) : see declaration of 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(4979) : error C2079: 'TrueVision3D::_TVDelphiGlobals::MakePlane' uses undefined struct 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(4980) : error C2079: '_result' uses undefined struct 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(4981) : error C2664: 'TrueVision3D::_TVDelphiGlobals::raw_MakePlane' : cannot convert parameter 3 from 'int *' to 'TrueVision3D::D3DPLANE *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(4986) : error C2027: use of undefined type 'TrueVision3D::D3DPLANE'
        c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tlh(941) : see declaration of 'TrueVision3D::D3DPLANE'
c:\TV3DSDK\VC++6\Tutorial 1\Debug\truevision3d.tli(4986) : fatal error C1003: error count exceeds 100; stopping compilation

Build log was saved at "file://c:\Tv3dsdk\Vc++6\Tutorial 1\Debug\BuildLog.htm"
Tutorial 1 - 102 error(s), 0 warning(s)


---------------------- Done ----------------------

    Build: 0 succeeded, 1 failed, 0 skipped
Logged
Migajek
Community Member
*
Posts: 316


« Reply #4 on: December 15, 2005, 07:06:22 AM »

looks like u haven't included header with base types (like D3DCOLORVALUE, D3DMATRIX, D3DLIGHT8 etc) ... just found declaration od this structures in dx files (the best way is to use total commander but maybe windows search will help u) and include that file ...
Logged

NipTikNah
Community Member
*
Posts: 7


« Reply #5 on: December 15, 2005, 07:35:23 AM »

Cheers I will give it a try. I shouldn't have to be adding headers into the source to make a tutorial work though.
They should put up  a .NET C++ solution that works without having to make any changes.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks