Problem after reinstalling clipper 5.3 - can't build
Problem after reinstalling clipper 5.3 - can't build
(OP)
Hi folks, some years ago, I wrote a program in Clipper which I use for my job every day. Recently, I wanted to reinstall clipper and make some changes to the program. It is a few years since I have done so and I have changed PC's since then. I am running Windows98SE as I find it is best for running my DOS applications.
I re-installed clipper and copied my .prg's across to make modifications but when I try to build, I got a message C3007 Can't open #include file 'fileio.ch'
I have confirmed that the autoexec.bat has the correct environment settings but could not get the compiler to find the includes so I changed the .prg to include the full path. This has sorted that problem out and the .obj's have all been built OK but I now get the linker error #4008 file (exospace.lib) Can't find indicated file.
Where am I going wrong? Im tearing my hair out and I have so much less these days anyway. I can't seem to find any help in the manuals. Please help. Thanks, Steve.
I re-installed clipper and copied my .prg's across to make modifications but when I try to build, I got a message C3007 Can't open #include file 'fileio.ch'
I have confirmed that the autoexec.bat has the correct environment settings but could not get the compiler to find the includes so I changed the .prg to include the full path. This has sorted that problem out and the .obj's have all been built OK but I now get the linker error #4008 file (exospace.lib) Can't find indicated file.
Where am I going wrong? Im tearing my hair out and I have so much less these days anyway. I can't seem to find any help in the manuals. Please help. Thanks, Steve.
RE: Problem after reinstalling clipper 5.3 - can't build
If in doubt, take the statements from the autoexec.bat and paste them into a new batch file and run that before you compile and link.
The paths in question are probably:
CODE
Set INCLUDE
Regards
ing
Griff
Keep
RE: Problem after reinstalling clipper 5.3 - can't build
I really can't understand it, I had used clipper for years and never had any problems. I'm sure I was using win98 back then too. It's driving me mad trying to get it to work.
Any other suggestions?
Steve.
RE: Problem after reinstalling clipper 5.3 - can't build
That said, why not use a batch file like the one below to compile a 'hello world' applet and work upwards to your program from there:
CODE
BLINKER FI %1 LI C:\LANG\CL50\LIB\CLIPPER,C:\LANG\CL50\LIB\EXTEND,C:\LANG\CL50\LIB\TERMINAL,C:\LANG\CL50\LIB\DBFNTX
I drop the above into a batch file called mk50.bat, then call it like this:
CODE
See where you get from that, my clipper is all in a folder called C:\lang\cl50 so you will need to point your code appropriately.
Martin
Regards
ing
Griff
Keep
RE: Problem after reinstalling clipper 5.3 - can't build
My networks guys used to change the maps around from time to time & I would have to chase down the issue. I ended up hard coding the path to the various lib's & ancillary OBJ's in my COMPILE.bat to ensure that I could always find the needed source code even if my mapping changed on the network drives. This sounds similar, if all of the needed source is available then it's just not pointing to it properly.
Jim C.
RE: Problem after reinstalling clipper 5.3 - can't build
I think it will be something simple - it was working before and I have a full copy of the clipper programs, my .prg's, etc on CD and have tried copying them over but still no luck.
RE: Problem after reinstalling clipper 5.3 - can't build
Look in the autoexec.nt and config.nt, not in the *.bat files.
Regards,
David
RE: Problem after reinstalling clipper 5.3 - can't build
Steve.