From: Shadow2531 <sha...@tb...> - 2005-12-05 17:32:18
|
#include <iostream> using namespace std; int main() { cout << "Hello, world!" << endl; } I've successfully built stlport 5.0 release. However, I cannot even build a simple program with it. Mingw 3.4.2 c:\mingw c:\mingw\bin (in path) c:\mingw\include c:\mingw\include\c++\3.4.2 (where mingw's iostream is at) c:\mingw\lib c:\mingw\stlport (where stlport's iostream is at) c:\mingw\stlportlib (where libstlport.5.0.a is at); g++ -Wall -Wextra "-Ic:\mingw\stlport" file.cpp -o file "-Lc:\mingw\stlportlib" -lstlport.5.0 -s I get 2 errors when trying to compile that. undefined reference to stlpmtx_std::cout undefined reference to stlpmtx_std::ios_base::_M_throw_failure() Am I doing something wrong? I'm new to stlport, so I might have overlooked some obvious things. Thanks Shadow2531 |