LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-25-2003, 11:20 AM   #1
microtim
LQ Newbie
 
Registered: Mar 2003
Location: Cambridge, M
Posts: 16

Rep: Reputation: 0
autogen: mixing C and C++


i'm a newbie to autogen and only a novice in Makefiles. i've been searching google for good documentation, but most assume certain previous knowledge. the complications that i've run into deal with combining the my C++ code with gtk-2. glade-2 generates a set of autogen scripts that is fit to compile with C code but not with C++ code. for example, the following Makefile.am does not work with my current configuration.

INCLUDES = \
-I../../enchant_ipc/include -I../../signalcore

zreccon_SOURCES = \
main.c \
support.c support.h \
interface.c interface.h \
callbacks.c callbacks.h \
my-code.cpp my-cde.hpp

...because the contents of the INCLUDE'ed "signalcore" directory is based on C++. Can I get an idea of what I must change in configure.ac? Any documentation would help as well. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
./autogen.sh vladacar Linux - Newbie 1 10-13-2004 01:41 PM
glade problems with autogen.sh tamtam Programming 5 07-29-2004 07:57 PM
Help with GTK and Glade autogen gtkmike Programming 0 06-13-2004 05:21 PM
Can't run the ./autogen.sh for giFT berniefer Linux - Software 0 08-05-2003 10:36 AM
Glade autogen.sh acid_kewpie Programming 0 12-06-2001 09:17 AM


All times are GMT -5. The time now is 10:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration