| Title: | Microsoft Visual C++ bug reports and kits |
| Notice: | Register in Topic 2. 5.Last for latest Kit |
| Moderator: | DECWET::THOMAS N |
| Created: | Tue May 17 1994 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 521 |
| Total number of notes: | 2938 |
I have installed Developer Studio 5.0 on my NT4 Miata. I am trying
to check out the SDK\ISAPI samples but keep running into a linker
problem:
LIBCd.lib (crt0.obj) error LNK2001: unresolved external symbol main
AlphaDbg/IS2WCGI.exe : fatal LNK1120: 1 unresolved external
I have recreated a new configuration in project, but without success.
I am able to build using nmake from the command prompt by doing
set CPU=ALPHA.
The .mak file generated by Developer Studio has X86 references in it.
Is there a way I can set the CPU type inside Developer Studio ?
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 499.1 | DECWET::JO | Mary had a little lamb, with mint jelly. Dot Warner | Tue Apr 22 1997 13:46 | 19 | |
the following response is from Vadim Paretsky
1. The IS2WCGI sample has a linker option that says
/entry:"_DllMainCRTStartup@12". This decorated name is Intel specific.
When creating an Alpha configuration from an Intel configuration the
IDE doesn't do translation of /entry: linker options into appropriate
Alpha names. That should be done by the user. (To find this option in
the IDE, click Settings on the Project menu. Then click the Link tab,
and click Output in the Category box.). The Alpha name in this case
should be "_DllMainCRTStartup". This should solve the "unresolved
external symbol main" problem.
2. The X86 references in the makefile generated by the developer's
studio apply to Intel configurations only (linker options /machine:IX86
or /machine:I386) . Alpha configurations cloned from Intel
configurations or created from scratch will have /machine:ALPHA. No
action from the IDE is necessary.
| |||||