DarkstarProject / darkstar

DEPRECATED - FFXI Server Emulator - See Project Topaz
https://github.com/project-topaz/topaz
GNU General Public License v3.0
455 stars 551 forks source link

Build error LNK1117: Syntax error in option 'LTCG:incremental' when building on Release Win32 in VS2015 Community #3647

Closed ghost closed 7 years ago

ghost commented 7 years ago

I have:

Client Version (type /ver in game) : n/a

Server Version (type @revision in game) : f00420430f39fcb6b21224070882738b62454e6c

Source Branch (master/stable) : master

Additional Information (Steps to reproduce/Expected behavior) : Unable to build DSSearch, DSGame or DSConnect servers on VS2015 Community from a fresh clone, completely untouched. Results in error LNK1117: Syntax error in option 'LTCG:incremental'.

ghost commented 7 years ago

To fix:

Not sure what caused this specific error but it seemed to be specific to me. My Windows 10 is set to use Japanese (Japan) locale for non-unicode programs, so I speculate it's probably something to do with this.

demo made me post this issue. he threatened me with kpop

teschnei commented 7 years ago

It's already on LTCG by default, and there isn't an option for "fast link time code generation" (and I can't even find anything on msdn about it). I don't think there's anything we can do about it, since it seems to be specific to your installation.

takhlaq commented 7 years ago

https://msdn.microsoft.com/en-us/library/xbf3tbeh.aspx?f=255&MSPPError=-2147217396 first thing listed is INCREMENTAL

teschnei commented 7 years ago

msdn defaulted to VS2010, durr

teschnei commented 7 years ago

our vcxproj already specifies LCTG, actually (WholeProgramOptimization tag). I don't think we can do anything about this, and it's something VS is doing

takhlaq commented 7 years ago

yeah, had him make the issue in case anyone else gets it in future (not that anyone ever searches before asking)

ghost commented 7 years ago

https://www.diffchecker.com/FyDTQTDh DSSearch-server.vcxproj before and after the setting is changed in VS2015 (before is taken from yet another fresh clone) Can one of you guys confirm the difference? If I submit a PR with the option changed by default it'll mean the issue won't exist if anyone else happens to be running with the same setup I'm on (though I literally haven't changed a thing in my VS2015 settings, I even reset the settings midway through trying to figure out the problem lol)

takhlaq commented 7 years ago

yeah sure @teschnei will look at it

teschnei commented 7 years ago

do a pull request, i'll switch to it and see what my VS does

On Sun, Jan 15, 2017 at 2:01 PM, Tahir Akhlaq notifications@github.com wrote:

yeah sure @teschnei https://github.com/teschnei will look at it

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DarkstarProject/darkstar/issues/3647#issuecomment-272723480, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGI_x0GXsByxTic5m_CtLmZoc2tuLEFks5rSokvgaJpZM4LkBNZ .