Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

rev 3961 does NOT build on linux

(1/3) > >>

killerbot:
no rule to make target "envars_cdfdlg.lo" ==> makefile not correct

afb:
Looks like a typo for "envvars_cfgdlg" ?

--- Code: ---Index: Makefile.am
===================================================================
--- Makefile.am (revision 3961)
+++ Makefile.am (arbetskopia)
@@ -11,9 +11,9 @@
 
 libenvvars_la_LIBADD = $(PLUGIN_WX_LIBS) ../../../sdk/libcodeblocks.la
 
-libenvvars_la_SOURCES = envvars.cpp envvars_cdfdlg.cpp envvars_common.cpp
+libenvvars_la_SOURCES = envvars.cpp envvars_cfgdlg.cpp envvars_common.cpp
 
-noinst_HEADERS = envvars.h envvars_cdfdlg.h envvars_common.h
+noinst_HEADERS = envvars.h envvars_cfgdlg.h envvars_common.h
 
 EXTRA_DIST = envvars.cbp envvars-unix.cbp envvars.xrc manifest.xml
 

--- End code ---

Doesn't seem to build OK anyway, though:

--- Code: ---envvars_cfgdlg.cpp:36: error: 'XRCID' was not declared in this scope
--- End code ---

MortenMacFly:
I'm so sorry - I'm blind when it comes to linux. killerbot: Do you have the time to try to fix this? afb is right:
1.) the makefile is incorrect that way
2.) the XRCID issue should be fixed by adding <wx/xrc/xmlres.h> to the *.cpp file...
I don't have linux... sorry for that. :-(
With regards, Morten.

afb:

--- Quote from: MortenMacFly on May 14, 2007, 01:51:22 pm ---I don't have linux... sorry for that. :-(
--- End quote ---

You would get the same problems in MSYS, no ?

MortenMacFly:

--- Quote from: afb on May 14, 2007, 01:59:19 pm ---
--- Quote from: MortenMacFly on May 14, 2007, 01:51:22 pm ---I don't have linux... sorry for that. :-(
--- End quote ---
You would get the same problems in MSYS, no ?

--- End quote ---
...how to do? You mean compile the thing inside the MSYS console? Never tried that (sounds interesting though). If you mean the compiler only - then: No, it surely compiled fine. Otherwise I wouldn't have committed... ;-)
With regards, Morten.

Navigation

[0] Message Index

[#] Next page

Go to full version