Sign in to follow this  

Regarding Parsing of .X file

This topic is 4660 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
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

This topic is 4660 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this