Re: How to update both the Console and the GTKMM gui window after running other functions
- From: "Moh B." <mohgtkmm gmail com>
- To: "L. D. James" <ljames apollo3 com>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: How to update both the Console and the GTKMM gui window after running other functions
- Date: Mon, 05 Aug 2013 22:09:43 +0100
and my Makefile:
==== begin Makefile ========================
all:
g++ -std=c++11 -Wall -g3 -c *.cc `pkg-config gtkmm-3.0
--cflags`-pthread
g++ -std=c++11 -Wall -g3 *.o `pkg-config gtkmm-3.0 --libs` -lpthread -o
thread
clean:
rm -rf *.o thread
==== begin Makefile ========================
On Mon, 2013-08-05 at 16:27 -0400, L. D. James wrote:
Thanks!
I added the two libraries. Performed clean make and get the same
output.
This is the Makefile and other files used by Eclipse:
// Code - Makefile
// ----------------------------------------------------------
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include ../makefile.init
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include src/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build
variables
# All Target
all: gtkmmAllen2
# Tool invocations
gtkmmAllen2: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: GCC C++ Linker'
g++ -o "gtkmmAllen2" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(OBJS)$(C
++_DEPS)$(C_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(CXX_DEPS)$(C_UPPER_DEPS) gtkmmAllen2
- echo ' '
.PHONY: all clean dependents
.SECONDARY:
-include ../makefile.targets
// ----------------------------------------------------------
// code end1
// Code begin: objects.mk
// ---------------------------------------------------------
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
USER_OBJS :=
LIBS := -lgthread-2.0 -lpthread -lglib-2.0 -lgtkmm-3.0 -latkmm-1.6
-lgdkmm-3.0 -lgiomm-2.4 -lpangomm-1.4 -lgtk-3 -lglibmm-2.4
-lcairomm-1.0 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lsigc-2.0
-lgobject-2.0 -lgtkmm-3.0 -latkmm-1.6 -lgdkmm-3.0 -lgiomm-2.4
-lpangomm-1.4 -lgtk-3 -lglibmm-2.4 -lcairomm-1.0 -lgdk-3 -latk-1.0
-lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject
-lpango-1.0 -lcairo -lsigc-2.0 -lgobject-2.0 -lglib-2.0
// ---------------------------------------------------------
// Code end
// Code begin: sources.mk
// ---------------------------------------------------------
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
O_SRCS :=
CPP_SRCS :=
C_UPPER_SRCS :=
C_SRCS :=
S_UPPER_SRCS :=
OBJ_SRCS :=
ASM_SRCS :=
CXX_SRCS :=
C++_SRCS :=
CC_SRCS :=
OBJS :=
C++_DEPS :=
C_DEPS :=
CC_DEPS :=
CPP_DEPS :=
EXECUTABLES :=
CXX_DEPS :=
C_UPPER_DEPS :=
# Every subdirectory with source files must be described here
SUBDIRS := \
src \
// ---------------------------------------------------------
// Code end
-- L. James
--
L. D. James
ljames apollo3 com
www.apollo3.com/~ljames
On 08/05/2013 03:58 PM, Alan Mazer wrote:
Ah. Perhaps it's how you built it. If you're using Linux, I link
with -lgthread-2.0. I actually like with -lpthread as well,
although that might not be necessary. I have multiple types of
threads in some apps. Try that and see if that helps.
-- Alan
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]