undefined reference to FOLDERID_.. – C++

  c++, winapi

compiling c++ from linux to windows using g++ and got an error.

Error:

undefined reference to `FOLDERID_RoamingTiles'
collect2: error: ld returned 1 exit status

I’m guessing there is a library I have to reference but I don’t know what the name is.

also if that’s the case what are the ways I could find the name of the library I have to reference, if that happens again in the future?

thanks.

Source: Windows Questions C++

LEAVE A COMMENT