Does anyone know where share.h comes from? I dont see it in CVS and I'm not seeing it in my libs so I must be missing one. Does anyone know which lib share.h is contained in?
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?
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
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.
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 you application that uses it. Just because you are using a library with a projec in another IDE/environment doesn't mean you should migrate the library's sou code to that "other" IDE/environment. You're doing it wrong.
You don't need to change the source code to add preprocessor definitions. Ev project/build system has methods for pre-defining preprocessor symbols/macro
digital man
Re: Building SynchroNet - share.h
By: Digital Man to Electrosys on Sat Sep 08 2018 01:06 pm
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 you application that uses it. Just because you are using a library with a projec in another IDE/environment doesn't mean you should migrate the library's sou code to that "other" IDE/environment. You're doing it wrong.
You don't need to change the source code to add preprocessor definitions. Ev project/build system has methods for pre-defining preprocessor symbols/macro
digital man
I was able to get past the share.h error by putting it under a #define. I'll read more about the code blocks build environment as well as make. If share.h isn't under a #define to begin with, will I be able to control it with the build environment typically?
Sysop: | r00t |
---|---|
Location: | Newport Beach, CA |
Users: | 12 |
Nodes: | 6 (0 / 6) |
Uptime: | 98:38:44 |
Calls: | 145 |
Files: | 238 |
Messages: | 33,772 |