|
-
October 24th, 2009, 06:18 PM
#1
"Undefined reference to: " errors in Qt Creator
Hello,this is my first post on this forum.
I started using Qt Creator(on Windows) and I have a problem.I found a source code(pure c++) on internet,and tried it to compile with Qt Creator(chose build item from the menu) .It gave these problems:
"
...PracSockWin.cpp:39: undefined reference to `gethostbyname@4'
...PracSockWin.cpp:47: undefined reference to `htons@4'
...PracSockWin.cpp:62: undefined reference to `socket@12'
...PracSockWin.cpp:88: undefined reference to `inet_ntoa@4'
"
It found many of these type errors,what should I do?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|