Linker error w HelloWorld project. What gives?
So, first time with Mono & the toolchain (Mac OS X), and although everything seems to have installed OK, etc., when I try to link my hello world (unmodified), I get:
$ make Linking hallowelt.elf build/mono_default_main.o: In function `AppController::~AppController()': /Users/me/Projects/hallowelt/./app_controller.h:17: undefined reference to `vtable for AppController' build/mono_default_main.o: In function `main': /usr/local/openmono/mono_default_main.cpp:19: undefined reference to `AppController::AppController()' collect2: error: ld returned 1 exit status make: *** [hallowelt.elf] Error 1
I"m lost; shouldn't the default code magically compile without effort? Thoughts?
It seems you can fix the problem by inserting the line
OBJECTS = $(patsubst %.cpp,%.o,$(wildcard *.cpp))
into the generated
Makefilebefore the line
There also seems to be some problems with the v1.1 of the framework installer and
Sorry about that, we will fix it as fast as possible.
Hurrah! That did it. Need anything else from me to help fix this internally?
Need anything else from me to help fix this internally?
If you ask if you can help our development, then yes of course. We would love any help we can get. Else, if you mean if you should do more to resolve the issue - then you just need to reinstall.