![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Dynomotion/Kflop/Kanalog Discuss Dynomotion/Kflop/Kanalog here! |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| When I try to compile my C program I get this error at the first line: C:\Mach3\PlugIns\InitStepDir3Axis.c:1: ';' expected All of the lines already end with a semicolon. ![]() I've attached the code for reference. Thanks, Dennis |
|
#2
| |||
| |||
| I figured it out. Newbie issue. I was missing the header for the includes and the function main. ![]() For other newb's that stumble across this issue. The .c program is in fact a full on C program, which is a very good thing. You can do a tremendous amount in C. If your getting the error that I had in my original post about missing a semicolon in the first line, make sure you have the following in your program at a minimum. #include "KMotionDef.h" main() { ..... Your code goes here ..... } I've attached the InitStepDir3Axis file with the correction to this post. If you look at the InitStepDir3Axis file attached to the previous post and the one attached to this post you can see the difference. Hope this help someone, Dennis Last edited by nova24; 01-31-2012 at 06:09 PM. Reason: grammer |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help!- Scripter Compile Error. in:M3. M1s | Dan911 | DIY-CNC Router Table Machines | 4 | 10-22-2011 08:39 AM |
| Program Error | jimcooptcam77 | Haas Mills | 1 | 04-08-2011 11:41 AM |
| tl-2 program integrity error and program data error alarm #'s 212 250 need help | CNChelp | Haas Mills | 12 | 03-14-2010 08:19 PM |
| compile error, Library not found | innova | Autodesk Software (Autocad, Inventor etc) | 0 | 01-17-2009 10:22 AM |
| EMC 2 compile? | mkonci1 | LinuxCNC (formerly EMC2) | 2 | 04-12-2006 02:21 AM |