cancel
Showing results for 
Search instead for 
Did you mean: 

Is the CubeIDE project in a Linux OS environment able to be exported and then imported into a Windows OS environment?

GreenGuy
Lead
 
3 REPLIES 3
Pavel A.
Evangelist III

Yes, definitely. With some minor tweaks, such as converting paths relative to user's home directory.

Also make sure that Windows working directory path should not contain spaces and weird characters, and it should be on same disk with the CubeIDE and other components, to avoid issues with drive letters (because on Windows each driver has its own root directory).

Do *NOT* change / slashes to backslashes - Eclipse on Windows understands / slashes and treats correctly.

Portability between WIndows and Linux should be better planned in advance.

-- pa

Reason I asked is it did not work for me. However I found the issue. It seems that on the Linux side header files are case sensitive or so it seems. In my design I had a header file named the same as one of the header files from the code generator only my header file name was all lower case and in a different location so I did not see the conflict. Once the project was imported in the windows IDE many errors occurred from unresolved and not duplicate references so the it was hard to track down. Another problem was that when a Project Clean was done many of the paths in the Include Build Properties were removed from the Project (go figure). Once I got the file name conflict fixed everything was fine.

> It seems that on the Linux side header files are case sensitive 

And water is wet

> Another problem was that when a Project Clean was done many of the paths in the Include Build Properties were removed from the Project

Strange, I never seen this. Do you open two instances of the IDE by chance? or the .cproject file in other editor?

-- pa