Cannot build r2007 DSGameserver

Forum rules
NO LONGER BEING MAINTAINED!
Post Reply
biboy
Posts: 42
Joined: Thu Oct 04, 2012 2:08 pm

Cannot build r2007 DSGameserver

Post by biboy » Tue Nov 06, 2012 4:37 pm

hello, I've tried building r2007 several times and it fails the build.

Output says:

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\My Files\2007\win32\DSGame-server\Release\DSGame-server.exe) does not match the Linker's OutputFile property value (C:\My Files\2007\DSGame-server.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>packet_system.obj : error LNK2005: "unsigned char * PacketSize" (?PacketSize@@3PAEA) already defined in map.obj
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>..\..\DSGame-server.exe : fatal error LNK1169: one or more multiply defined symbols found
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:37.85
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


I'll try the r2006 right now and see if that works.
r2004 works great, but still, Gobbie bag quest in Jeuno can expand to inventory = 80 but does not save it. When you log out of the game and relog, inventory defaults back to inventory = 30 but quest was finished and cannot be repeated.

Thank you Team for all your hard work,

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: Cannot build r2007 DSGameserver

Post by whasf » Tue Nov 06, 2012 5:52 pm

Do a clean and rebuild, looks like you have stale object code
-- Whasf

biboy
Posts: 42
Joined: Thu Oct 04, 2012 2:08 pm

Re: Cannot build r2007 DSGameserver

Post by biboy » Tue Nov 06, 2012 6:10 pm

I did actually, just to be safe. I dropped the old database to start, then I made a new folder and checked fresh svn 2007 then execute all the sql from sql folder, then build. I don't know why, I did this 2 times and it has that "FATAL" error so I just built r2006 instead, I still got the LIBCMT conflict but it finished successfully. I keep checking to see if there's an r2008 so I can try that, but it isn't up yet.
Thanks for the response, I appreciate it.

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: Cannot build r2007 DSGameserver

Post by whasf » Tue Nov 06, 2012 7:23 pm

Fixed in r2008, it'll probably be fixed correctly once Dia sees it :)
-- Whasf

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: Cannot build r2007 DSGameserver

Post by whasf » Tue Nov 06, 2012 7:25 pm

Make that r2009, it helps to have both files :)
-- Whasf

biboy
Posts: 42
Joined: Thu Oct 04, 2012 2:08 pm

Re: Cannot build r2007 DSGameserver

Post by biboy » Tue Nov 06, 2012 7:31 pm

Thank you for the response again. I'll try the 2009 after dinner.

Post Reply