Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Der Meister on December 23, 2005, 11:21:27 am

Title: src/src/appglobals.cpp was not added to the build system for linux
Post by: Der Meister on December 23, 2005, 11:21:27 am
In revision 1582 the file 'src/src/appglobals.cpp' was added and the project-file was updated (probably to include the new file), but not the linux build system.
Without compiling this file there are many linker errors (which is quite obvious). The following patch solves this problem:
Code
Index: src/src/Makefile.am
===================================================================
--- src/src/Makefile.am (revision 1582)
+++ src/src/Makefile.am (working copy)
@@ -25,7 +25,8 @@
                        main.cpp \
                        prefix.cpp \
                        printdlg.cpp \
-                       startherepage.cpp
+                       startherepage.cpp \
+                       appglobals.cpp
 
 noinst_HEADERS = app.h \
                        appglobals.h \
Title: Re: src/src/appglobals.cpp was not added to the build system for linux
Post by: Stevo on December 24, 2005, 12:57:26 am
I can confirm that this problem still exists in revision 1583, because i just hit it and solved it before reading this post. 

The suggested patch works and really needs to go in.

Stevo
Title: Re: src/src/appglobals.cpp was not added to the build system for linux
Post by: rickg22 on December 24, 2005, 02:31:38 pm
Fixed now :)