unresolved external _FOLDERID_ApplicationShortcuts

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

unresolved external _FOLDERID_ApplicationShortcuts

Postby dcaputi » Thu Jan 23, 2014 3:43 pm

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.
dcaputi
Techie
 
Posts: 20
Joined: Thu Nov 21, 2013 9:38 am

Re: unresolved external _FOLDERID_ApplicationShortcuts

Postby bweston » Mon Feb 24, 2014 10:40 am

I am also getting this error! Any help guys?
bweston
Newbie
 
Posts: 3
Joined: Wed Jan 22, 2014 4:39 pm

Re: unresolved external _FOLDERID_ApplicationShortcuts

Postby itaibh » Mon Mar 10, 2014 10:14 am

I have the same problem. Any news regarding this one?

Itai.
itaibh
Techie
 
Posts: 25
Joined: Mon Mar 10, 2014 10:12 am

Re: unresolved external _FOLDERID_ApplicationShortcuts

Postby magreenblatt » Thu Mar 13, 2014 6:34 pm

CEF is built with the Win8 SDK. Does building your app against the Win8 SDK resolve the problem?
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: unresolved external _FOLDERID_ApplicationShortcuts

Postby itaibh » Sun Mar 16, 2014 3:48 am

I'll check, but if it does, is it supposed to work with older systems as well?
itaibh
Techie
 
Posts: 25
Joined: Mon Mar 10, 2014 10:12 am

Re: unresolved external _FOLDERID_ApplicationShortcuts

Postby magreenblatt » Sun Mar 16, 2014 6:21 am

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).
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: unresolved external _FOLDERID_ApplicationShortcuts

Postby ScottNelson » Tue Apr 22, 2014 11:09 am

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
ScottNelson
Newbie
 
Posts: 1
Joined: Tue Apr 22, 2014 9:49 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 46 guests