Good afternoon,
When verifying the code for a Proffie v2.2 I’m getting the error below not “finding” the config file. I’ve double checked the file name and even recreated it. Any thoughts to how to correct?
C:\Users\Marc\Desktop\ProffieOS 7.4\ProffieOS\ProffieOS.ino:28:22: fatal error: config/myconfig.h: No such file or directory
28 | #define CONFIG_FILE “config/myconfig.h”
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: config/myconfig.h: No such file or directory
Thank you in advance for your help.
Marc R
Hello Marc,
I am guessing you are using Windows and that the file names extension is hidden on most of your files ? My guess is your config is named myconfig.h.h (but the second .h is hidden), you can right-click properties to confirm. If that is not it, you have a spelling mistake or your myconfig.h is not where you think it is.
3 Likes
Locate the folder of where you extracted the ProffieOS zip file. In that folder you should either have the ProffieOS-vN.NN.zip where N is a number if it is latest you should see …7.14.zip.
When you extract the files it should show ProffieOS or the full zip file name within that is the ProffieOS folder. In the event there is no ProffieOS folder but you see all the contents of the zip file rename the ProffieOS-7.14 to ProffieOS and double click on config directory. Make sure you have myconfig.h in that directory.
1 Like
navigate to that directory and open the config, check that myconfig.h is located in that directory. also check that you have the correct file permissions.
1 Like
Thank you, I started over from the beginning. This time instead of “coping” I “extracted” the OS file, which may have helped. I also renamed the file as suggested. I was able to successfully load to the board.
Now I need to complete the wiring and test…LOL.
Thank you so much for the help.
2 Likes
Thank you for the helps I restarted the process and was able to load the board.
1 Like
it’s what we are here for. p.s. my day job is tech support so this is second nature for me.