|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
iostream error in Kylix3 console app
I finally installed Kylix3 in redhat, following
http://www.linuxquestions.org/quest...2003/08/3/42518 this thread ( compat-glib and few other changes). I can compile and run a dialog without crashing. However as a console project following code error out #include <iostream> #pragma hdrstop //--------------------------------------------------------------------------- #pragma argsused using namespace std; int main(int argc, char* argv[]) { cout<<"This will error out"; //************************** //std::cout<<"Same error";:: return 0; } this error happens once I put #include <iostream> or #include <iostream.h> and compile. Error is in _algobase.h Error message [C++ Error] _algobase.h(629): E2285 Could not find a match for 'min<_Tp,_Compare>(const unsigned int,const unsigned int)' [C++ Error] _algobase.h(660): E2285 Could not find a match for 'min<_Tp,_Compare>(const int,const int)' if I change the order of the /usr/i386-glibc21-linux/include from the top to bottom in project option I get a huge error message which I am attaching here as an attachment. Any Idea anyone? Thanks in advance. Last edited by planck2 : December 19th, 2003 at 01:05 AM. |
|
#2
|
|||
|
|||
|
I also have this exact problem in algobase.h .
I am using RH7.3 with Kylix3 and the update. Has anyone found a workaround or what the problem is? Cheers, Ash |
|
#3
|
||||
|
||||
|
Can you use gcc/g++ for console projects instead?
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month Looking for a perl job with kick-*** programmers in a well-known NASDAQ listed tech company with branches in the US and Europe? We're hiring. PM me for details. Requirements |
|
#4
|
|||
|
|||
|
yep gcc compilers fine. I wanted to use kylix for its step-through debugging facilities though.
This post at linuxquestions.org is very useful .... Kylix Forum thread |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Delphi Programming > iostream error in Kylix3 console app |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|