Make you know what you are using in the way of boost. Yes I've done everything else correctly. What OS/SP are you using? 0 Discussion Starter shinsengumi -10 5 Years Ago I don't know how to do it with dev-c++ because I don't use it any more. The path is not, but that shouldn't be a problem. –jazzpi Sep 18 at 21:53 add a comment| up vote 1 down vote Greetings I just went through the problem above....
Try upgrading to the latest beta version (go for the 'full' version) and anonytmouse's instructions should make a lot more sense. Report • #8 Xploit February 13, 2011 at 14:35:46 Thanks Judago :) just downloaded the compiler and it works perfect.and thanks to everyone else, your help is really appreciated. So, apparantly boost, in order to do network sockets, requires a platform library, in which was found in the form of ws2_32 for windows, and socket for linux for sure. Mingw Winsock Could you please tell me how I should do that?Thanks in advance 0 Back to top #6 abzero abzero CC Addict Advanced Member 205 posts Posted 15 June 2010 - 04:15
wicked 01-05-2005 #2 Fordy View Profile View Forum Posts Visit Homepage &TH of undefined behavior Join Date Aug 2001 Posts 5,792 If memory serves correct, the libraries in DevC++ have a To learn more and to read the lawsuit, click here. Register a free account to unlock additional features at BleepingComputer.com Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. http://stackoverflow.com/questions/12472654/mingw-boost-undefined-reference-to-wsastartup8 more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
Where is the tutorial that you are using? Undefined Reference To `[email protected]' I'm sure it's possible to check, but who has time to do that right? Numbers like 96 in codeblocks and 128 in devc++ gets printed in output Hot Network Questions How to know if a meal was cooked with or contains alcohol? current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.
By the way I'm using C programming language. http://www.bleepingcomputer.com/forums/t/218573/winsock/ Is there a word for spear-like? Undefined Reference To [email protected]' Code Blocks So, why "undefined refernce"???? Undefined Reference To [email protected]' Dev C++ What does Differential Geometry lack in order to "become Relativity" - References Can an umlaut be written as a line in handwriting? 2002 research: speed of light slowing down?
now My program is working perfectly but only when I run both server and client program on same computer.As soon as i run one of them on computer and another on More about the author Report • #10 kikker June 2, 2011 at 02:16:37 tiensi1991 u r great....u solved my problem... Also : one does not simply port C/C++ apps between operating systems, you're free to use OSS compilers and whatnot but with windows that will only lead to trouble - you'd It's just named differently. Undefined Reference To Getaddrinfo
I added in the setting of devc++'s environment the directory where winsock.dll is located but I still got the same linker errors. Compile! What to do when you've put your co-worker on spot by being impatient? check my blog For example … Help with reading file to matrix form 5 replies Hello everyone here, I want to be able to read from file or DB and place lines on a
I do not link against cygwin boost libraries, or the mingw boost libraries, I built boost from scratch using gcc on windows (cygwin). Lws2_32 Already that fact that cygwin uses version (x?) and boost is 1.47.0 could be a major issue. press ctrl + h -> Parameters -> Add library or object browse some where like C:\Program Files\CodeBlocks\MinGW\lib and find your object.
What is the 'dot space filename' command doing in bash? I'm trying to compile a socket program in DevC++ but everytime I do it I get a lot of linker errors like these: [Linker error] undefined reference to `[email protected]' [Linker error] We can start a new block without an if, etc. */ v5 = NULL; } } Last edited by anonytmouse; 01-07-2005 at 08:03 AM. news If we have ever helped you in the past, please consider helping us.
I would read up on the documentation, to see that you have everything you need. share|improve this answer answered Jan 9 '10 at 14:23 stakx 49.7k11101167 1 The winsock2 library is Microsoft's - they don't give you the source. –anon Jan 9 '10 at 14:27 Logged Be patient!This bug will be fixed soon... contact us Code::Blocks Welcome, Guest.
What is a Peruvian Word™? I think this will make the compilation of my Linux program in windows much much simpler. share|improve this answer answered Feb 19 at 8:40 Amir 40249 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up c++ c share|improve this question edited Mar 13 '15 at 8:47 Yu Hao 84.4k18116177 asked Mar 13 '15 at 8:45 Danyial Shahid Ali 289117 3 You don't seem to be
Operating Systems ▼ Windows 10 Windows 8 Windows 7 Windows XP See More... Thanks! Site Changelog Community Forum Software by IP.Board Sign In Use Facebook Use Twitter Need an account? asked 4 years ago viewed 9801 times active 1 year ago Linked 0 C++ Eclipse Build Error 2 manually building a python extension in cygwin with boost.python Related 388What is the
Hide Comments · Unlock · Lock 04 Feb camD357 I love this community ! Is there a difference between u and c in mknod Gender roles for a jungle treehouse culture You can find me everywhere How do spaceship-mounted railguns not destroy the ships firing Check out our Community Blogs Recent Topics Google Map does not load in Magento store locator page. So if you are properly using boost, and including the correct boost system libraries, you may also need an OS specific library to access some resources (networking in this case).
This will work in C++ and even C99, but not traditional C. Join them; it only takes a minute: Sign up I'm trying to compile a socket program in DevC++ but everytime I do it I get a lot of linker errors like