Sign in to follow this  

[Source] IsBIK Error

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

Apparently, VS2010 doesn't like the "ibik" header. I have clearly saved the header in [i]ModName[/i]/src/public/avi, and I have made a boolean to specify the IsBIK from the EngineSprite header. And I have included the ibik header for spritemodel.cpp and enginesprite.h.

Well, the error(s) say:
1st " [b]Error: class "CEngineSprite" has no member "IsBIK" [/b]"
2nd " [b]Error: identifier "m_hBIKMaterial" is undefined[/b] "

If anyone can help, I would be so happy!

Share this post


Link to post
Share on other sites
You'd need to show some code, at least the files containing CEngineSprite and the ibik header. Are those files in the same folder as the ibik header?
How is the #include written?

Share this post


Link to post
Share on other sites
[quote name='Endurion' timestamp='1344869051' post='4969085']
You'd need to show some code, at least the files containing CEngineSprite and the ibik header. Are those files in the same folder as the ibik header?
How is the #include written?
[/quote]

[url="http://pastebin.com/t0nQiFMa"]ibik.h[/url]
[url="http://pastebin.com/VN75xbAU"]enginesprite.h[/url]
[url="http://pastebin.com/iXCiVJuG"]spritemodel.cpp[/url]

I hope you can make something out of this.

Edit: No, the ibik header is in the "src/public/avi". According to the official Source SDK wiki, the ibik header was supposed to go in that folder.

Edit2: The include is written: "#include "avi/ibik.h". Edited by kaimarohero

Share this post


Link to post
Share on other sites
In [i]enginesprite.h[/i] your method is defined as "[b]i[/b]sBIK", but in [i]spritemodel.cpp[/i] it is "[b]I[/b]sBIK". (The case of the first I is different)

Share this post


Link to post
Share on other sites
[quote name='jrh2365' timestamp='1344876977' post='4969121']
In [i]enginesprite.h[/i] your method is defined as "[b]i[/b]sBIK", but in [i]spritemodel.cpp[/i] it is "[b]I[/b]sBIK". (The case of the first I is different)
[/quote]

Thanks!
Yeah, having to remember if a letter is upper- or lowercase isn't my thing..

Share this post


Link to post
Share on other sites

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