Ive compiled this build before just fine. But i made some changes in video_hardware_surface and i got this error, i undid all my changes, and i still get it. I'm at a loss. Any ideas?
Suddenly, multiple definitions
-
- Posts: 50
- Joined: Sun Oct 13, 2013 7:53 pm
Re: Suddenly, multiple definitions
I'm no expert, but I'm going to try and help out here.. so, I think you could just go to where it says it's first defined and delete it there.. then if you have errors, you could need to include the files where they are newly defined in the ones that were first defined.
So:
1. #include the file where you newly defined it in..
example:
Delete "renderamt" definition in video_hardware_surface. Then at the top of video_hardware_surface use "#include video_hardware_warp" because video_hardware_surface is one where you are having problems.
2. Do that for all of those errors, and compile... This just might work.
I'm newish to QuakeC and Quake engine coding. So somebody correct me if I'm wrong please..
So:
1. #include the file where you newly defined it in..
example:
Delete "renderamt" definition in video_hardware_surface. Then at the top of video_hardware_surface use "#include video_hardware_warp" because video_hardware_surface is one where you are having problems.
2. Do that for all of those errors, and compile... This just might work.
I'm newish to QuakeC and Quake engine coding. So somebody correct me if I'm wrong please..
-
- Posts: 336
- Joined: Thu Nov 12, 2009 4:37 am
Re: Suddenly, multiple definitions
I figured it out. I just needed to do a complete clean build
-
- Posts: 50
- Joined: Sun Oct 13, 2013 7:53 pm
Re: Suddenly, multiple definitions
Heh, whatever works!Ghost_Fang wrote:I figured it out. I just needed to do a complete clean build