Sign in to follow this  
armond

Anyone using Bloodshed Dev-C++

Recommended Posts

Hi, it's been a while since I last programmed using C++. I'm using Dev-C++, it was recommended to me by a friend. During compilation, I encountered this problem... -lctl3d32 -lgcc -lstdc++ -lshell32 -loleaut32 -ladvapi32 -luuid -lodbc32 -Wno-deprecated cc1plus.exe: warning: switch "-fvtable-thunks" is no longer supported C:\Dev-Cpp\bin\..\lib\gcc-lib\mingw32\3.3.1\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw Execution terminated Here's my source code... ############################### #include<iostream.h> using namespace std; char word[10][10]; int i,n; int main() { cout << "Please enter a sentence: "; cin.get(); return 0; } ############################### anybody please help... Thanks!

Share this post


Link to post
Share on other sites
Why would he need that?

What type of project did you choose when you created it. A program like that should have been a console program, other wise a load of unnecessary files will be linked.

If you linked them yourself, unlink them, there is no reason why they should be linked.

Share this post


Link to post
Share on other sites
Quote:
Possibly because you haven't installed the wxWindows/wxWidgets library?

He's not even using anything from wxWidgets, so I think he selected the wrong project template (or whatever it was called in Dev-C++. Been a while since I used it.)

Armond: Just remove wxmsw from the libraries to link, that program doesn't need it.

Share this post


Link to post
Share on other sites
Quote:
Original post by armond
#include<iostream.h>


Try
#include <iostream>
without the .h

It'll stop the compiler from kicking up a fuss about deprecated headers unless, that is, you have an old compiler.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this