Re: directx samples

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Phil Taylor (phil_at_private-citizen.com)
Date: 12/28/04


Date: Tue, 28 Dec 2004 10:45:49 -0800

so buy new hw, as you obviously have something way old that just wont cut
it.

"john andrew" <johnandrew@discussions.microsoft.com> wrote in message
news:7F01EA2A-E0A0-4CA2-B45C-A647DE139F40@microsoft.com...
>
>
> "john andrew" wrote:
>
>>
>>
>> "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
>
> I found some better docs about the sdk samples. Yes I can get them all to
> compile and create .exe but no the wont run because of hardware error
> message
> .
> So you were right about they all should compile, I just set the required
> paths to top of directory list, not the bottom. No they still wont run
> becuase of hardware



Relevant Pages

  • Re: annoying shut down
    ... once mor but if it still wont go its format time thank you ... >hardware and software. ... >CWShredder and HijackThis from ... Testing hardware failures often ...
    (microsoft.public.windowsxp.general)
  • Re: OT need help I bought a Dell laptop and its a piece of crap
    ... I wont pay for it and Ill buy a computer ... really did download a virus and it's not the hardware causing his PC ... tried to install inything. ... but missing software doesn't = returning the laptop.... ...
    (rec.games.pinball)
  • Re: [SLE] new setiathome boinc
    ... >> more to the point has anyone managed to get it to compile it wont ... > There isn't a 'compile' to it. ... Once you untar the package, ... since that's the actual 'ui' for boinc. ...
    (SuSE)
  • Re: 5.3: cant install openoffice 1.1 from ports
    ... > to install gnome2.8, which im using know, great. ... > Problem is that it wont allow me to compile openoffice properly, ... you just about any time you need a record of an error message. ... > 1.1 wont compile sucessfully. ...
    (freebsd-questions)
  • RE: XP CLients wont connect to Server 2000
    ... dropping off or just wont connect" If they are in a workgroup mode what ... I would check the hardware. ...
    (microsoft.public.windows.server.sbs)