Hi,
I have built the image Angstrom-lxde-image 2.8b2 using oe-core. then i aheve appended gtkmm using
IMAGE_INSTALL_append = " gtkmm". Thendid.
bitbake -k angstrom-lxde-image
The image was built. Then i did
bitbake angstrom-lxde-image -c populate_sdk
Then the sdk folder with .sh file was present in deploy folder.
I have executed the sdk.
I have sourced the environment from the terminal
skanray@skanray-System-Product-Name:~$ cd eclipse
skanray@skanray-System-Product-Name:~/eclipse$ cd cpp-oxygen/eclipse/
skanray@skanray-System-Product-Name:~/eclipse/cpp-oxygen/eclipse$ . /usr/local/oecore-x86_64/environment-setup-armv7at2hf-neon-angstrom-linux-gnueabi
skanray@skanray-System-Product-Name:~/eclipse/cpp-oxygen/eclipse$ ./eclipse
Then creating a helloword gtkmm project in eclipse with crossGcc.
Then going to Project configuration
These properties are under
Project → Properties → C/C++ Build → Settings → Tool Settings
Currently these are the settings in my Eclipse gtkmm project
-
Cross GCC Compiler
Command: ${CC}
Miscellaneous → Other flags: ${CFLAGS} -c --sysroot=/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/ -
Cross G++ Compiler
Command: ${CXX}
Miscellaneous → Other flags: ${CXXFLAGS} -c -std=c++98/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/bin/pkg-config --cflags gtkmm-2.4
--sysroot=/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/
Note the use of pkg-config in this step and next.
-
Cross G++ Linker
Command: ${CXX}
Miscellaneous → Linker flags: ${LDFLAGS}/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/bin/pkg-config --libs gtkmm-2.4
-
Cross GCC Assembler
Command: ${AS}
Are changed but in pkg-config gtkmm-2.4 is not reflecting
Pkg-config of the eclipse project
The errror when we compile the project is link text
What could be the issue? Please look in to this.
Thanks,
lokeswara