Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: creator.sg on November 12, 2009, 03:40:39 am

Title: CodeBlocks can not find windows DLL!
Post by: creator.sg on November 12, 2009, 03:40:39 am
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 ===|
Title: Re: CodeBlocks can not find windows DLL!
Post by: stahta01 on November 12, 2009, 04:51:17 am
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.
Title: Re: CodeBlocks can not find windows DLL!
Post by: MortenMacFly on November 12, 2009, 06:25:32 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.