Jump to content
  • Advertisement
Sign in to follow this  
brohan

Regarding Parsing of .X file

This topic is 4878 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i hae been trying to parse .X file but i have been getting linking error sying cannot create DirctXfileCreate linking error and in comile it doesnt give any error. Can u just help this is included in "dxfile.h" so anyone help me wat the problem and the solution to it

Share this post


Link to post
Share on other sites
Advertisement
Hi. School mistake. Including header files isn't enough. You must also give linker paths to libraries (*.lib) in wchich it can find compiled code of functions declared in headers. You must (depending on GUI you're using) find project settings and add libraries to settings file, or you can force linker to do it by typing: #pragma comment (lib, "library.lib") where library.lib is the filename of the library requested. As for .X file, you should use xfile.lib (or something like that). Greetz.

Share this post


Link to post
Share on other sites
Oh. Maybe you haven't set the library directories? Look into options / settings
(or something similar, depending on what devstudio UR using). Or you may try setting compiler switches. The linker must know where it may find .lib files. Greetz.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!