- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I try to build the CE222221 example for the CY8CKIT-062-WiFi-BT PSoC 6 Pioneer Kit, the build fails with the following error, on a generated file:
Build error: #error File C:\Users\my user name\AppData\Local\Temp\{b4c716cc-99c9-4296-993c-fb316058244d}\cy_smif_memconfig.h does not exist.
The "#error [...]" part is actually the only line of the generated cy_smif_memconfig.h file, herewith attached. The file attached here is from the following location on my drive:
${ProjectDir}\Generated_Source\PSoC6\
Has anyone ever experienced this error and if so, how did you fix it?
Thanks in advance,
T.
Solved! Go to Solution.
- Labels:
-
ispn:39620:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update: I checked it by creating a new user name without spaces in it and the example project builds correctly!
So a word of warning to whoever uses PSoC Creator on Windows platforms: Make sure you are running it under a user with no spaces in its name!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A similar issue in thread - CY8KIT-062-WiFi board, example project fails to build.
Is your platform also a virtual machine? BTW, the code CE222221 has been updated just last month. Please use the latest - https://www.cypress.com/documentation/code-examples/ce222221-psoc-6-mcu-voice-recorder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply and the link! I had come across that thread in my searches, but thanks for pointing it out, it reveals something interesting!.
First of all, nope, I'm not using a VM. I do however notice that the poster in the thread you linked also has a space in this username, as do I. The complete path PSoC Creator is complaining about is (in my case):
Build error: #error File C:\Users\Theodor Stana\AppData\Local\Temp\{b4c716cc-99c9-4296-993c-fb316058244d}\cy_smif_memconfig.h does not exist.
In the other thread's case, it was "C:\Users\A Smith\[...]".
Notice the spaces in the paths in both usernames! Could it be that PSoC Creator is trying to create a temporary .h file in AppData and fails because the path contains spaces?
Best regards,
T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is possibly the root cause, but I have not tested that case
Let me know the result if you try out a platform user name with spaces.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update: I checked it by creating a new user name without spaces in it and the example project builds correctly!
So a word of warning to whoever uses PSoC Creator on Windows platforms: Make sure you are running it under a user with no spaces in its name!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the info, really useful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am adding an SMIF device to my PSOC Creator 4.4 project and I am getting the same "path does not exist" error. However, I DO NOT have any spaces in the username (or anywhere else in the path).
Any advice?