I'm trying to use TR1 for some C++ project. Unfortunately I get an error and don't understand why or how I should do it correctly! I'm working under Linux with gcc 4.4.5.
I get the error
myfile.cpp:21:35: error: tr1/normal_distribution: No such file or directory
The TR1 file I need is imported via:
#include <tr1/normal_distribution>
in CMakeLists.txt I turn on TR1 support (-std=c++0x)
SET (CMAKE_CXX_FLAGS "-Wall -std=c++0x -DNDEBUG -O3 -march=nocona -msse4.2")
Any idea what I'm doing wrong?