Problem Compiling Release (Chromium Embedded Framework)
Posted: Thu Jan 16, 2014 6:36 am
Hi all,
I just wanted to make sure I wasn't doing something stupid in CodeLite before I ask a question in the CEF forums. Attempting to build the first demo 'cefsimple' as Release.
CodeLite v5.3 on Win 7.
Linker Library Paths:
C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/Release
C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/include
Resources Include Paths:
C:\Users\5K3105\Desktop\cef_binary_3.1768.1561_windows32\include
C:\Users\5K3105\Desktop\cef_binary_3.1768.1561_windows32\cefsimple
Compiler Include Paths:
C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32
Thanks!
I just wanted to make sure I wasn't doing something stupid in CodeLite before I ask a question in the CEF forums. Attempting to build the first demo 'cefsimple' as Release.
CodeLite v5.3 on Win 7.
Linker Library Paths:
C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/Release
C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/include
Resources Include Paths:
C:\Users\5K3105\Desktop\cef_binary_3.1768.1561_windows32\include
C:\Users\5K3105\Desktop\cef_binary_3.1768.1561_windows32\cefsimple
Compiler Include Paths:
C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32
Code: Select all
C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 6 -e -f Makefile"
"----------Building project:[ CEFd1 - Release ]----------"
mingw32-make.exe[1]: Entering directory `C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/CEFd1'
mingw32-make.exe[1]: Leaving directory `C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/CEFd1'
mingw32-make.exe[1]: Entering directory `C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/CEFd1'
g++ -c "C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/cefsimple/cefsimple_win.cpp" -O2 -Wall -o ./Release/cefsimple_cefsimple_win.o -I. -IC:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32
g++ -c "C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/cefsimple/simple_app.cpp" -O2 -Wall -o ./Release/cefsimple_simple_app.o -I. -IC:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32
g++ -c "C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/cefsimple/simple_handler.cpp" -O2 -Wall -o ./Release/cefsimple_simple_handler.o -I. -IC:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32
g++ -o ./Release/CEFd1 @"CEFd1.txt" -L. -LC:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/Release -LC:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/include
./Release/cefsimple_cefsimple_win.o:cefsimple_win.cpp:(.text+0xdc): undefined reference to `CefExecuteProcess(CefMainArgs const&, CefRefPtr<CefApp>, void*)'
./Release/cefsimple_cefsimple_win.o:cefsimple_win.cpp:(.text+0x1cf): undefined reference to `CefInitialize(CefMainArgs const&, CefStructBase<CefSettingsTraits> const&, CefRefPtr<CefApp>, void*)'
./Release/cefsimple_cefsimple_win.o:cefsimple_win.cpp:(.text+0x1f8): undefined reference to `CefRunMessageLoop()'
./Release/cefsimple_cefsimple_win.o:cefsimple_win.cpp:(.text+0x205): undefined reference to `CefShutdown()'
./Release/cefsimple_cefsimple_win.o:cefsimple_win.cpp:(.text+0x239): undefined reference to `cef_string_utf16_clear'
./Release/cefsimple_cefsimple_win.o:cefsimple_win.cpp:(.text+0x248): undefined reference to `cef_string_utf16_clear'
./Release/cefsimple_cefsimple_win.o:cefsimple_win.cpp:(.text+0x257): undefined reference to `cef_string_utf16_clear'
./Release/cefsimple_cefsimple_win.o:cefsimple_win.cpp:(.text+0x266): undefined reference to `cef_string_utf16_clear'
./Release/cefsimple_cefsimple_win.o:cefsimple_win.cpp:(.text+0x275): undefined reference to `cef_string_utf16_clear'
./Release/cefsimple_cefsimple_win.o:cefsimple_win.cpp:(.text+0x284): more undefined references to `cef_string_utf16_clear' follow
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x4b): undefined reference to `CefCurrentlyOn(cef_thread_id_t)'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x100): undefined reference to `cef_string_utf8_to_utf16'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x1aa): undefined reference to `cef_string_utf16_set'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x283): undefined reference to `CefCommandLine::GetGlobalCommandLine()'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x31c): undefined reference to `cef_string_utf8_to_utf16'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x4fe): undefined reference to `cef_string_utf8_to_utf16'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x574): undefined reference to `CefBrowserHost::CreateBrowserSync(CefWindowInfo const&, CefRefPtr<CefClient>, CefStringBase<CefStringTraitsUTF16> const&, CefStructBase<CefBrowserSettingsTraits> const&, CefRefPtr<CefRequestContext>)'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x714): undefined reference to `cef_string_utf16_to_utf8'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x7df): undefined reference to `cef_string_utf8_clear'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x803): undefined reference to `cef_string_utf16_clear'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x873): undefined reference to `cef_string_utf16_clear'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x8e0): undefined reference to `cef_string_utf16_clear'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x904): undefined reference to `cef_string_utf16_clear'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x928): undefined reference to `cef_string_utf16_clear'
./Release/cefsimple_simple_app.o:simple_app.cpp:(.text+0x94c): more undefined references to `cef_string_utf16_clear' follow
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0x77): undefined reference to `CefCurrentlyOn(cef_thread_id_t)'
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0x1bd): undefined reference to `CefPostTask(cef_thread_id_t, CefRefPtr<CefTask>)'
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0x2d8): undefined reference to `CefCurrentlyOn(cef_thread_id_t)'
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0x412): undefined reference to `CefQuitMessageLoop()'
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0x52c): undefined reference to `CefCurrentlyOn(cef_thread_id_t)'
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0x663): undefined reference to `CefCurrentlyOn(cef_thread_id_t)'
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0x872): undefined reference to `cef_string_utf16_to_utf8'
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0x8c6): undefined reference to `cef_string_utf8_clear'
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0x91f): undefined reference to `cef_string_utf16_to_utf8'
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0x973): undefined reference to `cef_string_utf8_clear'
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0xbef): undefined reference to `cef_string_utf8_to_utf16'
./Release/cefsimple_simple_handler.o:simple_handler.cpp:(.text+0xf6a): undefined reference to `cef_string_utf16_clear'
./Release/cefsimple_simple_handler_win.o:simple_handler_win.cpp:(.text+0x44): undefined reference to `CefCurrentlyOn(cef_thread_id_t)'
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../libmingw32.a(main.o):main.c:(.text.startup+0xa7): undefined reference to `WinMain@16'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[1]: *** [Release/CEFd1] Error 1
mingw32-make.exe: *** [All] Error 2
CEFd1.mk:79: recipe for target `Release/CEFd1' failed
mingw32-make.exe[1]: Leaving directory `C:/Users/5K3105/Desktop/cef_binary_3.1768.1561_windows32/CEFd1'
Makefile:4: recipe for target `All' failed
39 errors, 0 warnings