Hi, i have an app which is built using make. I am trying to integrate CEF framework with it. It used to work before(done by some other developer). However after updating CEF it has stopped working.
Current Makefile has the following
LIBCEF_DLL_SOURCE=$(CEF_DIR)/libcef_dll
175 LIBCEF_DLLWRAPPER_SOURCE=$(LIBCEF_DLL_SOURCE)/wrapper
176 CFLAGS += -I$(THIRD_PARTY_INCLUDE)/libcef -I$(THIRD_PARTY_INCLUDE)/libcef/include
177
178 $(OBJ)/%.o: $(LIBCEF_DLLWRAPPER_SOURCE)/%.cc
179 › $(CXX) $(CFLAGS) -c -o $@ $<
180
181 CEF_DLL_WRAPPER_OBJS += $(foreach file,$(wildcard $(LIBCEF_DLLWRAPPER_SOURCE)/*.cc), $(OBJ)/$(basename $(notdir $(file))).o)
182
183 $(OBJ)/%.o: $(LIBCEF_DLL_SOURCE)/%.cpp
184 › $(CXX) $(CFLAGS) -c -o $@ $<
185
186 CEF_DLL_WRAPPER_OBJS += $(foreach file,$(wildcard $(LIBCEF_DLL_SOURCE)/*.cpp), $(OBJ)/$(basename $(notdir $(file))).o)
187
188 $(OBJ)/%.o: $(LIBCEF_DLL_SOURCE)/ctocpp/%.cc
189 › $(CXX) $(CFLAGS) -c -o $@ $<
190
191 $(OBJ)/%.o: $(LIBCEF_DLL_SOURCE)/cpptoc/%.cc
192 › $(CXX) $(CFLAGS) -c -o $@ $<
193
194 $(OBJ)/%.o: $(LIBCEF_DLL_SOURCE)/base/%.cc
195 › $(CXX) $(CFLAGS) -c -o $@ $<
196
197 CEF_DLL_WRAPPER_OBJS += $(foreach file,$(wildcard $(LIBCEF_DLL_SOURCE)/*/*.cc), $(OBJ)/$(basename $(notdir $(file))).o)
I was getting error dyld"@executable_path/Chromium Embedded Framework" not found. After researching I added the following target in makfile to update path
+ › cp -Rf "$(CEF_DIR)/Release/Chromium Embedded Framework.framework" (app_path).app/Contents/Frameworks
+
+ › install_name_tool -change "@executable_path/Chromium Embedded Framework" "@executable_path/../../../../Frameworks/Chromium Embedded Framework.framework/C hromium Embedded Framework" "(help_app_path).app/Contents/MacOS/Cortext Helper"
+
+ › install_name_tool -change "@executable_path/Chromium Embedded Framework" "@executable_path/../Frameworks/Chromium Embedded Framework.framework/Chromium E mbedded Framework" "(app_path).app/Contents/MacOS/(target)"
However now I am getting a different error. Please see the attached file.
Can you help with the error or let me know the correct way of using the framework.
P.S: we are using 32 bit CEF(no longer supported).