User forums > Help

Cygwin, Build simple project

<< < (2/2)

stahta01:

--- Quote from: stahta01 on July 18, 2012, 01:03:19 am ---
Most likely solution, change the Toolchain to use the real exe instead of gcc.exe (which is a symlink).

Most likely a valid name is either gcc-4.exe or gcc-3.exe

Tim S.

--- End quote ---

Once more I say, Change the name of the C Compiler.

dnewhous:
The solution to that difficulty was to install a nightly build of CodeBlocks.  Now I am having a more mundane issue.
When I Build with CodeBlocks I get the linker errors indicated on the screenshot I am posting.  When I use the following command line in the same directory I get a successful build

"g++ -o serverMain ServerMain.cpp tcpIpSocket.cpp timer.cpp"

serverMain.exe is produced and works just fine.  I want to be able to use CodeBlocks to Build serverMain.exe.  

K, this problem is solved by creating a project with the relevant source files added to the project.

Navigation

[0] Message Index

[*] Previous page

Go to full version