Author Topic: CodeBlocks can not find windows DLL!  (Read 5309 times)

Offline creator.sg

  • Single posting newcomer
  • *
  • Posts: 4
CodeBlocks can not find windows DLL!
« 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 ===|

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: CodeBlocks can not find windows DLL!
« Reply #1 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.
« Last Edit: November 12, 2009, 05:07:22 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: CodeBlocks can not find windows DLL!
« Reply #2 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ