The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 11, 2024, 04:09:25 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  error C2375: 'vsnprintf' : redefinition; different linkage
« previous next »
Pages: [1] Print
Author Topic: error C2375: 'vsnprintf' : redefinition; different linkage  (Read 7094 times)
dczanik
*Smell* controller
****
Offline Offline

Posts: 306



View Profile WWW
error C2375: 'vsnprintf' : redefinition; different linkage
« on: November 19, 2010, 09:49:24 am »

While attempting to compile the  latest snapshot (uqm-svn-03551-20100711.0400) I run into some errors.   I get a bunch of C2375 errors.

stdio.h(333) : error C2375: 'vsnprintf' : redefinition; different linkage c:\uqm-svn-03549-20100702.2000\src\port.h(165) : see declaration of 'vsnprintf'

Any ideas? Google hasn't helped me solve the issue, and neither has it helped me to understand what the error message is really saying.  Undecided   Any help would be greatly appreciated Smiley


Logged

- Damon
Ur-Quan Masters HD Project leader/artist. Project 6014 Artist.  Like my art? Please check out some of my other artwork
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: error C2375: 'vsnprintf' : redefinition; different linkage
« Reply #1 on: November 19, 2010, 03:15:50 pm »

Looks like one of these. Basically, port.h in UQM and stdio.h are defining different versions of vsnprintf. As a workaround, try removing the definition of vsnprintf in port.h.

I found a similar thread.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
dczanik
*Smell* controller
****
Offline Offline

Posts: 306



View Profile WWW
Re: error C2375: 'vsnprintf' : redefinition; different linkage
« Reply #2 on: November 24, 2010, 07:16:25 am »

Just wanted to update. Thanks Novus that worked.  None of the previous suggestions in the threads worked.

I've got my Urquan Masters HD game running the latest code at 2 and 4 times the original graphics.  Most of the graphics are tiny since I haven't changed them just yet, but what I've done so far is looking really sweet. Seeing it at 1280x960 (without resizing filters) is really neat. Maybe one day a programmer will join my team and help with getting the thing to run in fullscreen widescreen graphics. Again, thanks a lot!
Logged

- Damon
Ur-Quan Masters HD Project leader/artist. Project 6014 Artist.  Like my art? Please check out some of my other artwork
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!