User forums > Help

Code won't link using Microsoft Visual C++ 6

<< < (4/5) > >>

JackDriver:
Hi Tim,

I am using the default workspace and created a new console application via the wizard.

Response to build command (project or workspace):

-------------- Build: Debug in hello ---------------

LINK.EXE /nologo /LIBPATH:"C:\Program Files\Microsoft Visual Studio\VC98\Lib" /LIBPATH:"C:\Program Files\Microsoft Visual Studio\VC98\MFC\Lib" /LIBPATH:"C:\Program Files\Microsoft Visual Studio 8\VC\lib"  /out:bin\Debug\hello.exe msvcrtd.lib msvcprtd.lib  obj\Debug\main.obj   /DEBUG
Nothing to be done.

Response to Rebuild command (project or workspace):

-------------- Build: Debug in hello ---------------

CL.EXE /nologo /W3 /EHsc  /Zi /D_DEBUG /MDd  /MDd   /I"C:\Program Files\Microsoft Visual Studio\VC98\Include" /I"C:\Program Files\Microsoft Visual Studio\VC98\Include\SYS" /I"C:\Program Files\Microsoft Visual Studio\VC98\ATL\Include" /I"C:\Program Files\Microsoft Visual Studio\VC98\MFC\Include" /I"C:\Program Files\Microsoft Visual Studio 8\VC\include"  /c main.cpp /Foobj\Debug\main.obj
main.cpp

LINK.EXE /nologo /LIBPATH:"C:\Program Files\Microsoft Visual Studio\VC98\Lib" /LIBPATH:"C:\Program Files\Microsoft Visual Studio\VC98\MFC\Lib" /LIBPATH:"C:\Program Files\Microsoft Visual Studio 8\VC\lib"  /out:bin\Debug\hello.exe msvcrtd.lib msvcprtd.lib  obj\Debug\main.obj   /DEBUG
Nothing to be done.

Response to run command produces the following in the log window:

Checking for existence: C:\tmp\hello\bin\Debug\hello.exe

and a dialog as folows:

It seems that this project has not yet been built yet. Do you want to build it now <YES> <NO> <CANCEL>


1. Responding with YES simply repeats the behaviour.

2. Responding with NO produces the following in the log window:

Executing: "C:\Program Files\CodeBlocks/cb_console_runner.exe" "C:\tmp\hello\bin\Debug\hello.exe"  (in C:\tmp\hello\.)
Process terminated with status -1073741510 (0 minutes, 7 seconds)


3. Responding with CANCEL does nothing as expected.


stahta01:
Found weird bug, when I set MinGW GCC as default compiler "run" does not work.

Please verify that "Microsoft Visual C++ 6" or similar named compiler is the default compiler.
Under "settings" -> "compiler and debugger"
Click "set as Default" with the proper compiler in the "selected compiler" pull-down.

Does the problem go away?

If so, please file a bug report on this.

Tim S

JackDriver:
Hi Tim,

Re-checked that "Microsoft Visual C++ 6" is set as the default compiler and that it is also set and the compiler for the project. I then selected selecetd "GNU GCC Compiler" as the default compiler then switched back to "Microsoft Visual C++ 6" to be default.

No change in behaviour.

Joseph

stahta01:
How did you create the Microsoft Visual C++ 6 entry was it already in Code::Blocks or did you copy one of the other compilers?

My setup was missing the "Microsoft Visual C++ 6 entry" so I copied the "Microsoft Visual C++ Toolkit 2003" entry and changed the info to match.

I am running out of things to suggest testing/checking.

Tim S

JackDriver:
Hi Tim,

I followed the instructions in http://wiki.codeblocks.org/index.php?title=Integrating_Microsoft_Visual_C_6_with_Code::Blocks_IDE
to set up VC6.

Joseph
 

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version