Hello
I'm trying to learn the gnustep make file system in osx.
I want to mix obj-c and c++ code, I found some posts in the list and suppose
it's possible,
but the problem is that make don't compiles the c++ files (?)
Any help or appointment to a tutorial is appreciated,
I read the manual but ins't a tutorial and I can't find one that covers the
system beyond the very basic.
this are the makefile and the terminal output
# GNUmakefile
include $(GNUSTEP_MAKEFILES)/common.make
APP_NAME = PanelTest
PanelTest_OBJCC_FILES = source.mm
PenelTest_CC_FILES = testMake.cc
include $(GNUSTEP_MAKEFILES)/application.make
# end of GNUmakefile
terminal output:
This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help.
Making all for app PanelTest...
Compiling file source.mm ...
Linking app PanelTest ...
Undefined symbols:
"Simple::Simple(int)", referenced from:
_main in source.mm.o
"Simple::getNumero()", referenced from:
_main in source.mm.o
_main in source.mm.o
"Simple::setNumero(int)", referenced from:
_main in source.mm.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [PanelTest.app/Contents/MacOS/PanelTest] Error 1
make[2]: *** [internal-app-run-compile-submake] Error 2
make[1]: *** [PanelTest.all.app.variables] Error 2
make: *** [internal-all] Error 2
Thanks
Lucas
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep