-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/21/2012 8:48 AM, Kent A. Reed wrote: > Have you noticed that trying directly to compile most *any* comp > file in src/hal/drivers fails? e.g., > > cd src/hal/drivers comp --compile pluto_servo.comp > > also fails. Lots of lines of error messages but the first one > complains it can't find the include file just as in the case of > compiling mesa_7i65.comp. > > I can't say more before I spend some time digging around. Perhaps > someone else will beat me to it.
Well, I can vouch for the fact that I have run into similar issues working with some custom components while trying to get LinuxCNC talking to my 3D printer. I'm trying to include a thermistors.h file that resides in the hal/components directory along with my ADC2Temp.comp code (for converting raw ADC thermistor readings into temperature in deg. C). For the Makefile build, it seems like I have to: #include "hal/components/thermistors.h" ...which seems kind of odd, since the comp file resides in hal/components along with the thermistors.h file. I also cannot run comp --compile to try and build the object file, but comp --preprocess *IS* still quite useful, especially for newbies like me when trying to figure out what sort of code comp is generating on my behalf (and thus why make is failing). So...is there a reliable or recommended way of including *.h files in *.comp components, or should I just migrate over to using direct c code if I need include files? - -- Charles Steinkuehler [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlCEHD0ACgkQLywbqEHdNFz71QCfcL1P8ej7eHZcmRFSJFPN/o6k zQAAn25BtzQ9tk3i/WvqrEf6nKLnnybS =qlv5 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
