Quite strange MinGW ld problem - “collect2: ld returned 1 exit status”
问题 I'm building an application for data visualization and the framework I'm using is beautiful OpenFrameworks. On Linux, it compiles and works perfectly, but now it's time to port it to Windows and I'm facing some very strange problems. I can't find relevant information from google. When linking, I get this: mingw32-g++.exe -o bin\visualisation.exe ...blah.o, blah2.o... ...lib1 lib2 lib3... collect2: ld returned 1 exit status Process terminated with status 1 (0 minutes, 3 seconds) 0 errors, 0