//~~~~~Header Files
#include <windows.h> //Header File for Standard Windows Functions
#include <stdio.h> //Header File for I/O
#include <stdlib.h> //Header File for Standard Library
#include <commctrl.h> //Header File for Common Controls
#include <math.h> //Header File for Math Functions
#include <time.h> //Header File for Time Functions
#include <gl\gl.h> //Header File for OpenGL
#include <gl\glu.h> //Header File for Glu32
#include <gl\wglext.h> //Header File for WGL extensions
#include <gl\glext.h> //Header File for GL extensions
#include <olectl.h> //Header File for OLE Control
#include <fmod.h> //Header File for Fmod
#include "Model.h" //Header File for Model Loading
#include "tinyxml.h"
#include "tinystr.h"
I am utilizing Dev-C++ version 4.9.9.2b. What would have to add to my project to resolve this error?
Thank you.
[Edited by - Xiachunyi on August 9, 2005 9:41:58 PM]
Dev-C++: TinyXML Linking Error [solved]
Hello, I recently tried, last night, to compile TinyXML's source files into my project but I kept getting a linker error.
The linker error is: [Linker error] undefined reference to `TiXmlString::append(char const*, unsigned int)'
My "include" list is as shown:
When I used TinyXML I just added every file into my project. The list of files you should have are:
tinystr.cpp (I think this is what you are missing)
tinystr.h
tinyxml.cpp
tinyxml.h
tinyxmlerror.cpp
tinyxmlparser.cpp
xmltest.cpp (you might not need this one)
tinystr.cpp (I think this is what you are missing)
tinystr.h
tinyxml.cpp
tinyxml.h
tinyxmlerror.cpp
tinyxmlparser.cpp
xmltest.cpp (you might not need this one)
Quote:Original post by mike25025
When I used TinyXML I just added every file into my project. The list of files you should have are:
tinystr.cpp (I think this is what you are missing)
tinystr.h
tinyxml.cpp
tinyxml.h
tinyxmlerror.cpp
tinyxmlparser.cpp
xmltest.cpp (you might not need this one)
This is the correct solution. And you're right - you don't need xmltest.cpp.
Quote:Original post by Andrew Russell
This is the correct solution. And you're right - you don't need xmltest.cpp.
I added the "tinystr.cpp" to my project and it worked like a charm. I contacted mike25025 in a PM to thank him since the thread ended up being on the 2nd page and I did not want to bump it up.
It is my fault though for not editing the title to "solved". Thank you though - I do not have to use the Window's INI files anymore.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement