Login Page - Create Account

Support Board


Date/Time: Sat, 22 Feb 2025 17:56:43 +0000



[Programming Help] - udp interface

View Count: 621

[2021-02-02 20:15:36]
User517464 - Posts: 7
I want to incorporate the code from the link above into my own costum studym.
UDP Interface: UDP Program Code Example

I received this error message:

-- Starting remote build of Custom Studies Source files: my_costum_study_007.cpp. 32-bit -- 20:39:00
Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

/usr/bin/i686-w64-mingw32-ld: /tmp/ccKpN9wI.o:my_costum_study_007.cpp:(.text+0x125): undefined reference to `_imp__WSAStartup@8'
/usr/bin/i686-w64-mingw32-ld: /tmp/ccKpN9wI.o:my_costum_study_007.cpp:(.text+0x147): undefined reference to `_imp__socket@12'
/usr/bin/i686-w64-mingw32-ld: /tmp/ccKpN9wI.o:my_costum_study_007.cpp:(.text+0x160): undefined reference to `_imp__htons@4'
/usr/bin/i686-w64-mingw32-ld: /tmp/ccKpN9wI.o:my_costum_study_007.cpp:(.text+0x175): undefined reference to `_imp__inet_addr@4'
/usr/bin/i686-w64-mingw32-ld: /tmp/ccKpN9wI.o:my_costum_study_007.cpp:(.text+0x1b9): undefined reference to `_imp__sendto@24'
/usr/bin/i686-w64-mingw32-ld: /tmp/ccKpN9wI.o:my_costum_study_007.cpp:(.text+0x1d1): undefined reference to `_imp__closesocket@4'
/usr/bin/i686-w64-mingw32-ld: /tmp/ccKpN9wI.o:my_costum_study_007.cpp:(.text+0x1e6): undefined reference to `_imp__WSACleanup@0'
collect2: error: ld returned 1 exit status

-- End of Build -- 20:39:03


What could be the problem?

Thanks for the help!

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account