Re: Building SynchroNet - share.h
By: Electrosys to Digital Man on Sat Sep 08 2018 10:32 am
Re: Building SynchroNet - share.h
By: Digital Man to Electrosys on Fri Sep 07 2018 07:01 pm
share.h is not a standard C library header and for Synchronet is only #inclu in Windows builds (and DOS and probably OS/2 too).
What are you trying to do?
I got stuck on building UIFC
It's a library. You build it by going into src/uifc and running 'make'. Then you can link the resulting library (e.g. libuifc.a or libuifc_mt.a) with your application that uses it. Just because you are using a library with a project in another IDE/environment doesn't mean you should migrate the library's source code to that "other" IDE/environment. You're doing it wrong.
As far as I can tell I'm able to build XPDEV,
CONIO & SMBLIB. It looks like the preprocessor adds, may be the only change necessary if I'm able to tell my environment where sys/stat.h is without add it as an include. (maybe I'm missing a path in the project file) I'll take a look and see. XPDEV seems to be the only lib I've had to make a slight code change to with the preprocessor adds.
You don't need to change the source code to add preprocessor definitions. Every project/build system has methods for pre-defining preprocessor symbols/macros.
digital man
This Is Spinal Tap quote #13:
Nigel Tufnel: You can't really dust for vomit.
Norco, CA WX: 95.1øF, 37.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net