Hi,
I believe the sources paramgl.h/cpp allow us to create visible bars using which we can change values at run time(for examples in the particles example)…right ?
I want to use that as is in my demo…
I have inlcuded
param.h
param.cpp
paramgl.h
paramgl.cpp
in my Project as well.
I have based my solution on top of the simpleGL example from the SDK…
After including the same header file… I get lots of errors such as
1>------ Build started: Project: simpleGL, Configuration: Debug Win32 ------
1>Performing Custom Build Step
1>simpleGL.cu
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocinfo", line 77: error:
1> support for exception handling is disabled
1> throw runtime_error("bad locale name");
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocinfo", line 87: error:
1> support for exception handling is disabled
1> throw runtime_error("bad locale name");
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocinfo", line 99: error:
1> support for exception handling is disabled
1> throw runtime_error("bad locale name");
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale", line 326: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale", line 333: error:
1> support for exception handling is disabled
1> throw;
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale", line 341: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale", line 345: error:
1> support for exception handling is disabled
1> throw runtime_error("bad locale name");
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale", line 350: error:
1> support for exception handling is disabled
1> throw;
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale", line 358: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale", line 364: error:
1> support for exception handling is disabled
1> throw runtime_error("bad locale name");
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale", line 369: error:
1> support for exception handling is disabled
1> throw;
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale", line 1340: error:
1> support for exception handling is disabled
1> throw out_of_range("out_of_range in ctype<T>");
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xiosbase", line 278: error:
1> support for exception handling is disabled
1> throw;
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xiosbase", line 280: error:
1> support for exception handling is disabled
1> throw failure("ios_base::badbit set");
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xiosbase", line 282: error:
1> support for exception handling is disabled
1> throw failure("ios_base::failbit set");
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xiosbase", line 284: error:
1> support for exception handling is disabled
1> throw failure("ios_base::eofbit set");
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\istream", line 1075: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\istream", line 1110: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xstring", line 1971: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xmemory", line 41: error:
1> support for exception handling is disabled
1> throw std::bad_alloc(0);
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xstring", line 1975: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xstring", line 1979: error:
1> support for exception handling is disabled
1> throw;
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xdebug", line 83: error:
1> support for exception handling is disabled
1> throw std::bad_alloc(0);
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xdebug", line 94: error:
1> support for exception handling is disabled
1> throw std::bad_alloc(0);
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xstring", line 1971: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xstring", line 1975: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xstring", line 1979: error:
1> support for exception handling is disabled
1> throw;
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale", line 481: error:
1> support for exception handling is disabled
1> throw bad_cast(); // lazy disallowed
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\ostream", line 138: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\ostream", line 514: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\ostream", line 138: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\ostream", line 514: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\istream", line 102: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\istream", line 102: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale", line 481: error:
1> support for exception handling is disabled
1> throw bad_cast(); // lazy disallowed
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\vector", line 1214: error:
1> support for exception handling is disabled
1> throw length_error("vector<T> too long");
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xmemory", line 41: error:
1> support for exception handling is disabled
1> throw std::bad_alloc(0);
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\vector", line 1141: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\vector", line 1149: error:
1> support for exception handling is disabled
1> throw;
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\vector", line 1172: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\vector", line 1177: error:
1> support for exception handling is disabled
1> throw;
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xmemory", line 41: error:
1> support for exception handling is disabled
1> throw std::bad_alloc(0);
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xtree", line 1293: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xtree", line 1305: error:
1> support for exception handling is disabled
1> throw;
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xtree", line 1095: error:
1> support for exception handling is disabled
1> throw length_error("map/set<T> too long");
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xtree", line 1316: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xtree", line 1320: error:
1> support for exception handling is disabled
1> throw;
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string", line 556: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\ostream", line 794: error:
1> support for exception handling is disabled
1> try {
1> ^
1>"C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string", line 443: error:
1> support for exception handling is disabled
1> try {
1> ^
1>50 errors detected in the compilation of "C:\DOCUME~1\Psyclops\LOCALS~1\Temp/tmpxft_00000f10_00000000-5.ii".
1>Build log was saved at "file://c:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\projects\cudaPhysics\Debug\BuildLog.htm"
1>simpleGL - 50 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Anyone know how this problem can be resolved.