need help
#include "vg.h" // Required for the standard Vega classes
#include "pf.h" // Required for the standard Performer classes
void
cycleNextpfSwitch( pfSwitch *swNode ){
// #######################################################
// #
// # Public function
// #
// # Cycle through the passed pfSwitch's children or the
// # Multigen creator masks settings
// #
// ########################################################
//
// Sanity check we need a pointer
//
if( swNode == NULL )
return;
//
// Get the current child node or switch mask index
//
int value = pfGetSwitchVal( swNode );
//
// Calculate the next child node or switch mask index to display
//
int vchld = ((value >= pfGetNumChildren(swNode)-1) || (value < 0)) ? 0 : value+1;
//
// Display the next child node or switch mask
//
pfSwitchVal( swNode, vchld );
} // cycleNextpfSwitch
--------------------Configuration: 1 - Win32 Debug--------------------
Compiling...
1.c
Will automatically link with psVgD.lib
c:\documents and settings\dzjs\桌面\1\jlu.h(27) : fatal error C1189: #error : you must define the /MD or /MDd compiler flag. On the Visual C++ compiler this is the "Multithreaded DLL" or "Debug Multithreaded DLL" run-time library option.
Error executing cl.exe.
1.exe - 1 error(s), 0 warning(s)
我在vc->project->setting->c/c++面板中,category选择Code Generation,然后在Use run-time library中选择带Multithreaded的选项
Compiling...
1.c
Will automatically link with psVgD.lib
c:\documents and settings\dzjs\桌面\1\jlu.h(27) : fatal error C1189: #error : you must define the /MD or /MDd compiler flag. On the Visual C++ compiler this is the "Multithreaded DLL" or "Debug Multithreaded DLL" run-time library option.
Error executing cl.exe.
1.exe - 1 error(s), 0 warning(s)
还通不过,为甚,请制教
问题点数:20、回复次数:2Top
1 楼xiaocai0001(高楼目尽欲黄昏/梧桐叶上萧萧雨)回复于 2006-03-04 18:42:14 得分 0
有必要把代码弄得那么散散拉拉的么?Top
2 楼ugg(逸学堂(exuetang.net))回复于 2006-03-04 21:54:47 得分 0
On the Visual C++ compiler this is the "Multithreaded DLL" or "Debug Multithreaded DLL" run-time library option
~~~~~~~
开启RTTI
我在vc->project->setting->c/c++->语言,启动运行时刻识别
Top




