hej.h
void hej();
hej.m
void hej(){}
main.mm
#import "hej.h"
int main(int argc, char *argv[])
{
}
This gives me:
"hej()", referenced from:
_main in main.o
symbol(s) not found
If I rename main.mm to main.m (single m), or hej.m to mm or cpp, then it works. (Though none of those "solutions" are preferable. Imagine you want to u...
Xcode build prints this error .
Undefined symbols:
"EGViewportDimensionMake(unsigned int,
unsigned int, unsigned int, unsigned
int)", referenced from:
-[Renderer render] in Renderer.o ld: symbol(s) not found collect2: ld
returned 1 exit status
I cannot figure out what's the problem. I'm not good at classic C syntax....
I'm working on a program that loads sounds from Ogg Vorbis files, but whatever I do, the XCode project just doesn't seem to want to link libvorbisfile.a into my program. I keep getting linking errors:
"_ov_read", referenced from:
GSound::GSound(GWorld*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in GSound...