मैं अपने कार्यक्रम में निम्न त्रुटि हो रही है कर रहे हैं:त्रुटि D8016: '/ जि' और '/ CLR' कमांड लाइन विकल्प असंगत
error D8016: '/ZI' and '/clr' command-line options are incompatible
यह तब होता है जब मैं निम्नलिखित लाइनों रख दिया और आम क्रम सक्षम में जनरल configuration->
#using <system.drawing.dll>
using namespace System;
using namespace System::Drawing;
असल में मैं अपने कोड में कुछ खिड़कियों पुस्तकालय है कि इसके बाद के संस्करण की आवश्यकता है dll का उपयोग किया जाएगा (अगर मैं यह तो सक्षम न त्रुटि प्रणाली और सिस्टम :: आहरण का उपयोग करने में आ जाएगा)।
इस समस्या को हल करने के लिए कैसे करें?
#include "opencv2/highgui/highgui.hpp"
#include <opencv2/imgproc/imgproc_c.h>
#include "opencv2/highgui/highgui.hpp"
#include <iostream>
#include <ctype.h>
#using <system.drawing.dll>
using namespace System;
using namespace System::Drawing;
using namespace std;
int main(int argc, char** argv)
{
IplImage *source = cvLoadImage("Image.bmp");
// Here we retrieve a percentage value to a integer
int percent =20;
// declare a destination IplImage object with correct size, depth and channels
IplImage *destination = cvCreateImage
(cvSize((int)((source->width*percent)/100) , (int)((source->height*percent)/100)),
source->depth, source->nChannels);
//use cvResize to resize source to a destination image
cvResize(source, destination);
// save image with a name supplied with a second argument
cvShowImage("new:",destination);
cvWaitKey(0);
return 0;
}
तो '/ ZI' विकल्प हटाने के लिए। यह केवल डीबग जानकारी है। – arx