2071
Programming / Re: A clock in WPS - Educational Project
« on: May 21, 2020, 12:36:15 am »
Thanks for the feedback.
I'm getting this error:
I guess I'm missing something on the libpaths?
Regards
When compiling, use: "sc -r -S128000 -C128000 <file>"It worked with this command to generate the .c, .h and .ih file.
One other thing... since this project isn't associated with XWP, it would be better to use a different prefix for its files and classes. Perhaps "MIClock" would be more appropriate (especially in Spanish).Yes, I will change it. For this thread I'm going to keep it as XWPClock, but I think if I wrote some article I will rename it to SWPCLOCK. (S = Sample).
If you want to generate C++ headers and source files you do this:Yes, I want to go the C++ way.
sc.exe -C200000 -S200000 -scx;xh;xih xwpclock.idl
I'm getting this error:
Code: [Select]
"xwpclock.idl", line 156: fatal error: Cannot load emitcx.
I guess I'm missing something on the libpaths?
Regards