Hey,
as the title suggests I've run into a little problem lately.
I'm using both a Win10 PC as well as a Laptop running Ubuntu 20.04 to code and I'm transferring the projects between these 2 via git.
Now the problem is that everytime I pull the git-repo and try to open and build the project in codeblocks i get tons of errors (i. e. "undefined reference to main", etc.). This isn't a big problem though because when i cut out all the code from the project, build and paste the code back into codeblocks it works exactly like how it's supposed to.
My question is, is this generally a problem in codeblocks or is it a problem on my end? And if it's the latter is there any known cause (or in turn solution) to this problem?
Please excuse me if this is a dumb question, but as someone who has used codeblocks for less than a week it seems a little weird.
Thanks in advance,
Moritz