Page 1 of 1
OBJ, LIB and Resource files, Oh my
Posted: Mon Jun 09, 2008 6:18 pm
by The Storm
Ok, I've been trying to get a couple of things compiled but it seems when I run the mknt.bat file, everything goes well but it doesn't make any type of DLL file. It will, however, give me the LIBs, OBJs, BLDs, Header Files, and Object File Librarys.
Still, no DLL's. Any idea what I might be doing wrong?
Here's my dev environment:
SET CONFIG=WG3DEV
SET WGDEV=D:\WGDEV
SET BC50=D:\BC5
SET COMPILER=D:\BC5
SET WGNT=C:\WGSERV
SET LIB=D:\WGDEV\INC;D:\WGDEV\ENTSRC;D:\BC5\LIB
SET CMP=BC50-32
SET OS=WNT
SET WGPATH=C:\WINDOWS;D:\BC5\BIN;D:\;D:\WGDEV\BIN;C:\WINDOWNS\SYSTEM;c:\WINDOWS\SYSTEM32
SET PATH=C:\WINDOWS;D:\BC5\BIN;D:\;D:\WGDEV\BIN;C:\WINDOWS\SYSTEM;c:\WINDOWS\SYSTEM32;d:\WGDEV\WGTOOLS\BTRIEVE;
Re: OBJ, LIB and Resource files, Oh my
Posted: Tue Jun 10, 2008 1:24 am
by dspain
The Storm wrote:Ok, I've been trying to get a couple of things compiled but it seems when I run the mknt.bat file, everything goes well but it doesn't make any type of DLL file. It will, however, give me the LIBs, OBJs, BLDs, Header Files, and Object File Librarys.
Still, no DLL's. Any idea what I might be doing wrong?
Here's my dev environment:
SET CONFIG=WG3DEV
SET WGDEV=D:\WGDEV
SET BC50=D:\BC5
SET COMPILER=D:\BC5
SET WGNT=C:\WGSERV
SET LIB=D:\WGDEV\INC;D:\WGDEV\ENTSRC;D:\BC5\LIB
SET CMP=BC50-32
SET OS=WNT
SET WGPATH=C:\WINDOWS;D:\BC5\BIN;D:\;D:\WGDEV\BIN;C:\WINDOWNS\SYSTEM;c:\WINDOWS\SYSTEM32
SET PATH=C:\WINDOWS;D:\BC5\BIN;D:\;D:\WGDEV\BIN;C:\WINDOWS\SYSTEM;c:\WINDOWS\SYSTEM32;d:\WGDEV\WGTOOLS\BTRIEVE;
compiled DLL's goto $(RUNDIR) which is a shadow of $(WGNT) usually C:\WGSERV
Re: OBJ, LIB and Resource files, Oh my
Posted: Tue Jun 10, 2008 3:50 am
by The Storm
dspain wrote:compiled DLL's goto $(RUNDIR) which is a shadow of $(WGNT) usually C:\WGSERV
Yea, thanks for the heads up. I did find the DLLs there after some searching. Hopefully, this puts me back on the path of getting things done.
Re: OBJ, LIB and Resource files, Oh my
Posted: Tue Jun 10, 2008 1:48 pm
by dspain
The Storm wrote:dspain wrote:compiled DLL's goto $(RUNDIR) which is a shadow of $(WGNT) usually C:\WGSERV
Yea, thanks for the heads up. I did find the DLLs there after some searching. Hopefully, this puts me back on the path of getting things done.
yeah you can also set a batch file to build and set a path called $(PROJDIR) and replace $(RUNDIR) in the mak file with $(PROJDIR) and output all binaries there.
Re: OBJ, LIB and Resource files, Oh my
Posted: Tue Jun 10, 2008 10:28 pm
by The Storm
dspain wrote:yeah you can also set a batch file to build and set a path called $(PROJDIR) and replace $(RUNDIR) in the mak file with $(PROJDIR) and output all binaries there.
Might be a better idea since I don't want to hose my dev environment so early into development.
Re: OBJ, LIB and Resource files, Oh my
Posted: Tue Jun 10, 2008 11:09 pm
by dspain
The Storm wrote:dspain wrote:yeah you can also set a batch file to build and set a path called $(PROJDIR) and replace $(RUNDIR) in the mak file with $(PROJDIR) and output all binaries there.
Might be a better idea since I don't want to hose my dev environment so early into development.
no reason to hose. another thing you can do is have $(WGNT) point to a dir other than your actual server that way DLL's wont be placed in the main dev server directory.
i output all my compiled binaries in a BIN folder off of $(GCBUILD)
keeps em all there and i have my installshield compiler point to the project's GCBUILD\BIN dir.
@echo off
SET PROJDIR=C:\WGDEV\ISV\PROJECT
mknt PROJECT.MAK
set PROJDIR=
within your projects.mak file point the 2 $(RUNDIR) vars to $(PROJDIR)