Re: directx samples

From: john andrew (johnandrew_at_discussions.microsoft.com)
Date: 12/28/04


Date: Mon, 27 Dec 2004 17:47:02 -0800


"Phil Taylor" wrote:

> I said paths for headers, libs, src.
>
> headers for compiling, libs for linking, src for the common files.
>
> you are having all 3 sets of problems because of bad paths.
>
> "john andrew" <johnandrew@discussions.microsoft.com> wrote in message
> news:45AE030D-D6FA-4923-B82D-BE27FAB2E1C4@microsoft.com...
> >
> >
> > "Phil Taylor" wrote:
> >
> >> all your problems are due to bad paths. fix the paths for headers, libs,
> >> and
> >> source and you will be able to compile. not compiling has nothing to do
> >> with
> >> hw, its all sw at that point. its only when you run the app that hw gets
> >> involved.
> >>
> >> "john andrew" <johnandrew@discussions.microsoft.com> wrote in message
> >> news:0B910336-F0A2-4717-A41D-18BD2D262D2A@microsoft.com...
> >> >
> >> >
> >> > "john andrew" wrote:
> >> >
> >> >>
> >> >>
> >> >> "Hanna-Barbera" wrote:
> >> >>
> >> >> > > When I load the sample files source, the files fail to compile
> >> >> > > because it
> >> >> > > cant find d3dx8.lib, .h files. Which exist and seem to in the
> >> >> > > link
> >> >> > section.
> >> >> > > I think this is behaving like it cant use the hardware for these
> >> >> > > 3D
> >> >> > samples.
> >> >> > > It is just not obvious and the docs wernt that helpful but I will
> >> >> > > look at
> >> >> > > them closely again.
> >> >> >
> >> >> > You can copy the include directory to your VC include folder or put
> >> >> > the
> >> >> > path
> >> >> > of the include folder in the search list.
> >> >> > To do the later,
> >> >> > Project->Settings (or ALT+F7)
> >> >> >
> >> >> > Click on C++ tab
> >> >> > Change Category to Preprocessor
> >> >> > There is a place where it says "Additional Include Directories"
> >> >> > and you can also check off Ignore standard include paths
> >> >> >
> >> >> >
> >> >> >
> >> >> > > > > I get error message eg cannot load media, your hardware doesnt
> >> >> > > > > support
> >> >> > 3D
> >> >> > > > > function....I have on-board SiS-650..... graphics
> >> >> >
> >> >> > Like Phil said, you need a better graphics card or run on reference
> >> >> > drivers,
> >> >> > if you have the reference drivers installed. You would need to
> >> >> > install
> >> >> > the
> >> >> > DX8 SDK and never install the Release runtime of DX8, else you have
> >> >> > to
> >> >> > copy
> >> >> > the ref drivers to your system32 folder and it can be messy.
> >> >> >
> >> >> >
> >> >>
> >> >> I can get direct3D to work with VB example/tutorials in SDK with the
> >> >> correct
> >> >> display in directX. The same tutorials with MVc++6 wont work because
> >> >> it
> >> >> cant
> >> >> find the include file, I even pasted the include files/libs in the src
> >> >> directory.
> >> >>
> >> >> It doesnt make sense that direct3D will work with VB but not VC++6
> >> >> The include statements arguments are inn vc++6 'Resources' tab in
> >> >> proj->settings
> >> >>
> >> >> This is annoying as I want to use C++ with directX
> >> >
> >> > I can get the tutorials to run in SDK after I linked files in options
> >> > I cant get the examples to run in SDK , maybe my graohics card is just
> >> > not
> >> > up to it
> >> > I keep on getting an error with d3dapp.cpp
> >>
> >>
> >>
> > I dont know , I loaded VC6++ on a newer PC and an old PC with the same
> > configurations. The newer PC will run the c++ tutorials in SDK. The older
> > 1
> > will not. The problem is it wont build .exe. The same error I get for
> > more
> > involved direct3D programs on newer PC. I will look at the paths but
> > compiling is not the problem, its linking.
> >
> > I will have another look but I am not hopeful.
> >
> >
>
>
Hi

I know the paths , as I said before I have done that. In Tools->opt->dir is
where I set paths for include, src, lib and the set the path for each. I can
get the tutorials in SDK8 to work now for directX3D.

I cant get the examples to work eg billboard.....all of them in the SDK. The
exe in bin dont work either because of a 'hardware is insufficient..type
.error.

To be exact the d3dapp.cpp wont compile on the examples but everything else
will. I checked the paths and settings to see lib files already added. It
shouldnt be this complicated unless my graphics hardware on-board is too
weak.
If I can get smaller programs to work in directx3D but not larger ones or
its exe in bin then I cant see how this is software problem.

Also my older PC cant get the tutorials to work but the error it gives is
the same as the error for the newer PC with larger directx3D programs like
the examples. Again ...hardware problem would be the logical guess.

If you can give me any other ideas to try I will do it though. I am not
optimistic with my graphics on-board card. I think its 32mb and can only run
small directX3D programs



Relevant Pages

  • Re: linking issue
    ... my code (of which i have made my lib) consist of Functions which are ... mapped into the WinCE API's. ... which i have to include while compiling or any flags issue. ... Please do tell me all the paths and flags needed to compile code on ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: linking issue
    ... my code (of which i have made my lib) consist of Functions which are ... mapped into the WinCE API's. ... this library it is giving me linking issues. ... which i have to include while compiling or any flags issue. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: my libLIB.a is missing symbols, need soln
    ... Shea Martin wrote: ... > I created a lib which uses sockets. ... > linking takes place when compiling objects. ... When you say that "no linking takes place when compiling something", ...
    (comp.unix.programmer)
  • Re: Threading advice sought
    ... I have Tcl and Tk compiling and seeming to mostly work. ... Lots of the tests fail, but I'll worry about what I'm doing wrong there ... The Thread extension, however, seems to compile into a ".lib" file ...
    (comp.lang.tcl)

Loading