Đang chuẩn bị liên kết để tải về tài liệu:
Beginning Direct 3D Game Programming P2

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

After you have configured Visual C/C++ 6, make sure it is configured correctly by compiling one of the examples in the C:\DXSDK\Samples\C++\Direct3D directory. You might see something like the following message if you haven’t configured the include path properly: d:\book\source\part 1\chapter6\animated objects\objects.cpp(68) : error C2146: syntax error : missing ‘;’ before ‘g_Keyboard_pDI’ | After you have configured Visual C C 6 make sure it is configured correctly by compiling one of the examples in the C DXSDK Samples C Direct3D directory. You might see something like the following message if you haven t configured the include path properly d book source part 1 chapter6 animated objects objects.cpp 68 error C2146 syntax error missing before g_Keyboard_pDI Even if you provided the correct path to the header and library files you might have to feed the names of these files to the linker of your development environment. The proper path to these object library modules should be listed in your Link dialog box. To reach this dialog box select Project Settings and then choose the Link tab. In the General category there is an entry field called Object Library Modules. It holds all of the library files which should be linked to the application you re currently developing. It should look like Figure I.15. Figure I.15 Configuring the Linker Path In this entr y field you will need to name at least the following d3dx9.lib 3dxof.lib d3d9.lib winmm.lib dxguid.lib If you missed a file an error message that might look like this will appear d3dapp.obj error LNK2001 unresolved external symbol _Direct3DCreate9@4 Debug SkinnedMesh.exe fatal error LNK1120 1 unresolved externals Error executing link.exe. Here d3d9.lib is missing. The unresolved external symbols are part of the COM Component Object Model interfaces of Direct3D. I will explain COM in detail later in the book. You should also check another include path the one that holds the path to the directories of the common include files for the C C compiler. If you change your machine or you are working on another machine with a different DirectX directory normally you have to add the common files using Project Add Files to Project Files. Now let s compile our first project. 1. Fire up your Visual C configured development environment. 2. Click on Open Workspace. 3. Choose basics.dsp. 4. Check whether you ve configured

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.