Page 1 of 1

unresolved external _FOLDERID_ApplicationShortcuts

PostPosted: Thu Jan 23, 2014 3:43 pm
by dcaputi
Hi,
I'm trying to build (vs2010/debug) the cefclient app in a pretty recent version of CEF3 (cef_binary_3.1751.1550_windows32)

Any idea why I'm getting this linker error:
cef_sandbox.lib(base.base_paths_win.obj) : error LNK2001: unresolved external symbol _FOLDERID_ApplicationShortcuts

I think it has something to do with how the sandbox lib is linked somehow with a Windows 8 SDK (Known Folder shell API?)

Thanks in advance,
-Dan C.

Re: unresolved external _FOLDERID_ApplicationShortcuts

PostPosted: Mon Feb 24, 2014 10:40 am
by bweston
I am also getting this error! Any help guys?

Re: unresolved external _FOLDERID_ApplicationShortcuts

PostPosted: Mon Mar 10, 2014 10:14 am
by itaibh
I have the same problem. Any news regarding this one?

Itai.

Re: unresolved external _FOLDERID_ApplicationShortcuts

PostPosted: Thu Mar 13, 2014 6:34 pm
by magreenblatt
CEF is built with the Win8 SDK. Does building your app against the Win8 SDK resolve the problem?

Re: unresolved external _FOLDERID_ApplicationShortcuts

PostPosted: Sun Mar 16, 2014 3:48 am
by itaibh
I'll check, but if it does, is it supposed to work with older systems as well?

Re: unresolved external _FOLDERID_ApplicationShortcuts

PostPosted: Sun Mar 16, 2014 6:21 am
by magreenblatt
itaibh wrote:I'll check, but if it does, is it supposed to work with older systems as well?

You can build against the Win8 SDK and run on Win XP SP2+ (depending on your target platform settings).

Re: unresolved external _FOLDERID_ApplicationShortcuts

PostPosted: Tue Apr 22, 2014 11:09 am
by ScottNelson
Solution (at least for me). We build CEF 1750 on Amazon and download cef_binary_3.1750.1663_windows32.zip to local Win7 64bit machine.
Using VS 2010 SP1Rel I had to modify all 3 projects: cefclient, cefsimple & libcef_dll_wrapper ala:
1. C/C++ Additional Include Directories:
change - D:\jenkins\workspace\CEF_compile_win\win_toolchain\win8sdk\Include\shared
to local: C:\Program Files (x86)\Windows Kits\8.0\Include\shared
- D:\jenkins\workspace\CEF_compile_win\win_toolchain\win8sdk\Include\um
C:\Program Files (x86)\Windows Kits\8.0\Include\um
- D:\jenkins\workspace\CEF_compile_win\win_toolchain\win8sdk\Include\winrt
C:\Program Files (x86)\Windows Kits\8.0\Include\winrt
2. Linker General -> Additional Library Directories:
- D:\jenkins\workspace\CEF_compile_win\win_toolchain\Lib\win8\um\x86
C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x86
That's it - other than changing the Output Directory from ..\out\$(Configuration) to out\$(Configuration) to keep all things CEF in 1 folder