Jump to content
  • 0
MyKiel02

Compiling Problem

Question

Hi,

 

I've been searching for solutions for my problem for weeks already, but unfortunately, luck's not on my side.

 

So, my problem is that when I'm trying to compile my server, I get these errors (please see below screenshot)

 

post-1763-0-33518200-1458324830_thumb.png

 

 

If anyone here knows the solution, please please please help me because it has been buggin' me for weeks already!

 

Thank you so so so much in advance!

 

Note: I'm using VS2012 running on Windows 10 64bit.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

There seems to be something very wrong with your Visual Studio setup. In the log it mentions running "Microsoft ® 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86". That doesn't belong to VS2012, but is much, much older. cl version 12 was shipped with Visual Studio 6 (18 years ago).

I suggest uninstalling visual studio, finding and deleting any leftovers from very old versions, and reinstalling it.

 

Edit: some reference from other people who had the same problem on MSDN:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/e98908c0-002c-4d74-a0d6-e5cb2eb732d2/cannot-compile-defualt-console-application-on-fresh-installs-of-vs2012-or-vs2010?forum=vcgeneral

https://social.msdn.microsoft.com/Forums/vstudio/en-US/829bf89b-8693-409e-9907-d5debef42a9f/link-fatal-error-lnk1181-cannot-open-input-file-obj?forum=vcgeneral

Share this post


Link to post
Share on other sites
  • 0
  On 3/18/2016 at 6:46 PM, Dastgir said:

Corrupted project?

Clean the project first?

@@Haru

 

Hello! Thank you for the reply! I've done that many times but the issue still persist. Also, I've downloaded new server files from the repository using TortoiseGit (please see below screenshot), tried to compile it but I'm still encountering the errors.

 

post-1763-0-47844100-1458329640_thumb.png

Edited by MyKiel02

Share this post


Link to post
Share on other sites
  • 0

Umm, never seen anything like that o.o I'm not familiar with TortoiseGit, but it should work like any other git client...

 

Could you show the full content of the build output pane after a clean and rebuild? (the tab next to the one you screenshotted - I don't remember the exact name, and I don't have a windows PC nearby to check)

Share this post


Link to post
Share on other sites
  • 0
  On 3/18/2016 at 10:40 PM, Haru said:

Umm, never seen anything like that o.o I'm not familiar with TortoiseGit, but it should work like any other git client...

 

Could you show the full content of the build output pane after a clean and rebuild? (the tab next to the one you screenshotted - I don't remember the exact name, and I don't have a windows PC nearby to check)

 

Hi @@Haru,

 

Kindly see below. Thank you!

 

Clean:

 

  Reveal hidden contents

 

 

Rebuild:

 

  Reveal hidden contents

 

 

I have tried searching for a solution for warning D4024 and error LNK1181 on google, but still, nothing fixes the issue.

 

Thank you

Edited by MyKiel02

Share this post


Link to post
Share on other sites
  • 0
  On 3/19/2016 at 2:08 PM, Haru said:

There seems to be something very wrong with your Visual Studio setup. In the log it mentions running "Microsoft ® 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86". That doesn't belong to VS2012, but is much, much older. cl version 12 was shipped with Visual Studio 6 (18 years ago).

I suggest uninstalling visual studio, finding and deleting any leftovers from very old versions, and reinstalling it.

 

Edit: some reference from other people who had the same problem on MSDN:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/e98908c0-002c-4d74-a0d6-e5cb2eb732d2/cannot-compile-defualt-console-application-on-fresh-installs-of-vs2012-or-vs2010?forum=vcgeneral

https://social.msdn.microsoft.com/Forums/vstudio/en-US/829bf89b-8693-409e-9907-d5debef42a9f/link-fatal-error-lnk1181-cannot-open-input-file-obj?forum=vcgeneral

 

Thank you, @@Haru! I'll try that as soon as I get home! I'll keep you posted!

Share this post


Link to post
Share on other sites
  • 0
  On 3/19/2016 at 7:05 PM, MyKiel02 said:

 

 

  Reveal hidden contents

 

  On 3/19/2016 at 2:08 PM, Haru said:

There seems to be something very wrong with your Visual Studio setup. In the log it mentions running "Microsoft ® 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86". That doesn't belong to VS2012, but is much, much older. cl version 12 was shipped with Visual Studio 6 (18 years ago).

I suggest uninstalling visual studio, finding and deleting any leftovers from very old versions, and reinstalling it.

 

Edit: some reference from other people who had the same problem on MSDN:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/e98908c0-002c-4d74-a0d6-e5cb2eb732d2/cannot-compile-defualt-console-application-on-fresh-installs-of-vs2012-or-vs2010?forum=vcgeneral

https://social.msdn.microsoft.com/Forums/vstudio/en-US/829bf89b-8693-409e-9907-d5debef42a9f/link-fatal-error-lnk1181-cannot-open-input-file-obj?forum=vcgeneral

 

Thank you, @@Haru! I'll try that as soon as I get home! I'll keep you posted!

 

Hi @@Haru!

 

Good day!

 

My issue is now resolved.

 

I just deleted cl.exe from C:\Windows\SysWOW64 . Thank you for your help and patience!

Edited by MyKiel02

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.