- 0
[Probably Solved][Question] Linking errors on new file
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use
Question
Guest
Hello guys! I am trying to create a new file called Custom.cpp which should contain all custom functions i create. For easier git merging with upstream etc...
But when i declare a function in Player.h and then define it in Custom.cpp with Player::Function() i get LOADS of linker errors, just like this one:
I do not know anything about linker errors, and even if i google they just say i do not link properly, which says nothing to me.
Could someone give me a hint on what to do here? =)
SOLUTION:
I declared my function as virtual in Player.h
Regards
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.