Page 1 of 1

Visual C++ default settings

Posted: Tue Mar 24, 2009 10:59 am
by wilfrid
Hello,

I installed devkitARM and was trying to code on nds, using VC++ as an IDE.
Today I want to create a simple win32 console application, but I cannot find how to restore the original VC++ settings.

When trying to compile, i get:

Code: Select all

1>------ Build started: Project: myProject, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Linking...
1>link.exe: extra operand `/ERRORREPORT:PROMPT'
1>Try `link.exe --help' for more information.
1>Project : error PRJ0002 : Error result 1 returned from 'C:\DEV\devkitPro\msys\bin\link.exe'.
1>Build log was saved at "file://c:\DEV\C++\myProject\virtualDestructor\Debug\BuildLog.htm"
1>virtualDestructor - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Can somebody be kind enough to tell me how to restore the default settings ?
Thanks a lot !

Re: Visual C++ default settings

Posted: Wed Mar 25, 2009 9:09 am
by WinterMute
The VC++ default settings haven't changed, what's happening is that the tools in devkitPro\msys\bin are first in the path so link.exe is being picked up from there instead of the link.exe that VC++ intends to use. The file in question doesn't seem to be critical to devkitARM operation so I'd suggest deleting or renaming link.exe in the msys bin folder. Everything should work fine then.