1
General / Qt / SFML interface
« on: December 22, 2010, 05:11:28 pm »
Aaaaaand I'm back with the same problem.
I haven't had to deal with this potential issue for a long time because I realized I didn't need to display the information I wanted on the Canvas itself. However, now I do.
And so I simply added a sf::String to the class
However, if I try to compile the files now, it gives the same error as before:
Thinking that perhaps I've been using the wrong .conf file all along, I checked, but nope, that QMAKE_CFLAGS line is correct:
Any other possible reason for this?
EDIT: Well, actually, it's not the same error, but...
I haven't had to deal with this potential issue for a long time because I realized I didn't need to display the information I wanted on the Canvas itself. However, now I do.
And so I simply added a sf::String to the class
Code: [Select]
struct Fault
{
float maxPPI;
FProperty prop;
std::vector<Segment> segments;
sf::String name;
Fault();
void DefaultColor();
void ViewRatio(float min,float mid,float max);
};
However, if I try to compile the files now, it gives the same error as before:
Code: [Select]
Fault.obj : error LNK2019: unresolved external symbol "public: __thiscall sf::Unicode::Text::Text(char const *)" (??0Text@Unicode@sf@@QAE@PBD@Z) referenced in function "public: __thiscall Fault::Fault(void)" (??0Fault@@QAE@XZ)
Thinking that perhaps I've been using the wrong .conf file all along, I checked, but nope, that QMAKE_CFLAGS line is correct:
Code: [Select]
QMAKE_CFLAGS = -nologo -Zm200
Any other possible reason for this?
EDIT: Well, actually, it's not the same error, but...