ccschoeman Posted May 5, 2006 Report Share Posted May 5, 2006 Hi, I'm a noob at c++ programming and I got a book from the internet: "Thinking in C++ Volume 2: Practical Programming". I'm at the concurrency part and it uses the zthread library (cause c++ don't have a standard thread library) and I downloaded it from the net. I'm working in windows (because I have to - not by choice) and I'm using Dev-Cpp as an IDE. Dev-Cpp 5 uses g++ 3.4.2 as the compiler. When I try to compile (using the instructions given - I can't use configure so I made a new project [static library] and added all the source files in src; also I added the include folder in the compiler options)I got the error message: In file included from ../ZThread-2.3.2/src/ConditionImpl.h:26, from ../ZThread-2.3.2/src/Condition.cxx:24:C:/programme/ZThread-2.3.2/include/zthread/Guard.h: In destructor `ZThread::Guard<LockType, LockingPolicy>::~Guard()':C:/programme/ZThread-2.3.2/include/zthread/Guard.h:494: error: there are no arguments to `isDisabled' that depend on a template parameter, so a declaration of `isDisabled' must be availableC:/programme/ZThread-2.3.2/include/zthread/Guard.h:494: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) make.exe: *** [../ZThread-2.3.2/src/Condition.o] Error 1 Execution terminated Is there anyone who can help me, please.It will be highly appreciated.Thanks to all reading my post. Link to comment Share on other sites More sharing options...
red knight Posted May 8, 2006 Report Share Posted May 8, 2006 As far as I know, ZThreads is a dead project. That is why we kill it off from Xenocide. GreetingsRed Knight Link to comment Share on other sites More sharing options...
Guest Guest Posted May 9, 2006 Report Share Posted May 9, 2006 O, I didn't know. Thank you a lot for taking me out of my pain. I appreciate it. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now