Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 19th, 2003, 01:00 AM
planck2 planck2 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 5 planck2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.
Attached Files
File Type: txt error.txt (1.5 KB, 749 views)

Last edited by planck2 : December 19th, 2003 at 01:05 AM.

Reply With Quote
  #2  
Old February 9th, 2004, 09:40 AM
AshROnyx AshROnyx is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 4 AshROnyx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to AshROnyx
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

Reply With Quote
  #3  
Old February 10th, 2004, 01:02 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
Posts: 9,385 Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 1 Day 21 h 30 m 25 sec
Reputation Power: 4080
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

Reply With Quote
  #4  
Old February 11th, 2004, 07:11 AM
AshROnyx AshROnyx is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 4 AshROnyx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to AshROnyx
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > iostream error in Kylix3 console app

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap