Menu

XML Diagram / Blog: Recent posts

How to Compile


1. Download tinyxml

2. Extract tinyxml_x_x_x.zip as shown below

xmldiagram
|---tinyxml
|........|---tinystr.cpp
|........|---tinystr.h
|........|---tinyxml.cpp
|........|---tinyxml.h
|........|---tinyxmlerror.cpp
|........|---tinyxmlparser.cpp
|---compile.bat
|---COPYING
|---xmldiagram11.cpp


cd xmldiagram
g++ -c tinyxml/tinystr.cpp
g++ -c tinyxml/tinyxml.cpp
g++ -c tinyxml/tinyxmlerror.cpp
g++ -c tinyxml/tinyxmlparser.cpp
g++ xmldiagram11.cpp tinystr.o tinyxml.o tinyxmlerror.o tinyxmlparser.o


3b. WINDOWS USERS: Ensure that gcc is installed and that it's binaries are in the PATH environmental variable. Then, simply drag xmldiagramXX.cpp over compile.bat and release. You should get a file called a.exe Rename this to whatever you want.

Posted by Chris Carr 2012-07-16
MongoDB Logo MongoDB