Building Pico examples on MinGW+Eclipse

Post your C and C++ discussions here
Post Reply
ViHu
Newbie
Posts: 0
Joined: Tue Apr 21, 2020 12:50 pm

Building Pico examples on MinGW+Eclipse

Post by ViHu »

Hallo,
I was able able to compile the example provided for ps4000 in eclipse using MinGW,
But currently stuck in using the libraries.
I am getting the below error
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../libmingw32.a(main.o):(.text.startup+0xc0): undefined reference to `WinMain@16'

Are the libraries to be used with VS compilers only?
Attachments
Files in eclipse project
Files in eclipse project
FolderStructure.PNG (5.74 KiB) Viewed 14465 times
Error.PNG
Linker error
(7.78 KiB) Not downloaded yet

Post Reply