Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Errors with lib

Author
Message
DarkBasic Pro Guy
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location: Broomfield, Colorado
Posted: 4th Dec 2007 20:51 Edited at: 12th Dec 2007 06:36


that's my code

that's the error... I couldn't read any of the error, forgive me im new to darkgdk and C++ altogether.


EDIT: For those of you not willing to read the entire thread, I got the above solved, but however ran into a new error:

Quote: "cl : Command line error D8016 : '/MT' and '/clr' command-line options are incompatible"


Any Help?

RuneScape name: Dbproguy
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 4th Dec 2007 20:57
It's <iostream>, not "iostream".

You also have to go to Project > Properties > C/C++ > Code Generation and change it to Multi-Threaded (/MT)

"It's like floating a boat on a liquid that I don't know, but I'm quite happy to drink it if I'm thirsty enough" - Me being a good programmer but sucking at computers
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 5th Dec 2007 15:09
Quote: "It's <iostream>, not "iostream"."

It's either, though technically you are right.

The real problem is that the code generation isn't set to Multithreaded (NOT Multithreaded Debug) which is needed whether in retail or debug compiles.

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code
Para _Charlie
18
Years of Service
User Offline
Joined: 31st May 2006
Location: Wisconsin
Posted: 6th Dec 2007 02:15
<does not look in the same directory as source files> but it may look in several other directories to find it.

"Looks in the same directory as the source and if it does not find it, looks in the other directories as does the brackets."

So its actually good idea for large projects to use ""

DBP 6.3 DX 9.0c
3.2Gig Proc, 2Gigs Ram, SATA HD, Gigabyte MB, 6800GT Vid
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 6th Dec 2007 14:07
Not really - it's best to get the compiler to look only where it needs to look. When you get a large project, you don't want the compiler to waste time searching for iostream or DarkGDK.h in your directories when it could limit itself to searching the more likely directories instead.

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 7th Dec 2007 20:00
Hmmm... That's why they are options Either Way I guess - whichever you choose is right I guess.

I didn't know the difference - but I do now. Thanx for those posts guys!

DarkBasic Pro Guy
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location: Broomfield, Colorado
Posted: 12th Dec 2007 06:34
para_charlie, I thought of the same thing which is why I use them like that.

Also I ran into the following error:

Quote: "cl : Command line error D8016 : '/MT' and '/clr' command-line options are incompatible"


Any help?

RuneScape name: Dbproguy

Login to post a reply

Server time is: 2024-09-29 07:24:19
Your offset time is: 2024-09-29 07:24:19