<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPCXpresso IDE中的主题 Re: Error Copying and renaming projects</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-Copying-and-renaming-projects/m-p/531366#M2463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Oct 06 12:40:10 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean include paths where the path points to inside the project itself? In this case, we would recommend that you use relative paths rather than absolute paths. Thus for example if you have a workspace thus&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;workspace
 + proj1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - inc
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - src&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;If the source files within src use headers from the inc directory, then you should set up the include path as [FONT=Courier New][SIZE=1]../inc[/SIZE][/FONT] rather than [FONT=Courier New][SIZE=1]workspace/proj1/inc[/SIZE][/FONT].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[We recognize that there might still the odd Code Red produced example project that still references the include path via the absolute method, though we have been trying to fix these as we spot them]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is also an FAQ on copying projects that might be of interest, though it doesn't cover the above include path issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/CopyingExampleProjects&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:09:02 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:09:02Z</dc:date>
    <item>
      <title>Error Copying and renaming projects</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-Copying-and-renaming-projects/m-p/531365#M2462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Wed Oct 06 11:52:47 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello CodeRed,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After you copy (and Paste) or rename a project, the IDE does not update the file path (Include paths), causing an error when compiling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Linux Beta 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:09:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-Copying-and-renaming-projects/m-p/531365#M2462</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error Copying and renaming projects</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-Copying-and-renaming-projects/m-p/531366#M2463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Oct 06 12:40:10 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean include paths where the path points to inside the project itself? In this case, we would recommend that you use relative paths rather than absolute paths. Thus for example if you have a workspace thus&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;workspace
 + proj1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - inc
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - src&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;If the source files within src use headers from the inc directory, then you should set up the include path as [FONT=Courier New][SIZE=1]../inc[/SIZE][/FONT] rather than [FONT=Courier New][SIZE=1]workspace/proj1/inc[/SIZE][/FONT].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[We recognize that there might still the odd Code Red produced example project that still references the include path via the absolute method, though we have been trying to fix these as we spot them]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is also an FAQ on copying projects that might be of interest, though it doesn't cover the above include path issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/CopyingExampleProjects&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:09:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-Copying-and-renaming-projects/m-p/531366#M2463</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error Copying and renaming projects</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-Copying-and-renaming-projects/m-p/531367#M2464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Wed Oct 06 13:02:49 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;[We recognize that there might still the odd Code Red produced example&amp;nbsp; project that still references the include path via the absolute method,&amp;nbsp; though we have been trying to fix these as we spot them]&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;Exactly, I am copying/renaming, and then modifying the examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For examples:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/usbhid/inc}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=#000000]"usbhid" [/COLOR]should be changed to the new name of the project using a variable or a relative path, as you said.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-Copying-and-renaming-projects/m-p/531367#M2464</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error Copying and renaming projects</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-Copying-and-renaming-projects/m-p/531368#M2465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Wed Oct 06 13:16:54 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;There is also an FAQ on copying projects that might be of interest, though it doesn't cover the above include path issue:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://http://support.code-red-tech.com/CodeRedWiki/CopyingExampleProjects"&gt;http://support.code-red-tech.com/Cod...xampleProjects&lt;/A&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;Some items are restricted:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"You are not authorized to view this page." (In Spanish)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK. Fixed. Thank you. :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-Copying-and-renaming-projects/m-p/531368#M2465</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error Copying and renaming projects</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-Copying-and-renaming-projects/m-p/531369#M2466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Oct 06 13:33:23 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Luis Digital&lt;/STRONG&gt;&lt;BR /&gt;Exactly, I am copying/renaming, and then modifying the examples.&lt;BR /&gt;&lt;BR /&gt;For examples:&lt;BR /&gt;"${workspace_loc:/usbhid/inc}"&lt;BR /&gt;&lt;BR /&gt;[COLOR=#000000]"usbhid" [/COLOR]should be changed to the new name of the project using a variable or a relative path, as you said.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is an NXP controlled project, rather than a CodeRed one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However having the tools automatically modify an include path in the way you suggest would probably not be a good idea (even if it were possible). If you consider a typical project, it might actually have multiple include paths which are workspace-based, for example if it is using library projects. Causing a include path name change could actually cause more problems than it would solve.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus I would suggest that when you encounter such problems when copying a project, you simply manually fix the include path to be relative.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Luis Digital&lt;/STRONG&gt;&lt;BR /&gt;Some items are restricted:&lt;BR /&gt;"You are not authorized to view this page." (In Spanish)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry. The "Copying Projects" FAQ should now be accessible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:09:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-Copying-and-renaming-projects/m-p/531369#M2466</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:09:04Z</dc:date>
    </item>
  </channel>
</rss>

