News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

CodeBlocks can not find windows DLL!

Started by creator.sg, November 12, 2009, 03:40:39 AM

Previous topic - Next topic

creator.sg

I set my  project's "Build Options" , Linking settings : I add ACE DLL files . Search Directories: I set the fold path. But when I linking my program the error shows as follows. (ACE install path added to Path ,and MinGW path added too)
Anyone could help me.

Debug\Servermain.o||In function `ZNK36ACE_Unbounded_Set_Default_ComparatorIP16ACE_Timer_Node_TIP17ACE_Event_HandlerEEclERKS4_S7_':|
)]+0x4c)||undefined reference to `select@20'|
)]+0x5d)||undefined reference to `WSAGetLastError@0'|
) const]+0x17)||undefined reference to `__WSAFDIsSet@8'|
||=== Build finished: 3 errors, 0 warnings ===|

stahta01

#1
This is NOT a problem with Code::Blocks!

This is an error in the linker you are not linking the needed library correctly.

Turn on full compiler logging and post the build log in a proper forum that supports the compiler/library.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Tim S.

Edit: You post definitely does NOT belong under "Code::Blocks > Developer forums (C::B DEVELOPMENT STRICTLY!) > Development" area.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MortenMacFly

Quote from: creator.sg on November 12, 2009, 03:40:39 AM
)]+0x5d)||undefined reference to `WSAGetLastError@0'|
This post violates out forum rules for three reasons:
1.) It's not related to C::B.
2.) you did not search the forums before (this has been asked many times)
3.) you did not google for this error before (this reveales ~1 million hints and solutions)

Topic locked.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]