Hi!
Those .c and .h files are being generated during the build so you should not have them after unpacking the source or building the Clean target.
They should be created by the project lcmtest and lcmtest2. If you look in those projects the .lcm files are added to it as using CustomBuild and the CustomBuild tool is defined in RunLcmGen.props which is assigned to those projects. So If you are missing those files it means the the custom build step was not run for some reason. I guess one of the reasons could be that it was unable to run lcm-gen for some reason (maybe it failed to build or it could not find it). It should though try to build lcm-gen before lcmtest and lcmtest2 since these projects have a set dependency on lcm-gen. Also if the files are missing and you manually build lcmtest and lcmtest2 the files should be created.
So to try to troubleshoot this it would be great if you could provide some additional info.
- How are you trying to build?
- Through the IDE with "Build Solution" or with msbuild?
- Do you get the same problem with both?
- Which version of VS2013 are you using? Any servicepacks or similar installed?
Create a build output the following way:
- Make sure the source tree is clean.
- Open LCM.sln in the IDE
- Right click the Solution and "Build solution"
- In the build outputs window select "Build order" (or some similar option to correctly sort the output).
If you could the send that output from the build output window I could have a look at it and maybe better understand what happens.
Best regards,
// Alexander