Set the EOL-style to native for most files using svn propset command. Some files also had inconsistent line endings. Seems that subversion doesn't set the eol-style automatically when files are created unless it is configured for autoprops. The autoprops setting is local to the subversion installation and not the project.
This commit is contained in:
@@ -1,232 +1,232 @@
|
||||
<html>
|
||||
<body>
|
||||
<pre>
|
||||
<h1>Build Log</h1>
|
||||
<h3>
|
||||
--------------------Configuration: bacnet - Win32 Debug--------------------
|
||||
</h3>
|
||||
<h3>Command Lines</h3>
|
||||
Creating temporary file "C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP632.tmp" with contents
|
||||
[
|
||||
/nologo /MLd /W3 /Gm /GX /ZI /Od /I "..\..\.." /I ".." /I "..\..\..\demo\object\\" /I "..\..\..\demo\handler\\" /D "_DEBUG" /D BACDL_BIP=1 /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TSM_ENABLED=1 /D PRINT_ENABLED=1 /D BIG_ENDIAN=0 /D USE_INADDR=0 /FR"Debug/" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
|
||||
"C:\code\bacnet-stack\abort.c"
|
||||
"C:\code\bacnet-stack\address.c"
|
||||
"C:\code\bacnet-stack\demo\object\ai.c"
|
||||
"C:\code\bacnet-stack\demo\object\ao.c"
|
||||
"C:\code\bacnet-stack\apdu.c"
|
||||
"C:\code\bacnet-stack\arf.c"
|
||||
"C:\code\bacnet-stack\demo\object\av.c"
|
||||
"C:\code\bacnet-stack\bacapp.c"
|
||||
"C:\code\bacnet-stack\bacdcode.c"
|
||||
"C:\code\bacnet-stack\bacerror.c"
|
||||
"C:\code\bacnet-stack\demo\object\bacfile.c"
|
||||
"C:\code\bacnet-stack\bacstr.c"
|
||||
"C:\code\bacnet-stack\bactext.c"
|
||||
"C:\code\bacnet-stack\demo\object\bi.c"
|
||||
"C:\code\bacnet-stack\bigend.c"
|
||||
"C:\code\bacnet-stack\ports\win32\bip-init.c"
|
||||
"C:\code\bacnet-stack\bip.c"
|
||||
"C:\code\bacnet-stack\demo\object\bo.c"
|
||||
"C:\code\bacnet-stack\demo\object\bv.c"
|
||||
"C:\code\bacnet-stack\crc.c"
|
||||
"C:\code\bacnet-stack\datetime.c"
|
||||
"C:\code\bacnet-stack\dcc.c"
|
||||
"C:\code\bacnet-stack\demo\object\device.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_arf.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_arf_a.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_iam.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_rp.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_rp_a.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_whois.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_wp.c"
|
||||
"C:\code\bacnet-stack\iam.c"
|
||||
"C:\code\bacnet-stack\indtext.c"
|
||||
"C:\code\bacnet-stack\demo\object\lc.c"
|
||||
"C:\code\bacnet-stack\demo\object\lsp.c"
|
||||
"C:\code\bacnet-stack\ports\win32\main.c"
|
||||
"C:\code\bacnet-stack\demo\object\mso.c"
|
||||
"C:\code\bacnet-stack\demo\handler\noserv.c"
|
||||
"C:\code\bacnet-stack\npdu.c"
|
||||
"C:\code\bacnet-stack\reject.c"
|
||||
"C:\code\bacnet-stack\ringbuf.c"
|
||||
"C:\code\bacnet-stack\rp.c"
|
||||
"C:\code\bacnet-stack\demo\handler\s_rp.c"
|
||||
"C:\code\bacnet-stack\demo\handler\s_whois.c"
|
||||
"C:\code\bacnet-stack\demo\handler\s_wp.c"
|
||||
"C:\code\bacnet-stack\tsm.c"
|
||||
"C:\code\bacnet-stack\demo\handler\txbuf.c"
|
||||
"C:\code\bacnet-stack\whois.c"
|
||||
"C:\code\bacnet-stack\wp.c"
|
||||
]
|
||||
Creating command line "cl.exe @C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP632.tmp"
|
||||
Creating temporary file "C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP633.tmp" with contents
|
||||
[
|
||||
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/bacnet.pdb" /debug /machine:I386 /out:"Debug/bacnet.exe" /pdbtype:sept
|
||||
".\Debug\abort.obj"
|
||||
".\Debug\address.obj"
|
||||
".\Debug\ai.obj"
|
||||
".\Debug\ao.obj"
|
||||
".\Debug\apdu.obj"
|
||||
".\Debug\arf.obj"
|
||||
".\Debug\av.obj"
|
||||
".\Debug\bacapp.obj"
|
||||
".\Debug\bacdcode.obj"
|
||||
".\Debug\bacerror.obj"
|
||||
".\Debug\bacfile.obj"
|
||||
".\Debug\bacstr.obj"
|
||||
".\Debug\bactext.obj"
|
||||
".\Debug\bi.obj"
|
||||
".\Debug\bigend.obj"
|
||||
".\Debug\bip-init.obj"
|
||||
".\Debug\bip.obj"
|
||||
".\Debug\bo.obj"
|
||||
".\Debug\bv.obj"
|
||||
".\Debug\crc.obj"
|
||||
".\Debug\datetime.obj"
|
||||
".\Debug\dcc.obj"
|
||||
".\Debug\device.obj"
|
||||
".\Debug\h_arf.obj"
|
||||
".\Debug\h_arf_a.obj"
|
||||
".\Debug\h_iam.obj"
|
||||
".\Debug\h_rp.obj"
|
||||
".\Debug\h_rp_a.obj"
|
||||
".\Debug\h_whois.obj"
|
||||
".\Debug\h_wp.obj"
|
||||
".\Debug\iam.obj"
|
||||
".\Debug\indtext.obj"
|
||||
".\Debug\lc.obj"
|
||||
".\Debug\lsp.obj"
|
||||
".\Debug\main.obj"
|
||||
".\Debug\mso.obj"
|
||||
".\Debug\noserv.obj"
|
||||
".\Debug\npdu.obj"
|
||||
".\Debug\reject.obj"
|
||||
".\Debug\ringbuf.obj"
|
||||
".\Debug\rp.obj"
|
||||
".\Debug\s_rp.obj"
|
||||
".\Debug\s_whois.obj"
|
||||
".\Debug\s_wp.obj"
|
||||
".\Debug\tsm.obj"
|
||||
".\Debug\txbuf.obj"
|
||||
".\Debug\whois.obj"
|
||||
".\Debug\wp.obj"
|
||||
]
|
||||
Creating command line "link.exe @C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP633.tmp"
|
||||
<h3>Output Window</h3>
|
||||
Compiling...
|
||||
abort.c
|
||||
address.c
|
||||
ai.c
|
||||
ao.c
|
||||
apdu.c
|
||||
arf.c
|
||||
av.c
|
||||
bacapp.c
|
||||
bacdcode.c
|
||||
bacerror.c
|
||||
bacfile.c
|
||||
bacstr.c
|
||||
bactext.c
|
||||
bi.c
|
||||
bigend.c
|
||||
bip-init.c
|
||||
bip.c
|
||||
bo.c
|
||||
bv.c
|
||||
crc.c
|
||||
Generating Code...
|
||||
Compiling...
|
||||
datetime.c
|
||||
dcc.c
|
||||
device.c
|
||||
h_arf.c
|
||||
h_arf_a.c
|
||||
h_iam.c
|
||||
h_rp.c
|
||||
h_rp_a.c
|
||||
h_whois.c
|
||||
h_wp.c
|
||||
iam.c
|
||||
indtext.c
|
||||
lc.c
|
||||
lsp.c
|
||||
main.c
|
||||
mso.c
|
||||
noserv.c
|
||||
npdu.c
|
||||
reject.c
|
||||
ringbuf.c
|
||||
Generating Code...
|
||||
Compiling...
|
||||
rp.c
|
||||
s_rp.c
|
||||
s_whois.c
|
||||
s_wp.c
|
||||
tsm.c
|
||||
txbuf.c
|
||||
whois.c
|
||||
wp.c
|
||||
Generating Code...
|
||||
Linking...
|
||||
Creating temporary file "C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP635.tmp" with contents
|
||||
[
|
||||
/nologo /o"Debug/bacnet.bsc"
|
||||
".\Debug\abort.sbr"
|
||||
".\Debug\address.sbr"
|
||||
".\Debug\ai.sbr"
|
||||
".\Debug\ao.sbr"
|
||||
".\Debug\apdu.sbr"
|
||||
".\Debug\arf.sbr"
|
||||
".\Debug\av.sbr"
|
||||
".\Debug\bacapp.sbr"
|
||||
".\Debug\bacdcode.sbr"
|
||||
".\Debug\bacerror.sbr"
|
||||
".\Debug\bacfile.sbr"
|
||||
".\Debug\bacstr.sbr"
|
||||
".\Debug\bactext.sbr"
|
||||
".\Debug\bi.sbr"
|
||||
".\Debug\bigend.sbr"
|
||||
".\Debug\bip-init.sbr"
|
||||
".\Debug\bip.sbr"
|
||||
".\Debug\bo.sbr"
|
||||
".\Debug\bv.sbr"
|
||||
".\Debug\crc.sbr"
|
||||
".\Debug\datetime.sbr"
|
||||
".\Debug\dcc.sbr"
|
||||
".\Debug\device.sbr"
|
||||
".\Debug\h_arf.sbr"
|
||||
".\Debug\h_arf_a.sbr"
|
||||
".\Debug\h_iam.sbr"
|
||||
".\Debug\h_rp.sbr"
|
||||
".\Debug\h_rp_a.sbr"
|
||||
".\Debug\h_whois.sbr"
|
||||
".\Debug\h_wp.sbr"
|
||||
".\Debug\iam.sbr"
|
||||
".\Debug\indtext.sbr"
|
||||
".\Debug\lc.sbr"
|
||||
".\Debug\lsp.sbr"
|
||||
".\Debug\main.sbr"
|
||||
".\Debug\mso.sbr"
|
||||
".\Debug\noserv.sbr"
|
||||
".\Debug\npdu.sbr"
|
||||
".\Debug\reject.sbr"
|
||||
".\Debug\ringbuf.sbr"
|
||||
".\Debug\rp.sbr"
|
||||
".\Debug\s_rp.sbr"
|
||||
".\Debug\s_whois.sbr"
|
||||
".\Debug\s_wp.sbr"
|
||||
".\Debug\tsm.sbr"
|
||||
".\Debug\txbuf.sbr"
|
||||
".\Debug\whois.sbr"
|
||||
".\Debug\wp.sbr"]
|
||||
Creating command line "bscmake.exe @C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP635.tmp"
|
||||
Creating browse info file...
|
||||
<h3>Output Window</h3>
|
||||
|
||||
|
||||
|
||||
<h3>Results</h3>
|
||||
bacnet.exe - 0 error(s), 0 warning(s)
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
<html>
|
||||
<body>
|
||||
<pre>
|
||||
<h1>Build Log</h1>
|
||||
<h3>
|
||||
--------------------Configuration: bacnet - Win32 Debug--------------------
|
||||
</h3>
|
||||
<h3>Command Lines</h3>
|
||||
Creating temporary file "C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP632.tmp" with contents
|
||||
[
|
||||
/nologo /MLd /W3 /Gm /GX /ZI /Od /I "..\..\.." /I ".." /I "..\..\..\demo\object\\" /I "..\..\..\demo\handler\\" /D "_DEBUG" /D BACDL_BIP=1 /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TSM_ENABLED=1 /D PRINT_ENABLED=1 /D BIG_ENDIAN=0 /D USE_INADDR=0 /FR"Debug/" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
|
||||
"C:\code\bacnet-stack\abort.c"
|
||||
"C:\code\bacnet-stack\address.c"
|
||||
"C:\code\bacnet-stack\demo\object\ai.c"
|
||||
"C:\code\bacnet-stack\demo\object\ao.c"
|
||||
"C:\code\bacnet-stack\apdu.c"
|
||||
"C:\code\bacnet-stack\arf.c"
|
||||
"C:\code\bacnet-stack\demo\object\av.c"
|
||||
"C:\code\bacnet-stack\bacapp.c"
|
||||
"C:\code\bacnet-stack\bacdcode.c"
|
||||
"C:\code\bacnet-stack\bacerror.c"
|
||||
"C:\code\bacnet-stack\demo\object\bacfile.c"
|
||||
"C:\code\bacnet-stack\bacstr.c"
|
||||
"C:\code\bacnet-stack\bactext.c"
|
||||
"C:\code\bacnet-stack\demo\object\bi.c"
|
||||
"C:\code\bacnet-stack\bigend.c"
|
||||
"C:\code\bacnet-stack\ports\win32\bip-init.c"
|
||||
"C:\code\bacnet-stack\bip.c"
|
||||
"C:\code\bacnet-stack\demo\object\bo.c"
|
||||
"C:\code\bacnet-stack\demo\object\bv.c"
|
||||
"C:\code\bacnet-stack\crc.c"
|
||||
"C:\code\bacnet-stack\datetime.c"
|
||||
"C:\code\bacnet-stack\dcc.c"
|
||||
"C:\code\bacnet-stack\demo\object\device.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_arf.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_arf_a.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_iam.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_rp.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_rp_a.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_whois.c"
|
||||
"C:\code\bacnet-stack\demo\handler\h_wp.c"
|
||||
"C:\code\bacnet-stack\iam.c"
|
||||
"C:\code\bacnet-stack\indtext.c"
|
||||
"C:\code\bacnet-stack\demo\object\lc.c"
|
||||
"C:\code\bacnet-stack\demo\object\lsp.c"
|
||||
"C:\code\bacnet-stack\ports\win32\main.c"
|
||||
"C:\code\bacnet-stack\demo\object\mso.c"
|
||||
"C:\code\bacnet-stack\demo\handler\noserv.c"
|
||||
"C:\code\bacnet-stack\npdu.c"
|
||||
"C:\code\bacnet-stack\reject.c"
|
||||
"C:\code\bacnet-stack\ringbuf.c"
|
||||
"C:\code\bacnet-stack\rp.c"
|
||||
"C:\code\bacnet-stack\demo\handler\s_rp.c"
|
||||
"C:\code\bacnet-stack\demo\handler\s_whois.c"
|
||||
"C:\code\bacnet-stack\demo\handler\s_wp.c"
|
||||
"C:\code\bacnet-stack\tsm.c"
|
||||
"C:\code\bacnet-stack\demo\handler\txbuf.c"
|
||||
"C:\code\bacnet-stack\whois.c"
|
||||
"C:\code\bacnet-stack\wp.c"
|
||||
]
|
||||
Creating command line "cl.exe @C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP632.tmp"
|
||||
Creating temporary file "C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP633.tmp" with contents
|
||||
[
|
||||
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/bacnet.pdb" /debug /machine:I386 /out:"Debug/bacnet.exe" /pdbtype:sept
|
||||
".\Debug\abort.obj"
|
||||
".\Debug\address.obj"
|
||||
".\Debug\ai.obj"
|
||||
".\Debug\ao.obj"
|
||||
".\Debug\apdu.obj"
|
||||
".\Debug\arf.obj"
|
||||
".\Debug\av.obj"
|
||||
".\Debug\bacapp.obj"
|
||||
".\Debug\bacdcode.obj"
|
||||
".\Debug\bacerror.obj"
|
||||
".\Debug\bacfile.obj"
|
||||
".\Debug\bacstr.obj"
|
||||
".\Debug\bactext.obj"
|
||||
".\Debug\bi.obj"
|
||||
".\Debug\bigend.obj"
|
||||
".\Debug\bip-init.obj"
|
||||
".\Debug\bip.obj"
|
||||
".\Debug\bo.obj"
|
||||
".\Debug\bv.obj"
|
||||
".\Debug\crc.obj"
|
||||
".\Debug\datetime.obj"
|
||||
".\Debug\dcc.obj"
|
||||
".\Debug\device.obj"
|
||||
".\Debug\h_arf.obj"
|
||||
".\Debug\h_arf_a.obj"
|
||||
".\Debug\h_iam.obj"
|
||||
".\Debug\h_rp.obj"
|
||||
".\Debug\h_rp_a.obj"
|
||||
".\Debug\h_whois.obj"
|
||||
".\Debug\h_wp.obj"
|
||||
".\Debug\iam.obj"
|
||||
".\Debug\indtext.obj"
|
||||
".\Debug\lc.obj"
|
||||
".\Debug\lsp.obj"
|
||||
".\Debug\main.obj"
|
||||
".\Debug\mso.obj"
|
||||
".\Debug\noserv.obj"
|
||||
".\Debug\npdu.obj"
|
||||
".\Debug\reject.obj"
|
||||
".\Debug\ringbuf.obj"
|
||||
".\Debug\rp.obj"
|
||||
".\Debug\s_rp.obj"
|
||||
".\Debug\s_whois.obj"
|
||||
".\Debug\s_wp.obj"
|
||||
".\Debug\tsm.obj"
|
||||
".\Debug\txbuf.obj"
|
||||
".\Debug\whois.obj"
|
||||
".\Debug\wp.obj"
|
||||
]
|
||||
Creating command line "link.exe @C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP633.tmp"
|
||||
<h3>Output Window</h3>
|
||||
Compiling...
|
||||
abort.c
|
||||
address.c
|
||||
ai.c
|
||||
ao.c
|
||||
apdu.c
|
||||
arf.c
|
||||
av.c
|
||||
bacapp.c
|
||||
bacdcode.c
|
||||
bacerror.c
|
||||
bacfile.c
|
||||
bacstr.c
|
||||
bactext.c
|
||||
bi.c
|
||||
bigend.c
|
||||
bip-init.c
|
||||
bip.c
|
||||
bo.c
|
||||
bv.c
|
||||
crc.c
|
||||
Generating Code...
|
||||
Compiling...
|
||||
datetime.c
|
||||
dcc.c
|
||||
device.c
|
||||
h_arf.c
|
||||
h_arf_a.c
|
||||
h_iam.c
|
||||
h_rp.c
|
||||
h_rp_a.c
|
||||
h_whois.c
|
||||
h_wp.c
|
||||
iam.c
|
||||
indtext.c
|
||||
lc.c
|
||||
lsp.c
|
||||
main.c
|
||||
mso.c
|
||||
noserv.c
|
||||
npdu.c
|
||||
reject.c
|
||||
ringbuf.c
|
||||
Generating Code...
|
||||
Compiling...
|
||||
rp.c
|
||||
s_rp.c
|
||||
s_whois.c
|
||||
s_wp.c
|
||||
tsm.c
|
||||
txbuf.c
|
||||
whois.c
|
||||
wp.c
|
||||
Generating Code...
|
||||
Linking...
|
||||
Creating temporary file "C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP635.tmp" with contents
|
||||
[
|
||||
/nologo /o"Debug/bacnet.bsc"
|
||||
".\Debug\abort.sbr"
|
||||
".\Debug\address.sbr"
|
||||
".\Debug\ai.sbr"
|
||||
".\Debug\ao.sbr"
|
||||
".\Debug\apdu.sbr"
|
||||
".\Debug\arf.sbr"
|
||||
".\Debug\av.sbr"
|
||||
".\Debug\bacapp.sbr"
|
||||
".\Debug\bacdcode.sbr"
|
||||
".\Debug\bacerror.sbr"
|
||||
".\Debug\bacfile.sbr"
|
||||
".\Debug\bacstr.sbr"
|
||||
".\Debug\bactext.sbr"
|
||||
".\Debug\bi.sbr"
|
||||
".\Debug\bigend.sbr"
|
||||
".\Debug\bip-init.sbr"
|
||||
".\Debug\bip.sbr"
|
||||
".\Debug\bo.sbr"
|
||||
".\Debug\bv.sbr"
|
||||
".\Debug\crc.sbr"
|
||||
".\Debug\datetime.sbr"
|
||||
".\Debug\dcc.sbr"
|
||||
".\Debug\device.sbr"
|
||||
".\Debug\h_arf.sbr"
|
||||
".\Debug\h_arf_a.sbr"
|
||||
".\Debug\h_iam.sbr"
|
||||
".\Debug\h_rp.sbr"
|
||||
".\Debug\h_rp_a.sbr"
|
||||
".\Debug\h_whois.sbr"
|
||||
".\Debug\h_wp.sbr"
|
||||
".\Debug\iam.sbr"
|
||||
".\Debug\indtext.sbr"
|
||||
".\Debug\lc.sbr"
|
||||
".\Debug\lsp.sbr"
|
||||
".\Debug\main.sbr"
|
||||
".\Debug\mso.sbr"
|
||||
".\Debug\noserv.sbr"
|
||||
".\Debug\npdu.sbr"
|
||||
".\Debug\reject.sbr"
|
||||
".\Debug\ringbuf.sbr"
|
||||
".\Debug\rp.sbr"
|
||||
".\Debug\s_rp.sbr"
|
||||
".\Debug\s_whois.sbr"
|
||||
".\Debug\s_wp.sbr"
|
||||
".\Debug\tsm.sbr"
|
||||
".\Debug\txbuf.sbr"
|
||||
".\Debug\whois.sbr"
|
||||
".\Debug\wp.sbr"]
|
||||
Creating command line "bscmake.exe @C:\DOCUME~1\stk01\LOCALS~1\Temp\RSP635.tmp"
|
||||
Creating browse info file...
|
||||
<h3>Output Window</h3>
|
||||
|
||||
|
||||
|
||||
<h3>Results</h3>
|
||||
bacnet.exe - 0 error(s), 0 warning(s)
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,113 +1,113 @@
|
||||
BACnet Stack - SourceForge.net
|
||||
Build for Visual C++ 6.0
|
||||
|
||||
When building the BACnet stack using Visual C++ compiler,
|
||||
there are some settings that are important.
|
||||
|
||||
Q. Are there some global configuration options for this BACnet stack?
|
||||
|
||||
A. The BACnet stack uses some preprocessor defines to configure
|
||||
a number of subtle personalities.
|
||||
PRINT_ENABLED=1 - enables printing to stdio
|
||||
BIG_ENDIAN=0 - chooses the BACnet encoding and decoding order
|
||||
BACDL_BIP=1 - chooses BACnet/IP for the datalink layer
|
||||
BACDL_ETHERNET=0 - chooses BACnet Ethernet for the datalink layer
|
||||
BACDL_ARCNET=0 - chooses BACnet ARCNET for the datalink layer
|
||||
BACDL_MSTP=0 - chooses BACnet MS/TP for the datalink layer
|
||||
USE_INADDR=1 - uses INADDR_BROADCAST for broadcast rather than CLASSx
|
||||
TSM_ENABLED=1 - enables the Transaction State Machine for clients
|
||||
BIP_DEBUG=1 - enables print statements for debugging
|
||||
In Visual C++, add a Preprocessor Definition by:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "C/C++" tab (3rd Tab)
|
||||
4. Select the Category: General
|
||||
5. You can see the "Preprocessor Definitions:" box
|
||||
6. Type OPTION_NAME=1 or OPTION_NAME=0 in that edit box
|
||||
using a comma to separate multiple options.
|
||||
7. Press OK
|
||||
8. Compile the entire project again...
|
||||
|
||||
Q. MSVC refuses to open bacnet.dsw and bacnet.dsp.
|
||||
|
||||
A. bacnet.dsw and bacnet.dsp are text files that were retrieved
|
||||
from CVS on a unix client and are now in unix text file format since
|
||||
they end with a "\r\n" rather than "\n". Use the unix2dos commandline
|
||||
tool to convert them back to dos:
|
||||
unix2dos bacnet.dsw
|
||||
unix2dos bacnet.dsp
|
||||
|
||||
Q. error LNK2001: unresolved external symbol _WinMain@16
|
||||
|
||||
A. The demo ports/win32/main.c was designed as a Win32 Console
|
||||
Application. If you want to change it to a Windows GUI application,
|
||||
you will have to add all the Windows GUI code, including WinMain().
|
||||
I recommend that you use a framework, such as WxWidgets/WxWindows,
|
||||
but this has not been done yet.
|
||||
|
||||
Q. error C1083: Cannot open include file: 'stdint.h': No such file
|
||||
|
||||
A. The BACnet stack uses some header files, and Visual C++ needs to know
|
||||
where they are:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "C/C++" tab (3rd Tab)
|
||||
4. Select the Category: Preprocessor
|
||||
5. You can see the "Additional include directories:" box
|
||||
6. Type the path to stdint.h in that edit box (using a comma if necessary)
|
||||
7. Type the path to bacdcode.h in that edit box (using a comma if necessary)
|
||||
In my system, the paths look like:
|
||||
c:\code\bacnet-stack\,c:\code\bacnet-stack\ports\win32\,
|
||||
c:\code\bacnet-stack\demo\handler\,c:\code\bacnet-stack\demo\object\
|
||||
8. Press OK
|
||||
9. Compile the project again...
|
||||
|
||||
Q. error C2065: 'MAX_MPDU' : undeclared identifier
|
||||
|
||||
A. The BACnet stack uses a preprocessor define to configure
|
||||
its datalink layer. In Visual C++, add a Preprocessor Definition by:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "C/C++" tab (3rd Tab)
|
||||
4. Select the Category: General
|
||||
5. You can see the "Preprocessor Definitions:" box
|
||||
6. Type BACDL_BIP=1 in that edit box (using a comma if necessary)
|
||||
7. Press OK
|
||||
8. Compile the entire project again...
|
||||
|
||||
Q. error LNK2001: unresolved external symbol _bacapp_print
|
||||
|
||||
A. The BACnet stack uses a preprocessor define to configure
|
||||
printing to stdio. In Visual C++, add a Preprocessor Definition by:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "C/C++" tab (3rd Tab)
|
||||
4. Select the Category: General
|
||||
5. You can see the "Preprocessor Definitions:" box
|
||||
6. Type PRINT_ENABLED=1 in that edit box (using a comma if necessary)
|
||||
7. Press OK
|
||||
8. Compile the entire project again...
|
||||
|
||||
Q. error LNK2001: unresolved external symbol __imp__closesocket@4
|
||||
|
||||
A. Visual C++ needs to have the Winsock library to be happy:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "Link" tab (4th Tab)
|
||||
4. You can see "Object/library modules:" edit box
|
||||
5. Type Wsock32.LIB in that edit box
|
||||
6. Press OK
|
||||
7. Compile the entire project again...
|
||||
|
||||
Q. error C2061: in file tsm.c
|
||||
A. The BACnet stack uses a preprocessor define to configure
|
||||
client functionality in the Transaction State Machine (TSM).
|
||||
In Visual C++, add a Preprocessor Definition by:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "C/C++" tab (3rd Tab)
|
||||
4. Select the Category: General
|
||||
5. You can see the "Preprocessor Definitions:" box
|
||||
6. Type TSM_ENABLED=1 in that edit box (using a comma if necessary)
|
||||
7. Press OK
|
||||
8. Compile the entire project again...
|
||||
BACnet Stack - SourceForge.net
|
||||
Build for Visual C++ 6.0
|
||||
|
||||
When building the BACnet stack using Visual C++ compiler,
|
||||
there are some settings that are important.
|
||||
|
||||
Q. Are there some global configuration options for this BACnet stack?
|
||||
|
||||
A. The BACnet stack uses some preprocessor defines to configure
|
||||
a number of subtle personalities.
|
||||
PRINT_ENABLED=1 - enables printing to stdio
|
||||
BIG_ENDIAN=0 - chooses the BACnet encoding and decoding order
|
||||
BACDL_BIP=1 - chooses BACnet/IP for the datalink layer
|
||||
BACDL_ETHERNET=0 - chooses BACnet Ethernet for the datalink layer
|
||||
BACDL_ARCNET=0 - chooses BACnet ARCNET for the datalink layer
|
||||
BACDL_MSTP=0 - chooses BACnet MS/TP for the datalink layer
|
||||
USE_INADDR=1 - uses INADDR_BROADCAST for broadcast rather than CLASSx
|
||||
TSM_ENABLED=1 - enables the Transaction State Machine for clients
|
||||
BIP_DEBUG=1 - enables print statements for debugging
|
||||
In Visual C++, add a Preprocessor Definition by:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "C/C++" tab (3rd Tab)
|
||||
4. Select the Category: General
|
||||
5. You can see the "Preprocessor Definitions:" box
|
||||
6. Type OPTION_NAME=1 or OPTION_NAME=0 in that edit box
|
||||
using a comma to separate multiple options.
|
||||
7. Press OK
|
||||
8. Compile the entire project again...
|
||||
|
||||
Q. MSVC refuses to open bacnet.dsw and bacnet.dsp.
|
||||
|
||||
A. bacnet.dsw and bacnet.dsp are text files that were retrieved
|
||||
from CVS on a unix client and are now in unix text file format since
|
||||
they end with a "\r\n" rather than "\n". Use the unix2dos commandline
|
||||
tool to convert them back to dos:
|
||||
unix2dos bacnet.dsw
|
||||
unix2dos bacnet.dsp
|
||||
|
||||
Q. error LNK2001: unresolved external symbol _WinMain@16
|
||||
|
||||
A. The demo ports/win32/main.c was designed as a Win32 Console
|
||||
Application. If you want to change it to a Windows GUI application,
|
||||
you will have to add all the Windows GUI code, including WinMain().
|
||||
I recommend that you use a framework, such as WxWidgets/WxWindows,
|
||||
but this has not been done yet.
|
||||
|
||||
Q. error C1083: Cannot open include file: 'stdint.h': No such file
|
||||
|
||||
A. The BACnet stack uses some header files, and Visual C++ needs to know
|
||||
where they are:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "C/C++" tab (3rd Tab)
|
||||
4. Select the Category: Preprocessor
|
||||
5. You can see the "Additional include directories:" box
|
||||
6. Type the path to stdint.h in that edit box (using a comma if necessary)
|
||||
7. Type the path to bacdcode.h in that edit box (using a comma if necessary)
|
||||
In my system, the paths look like:
|
||||
c:\code\bacnet-stack\,c:\code\bacnet-stack\ports\win32\,
|
||||
c:\code\bacnet-stack\demo\handler\,c:\code\bacnet-stack\demo\object\
|
||||
8. Press OK
|
||||
9. Compile the project again...
|
||||
|
||||
Q. error C2065: 'MAX_MPDU' : undeclared identifier
|
||||
|
||||
A. The BACnet stack uses a preprocessor define to configure
|
||||
its datalink layer. In Visual C++, add a Preprocessor Definition by:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "C/C++" tab (3rd Tab)
|
||||
4. Select the Category: General
|
||||
5. You can see the "Preprocessor Definitions:" box
|
||||
6. Type BACDL_BIP=1 in that edit box (using a comma if necessary)
|
||||
7. Press OK
|
||||
8. Compile the entire project again...
|
||||
|
||||
Q. error LNK2001: unresolved external symbol _bacapp_print
|
||||
|
||||
A. The BACnet stack uses a preprocessor define to configure
|
||||
printing to stdio. In Visual C++, add a Preprocessor Definition by:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "C/C++" tab (3rd Tab)
|
||||
4. Select the Category: General
|
||||
5. You can see the "Preprocessor Definitions:" box
|
||||
6. Type PRINT_ENABLED=1 in that edit box (using a comma if necessary)
|
||||
7. Press OK
|
||||
8. Compile the entire project again...
|
||||
|
||||
Q. error LNK2001: unresolved external symbol __imp__closesocket@4
|
||||
|
||||
A. Visual C++ needs to have the Winsock library to be happy:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "Link" tab (4th Tab)
|
||||
4. You can see "Object/library modules:" edit box
|
||||
5. Type Wsock32.LIB in that edit box
|
||||
6. Press OK
|
||||
7. Compile the entire project again...
|
||||
|
||||
Q. error C2061: in file tsm.c
|
||||
A. The BACnet stack uses a preprocessor define to configure
|
||||
client functionality in the Transaction State Machine (TSM).
|
||||
In Visual C++, add a Preprocessor Definition by:
|
||||
1. Select "Project" menu
|
||||
2. Select "Settings..."
|
||||
3. Select the "C/C++" tab (3rd Tab)
|
||||
4. Select the Category: General
|
||||
5. You can see the "Preprocessor Definitions:" box
|
||||
6. Type TSM_ENABLED=1 in that edit box (using a comma if necessary)
|
||||
7. Press OK
|
||||
8. Compile the entire project again...
|
||||
|
||||
Reference in New Issue
Block a user