Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


C++ bulletml errors

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Snootae
Grandmaster Cheater
Reputation: 0

Joined: 16 Dec 2006
Posts: 969
Location: --->

PostPosted: Mon May 18, 2009 3:04 am    Post subject: C++ bulletml errors Reply with quote

Code:
brg[i].bulletml = new BulletMLParserTinyXML(fileName);
    brg[i].bulletml->build();



Quote:
class BulletMLParser {
protected:
typedef std::vector<std::string> MyAttributes;
typedef MyAttributes::const_iterator MyAttributeIte;

public:
DECLSPEC BulletMLParser();
DECLSPEC virtual ~BulletMLParser();

public:
DECLSPEC void build();
DECLSPEC virtual void parse() =0;



im using visual C++ 2008 and i get errors, most along the line of

Code:
unresolved external symbol "public: void __thiscall BulletMLParser::build(void)" (?build@BulletMLParser@@QAEXXZ) referenced in function "int __cdecl readBulletMLFiles(char const *,struct Barrage * const)"


i got about 23 of these errors, all to do with these bulletml files

any help guys?

_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon May 18, 2009 3:11 am    Post subject: Reply with quote

Are you actually linking against what you need to?
Back to top
View user's profile Send private message
Snootae
Grandmaster Cheater
Reputation: 0

Joined: 16 Dec 2006
Posts: 969
Location: --->

PostPosted: Mon May 18, 2009 4:04 am    Post subject: Reply with quote

not sure what you mean

but if you mean

Code:
#include "bulletml/bulletmlparser.h"
#include "bulletml/bulletmlparser-tinyxml.h"
#include "bulletml/bulletmlrunner.h
"

then yeh

_________________
Back to top
View user's profile Send private message
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Mon May 18, 2009 4:24 am    Post subject: Reply with quote

If this 'bulletml' is inside a dll you should link to it like slovach mentioned:
#pragma comment(lib, 'bulletml.lib')
or in your project settings under linker options

If it's not a dll you should have the bulletml files (not the headers but the actual cpp files) included in your project I think (not sure).
Back to top
View user's profile Send private message
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Mon May 18, 2009 5:51 am    Post subject: Reply with quote

tombana wrote:
If this 'bulletml' is inside a dll you should link to it like slovach mentioned:
#pragma comment(lib, 'bulletml.lib')
or in your project settings under linker options

If it's not a dll you should have the bulletml files (not the headers but the actual cpp files) included in your project I think (not sure).
It could be a static library too -> no .cpp files nor .dll files. Just link it against the bulletml.lib, if you have one. Also, you might need extern "C" stuffs (see Parashift FAQ).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites