<?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>topic Re: Build Times in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3432859#M14875</link>
    <description>&lt;P&gt;Unless you've implemented telepathy in native code, I don't think there's any way for your program to access data that isn't distributed with the program. In any case, since there's a lot of it and it rarely changes, it should be included in the precompiled header. Maybe you're asking about another way to package it; if so, you could look into using an SQLite database. That can easily be built as part of the build process and packaged with your app (or accessed via telepathy if you prefer).&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2012 16:26:49 GMT</pubDate>
    <dc:creator>owenwengerd</dc:creator>
    <dc:date>2012-04-26T16:26:49Z</dc:date>
    <item>
      <title>Build Times</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3426703#M14868</link>
      <description>&lt;DIV class="body"&gt;&lt;P&gt;I have a library file "EMD_Data.lib" that contains a significant amount of raw data (an array of structs, each struct has 74 members of all data types, and the array is about 4000 elements).&amp;nbsp; I have a handful of main arx projects that #include its header and link to that library file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In VS2008, it used to take about 55 minutes to compile the Win-32 and x64 versions of the .lib file.&amp;nbsp; This wasn't a problem because I only need to rebuild&amp;nbsp;those files&amp;nbsp;very infrequently, about once a year.&amp;nbsp; The main projects compiled (even rebuild all) in about a minute.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In VS2008, my project settings for both the .lib and the .arx files were "No whole program optimization" and the C/C++ optimization was set to "Whole program Optimization" -&amp;gt; NO.&amp;nbsp; For the .arx files, the Linker optimization for "Link Time Code Generation" was set to "Default".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just migrated my files to VS2010 and I maintained the same settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The .lib file takes about 40 minutes and the .arx files each take about 30 minutes.&amp;nbsp; The .arx files are programs on which I am always working (say once a week) so I can't possibly be productive when it takes this long to build the application every time I want to test out a new routine or improve on an old one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions&amp;nbsp;or advice&amp;nbsp;would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Apr 2012 17:05:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3426703#M14868</guid>
      <dc:creator>EMD1954</dc:creator>
      <dc:date>2012-04-23T17:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Build Times</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3427401#M14869</link>
      <description>&lt;P&gt;It sounds like you're either not using precompiled headers at all, or you're not using them effectively.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 02:36:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3427401#M14869</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2012-04-24T02:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Build Times</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3429357#M14870</link>
      <description>&lt;P&gt;My settings are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create/Build Precompiled Headers -&amp;gt; Use Precompiled Header (/Yu)&lt;/P&gt;&lt;P&gt;Precompiled Header File -&amp;gt; StdArx.h&lt;/P&gt;&lt;P&gt;Precompiled Header Output&amp;nbsp;File -&amp;gt; $(IntDir)\$(TargetName).pch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything is the same in both VC2008 and VC2010&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 22:52:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3429357#M14870</guid>
      <dc:creator>EMD1954</dc:creator>
      <dc:date>2012-04-24T22:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Build Times</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3430803#M14871</link>
      <description>&lt;P&gt;Are you creating a precompiled header?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 17:18:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3430803#M14871</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2012-04-25T17:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Build Times</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3431481#M14872</link>
      <description>&lt;P&gt;Yes.&amp;nbsp; And I delete it (and everything else in the "Release" directory) before I rebuild just to make sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I even tried the Create (/Yc) option and it makes no difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can understand the library file taking time to compile and build (it always did), but the .arx file shouldn't (it never did).&amp;nbsp; I'm using&amp;nbsp;the .lib file&amp;nbsp;just like any other library (and always did), and my settings are the same in VC2008 and VC2010.&amp;nbsp; And, there are no other programs open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm ranting but it seems to me that it shouldn't be this difficult to upgrade to the newer versions of software which are supposed to make it faster and easier - sorry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I can try a different approach.&amp;nbsp; Maybe I shouldn't be compiling an enormous amount of data into a library file.&amp;nbsp; Maybe there's a way that I can include the info (as *.xls, *.txt, etc.) as a resourse?&amp;nbsp; It's&amp;nbsp;the equivalent of&amp;nbsp;an Excel spreadsheet with 4,000 rows and 75 columns of data of all types.&amp;nbsp; If anybody has a sample of how to do this as a user-defined resourse (?), I would really appreciate i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 23:31:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3431481#M14872</guid>
      <dc:creator>EMD1954</dc:creator>
      <dc:date>2012-04-25T23:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Build Times</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3431643#M14873</link>
      <description>&lt;P&gt;I use separately built libraries in several of my projects and I haven't noticed any problems with build times in VS 2010.&amp;nbsp;It may be something in VS 2010 that's unique to your library, but it's apparent from your response that you're not sure how to set up precompiled headers, so I'm still suspicious about that.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 04:46:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3431643#M14873</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2012-04-26T04:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Build Times</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3432555#M14874</link>
      <description>&lt;P&gt;I have a handful of other library files that I use and none of them have this issue nor do the projects that use them.&amp;nbsp; It's only this one large library file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I'm using the .pch correctly but I'll do some more research and see if I can improve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The more I think about it, there must be a better way for me to let my programs have access to data that I don't want to distribute.&amp;nbsp; Should I be looking into ObjectDBX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 15:06:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3432555#M14874</guid>
      <dc:creator>EMD1954</dc:creator>
      <dc:date>2012-04-26T15:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Build Times</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3432859#M14875</link>
      <description>&lt;P&gt;Unless you've implemented telepathy in native code, I don't think there's any way for your program to access data that isn't distributed with the program. In any case, since there's a lot of it and it rarely changes, it should be included in the precompiled header. Maybe you're asking about another way to package it; if so, you could look into using an SQLite database. That can easily be built as part of the build process and packaged with your app (or accessed via telepathy if you prefer).&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 16:26:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3432859#M14875</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2012-04-26T16:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Build Times</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3433299#M14876</link>
      <description>&lt;P&gt;Owen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now, the library file contains a lot of data.&amp;nbsp; I wrote a routine that reads from a CDF file and writes to a .cpp file in the proper format for a struct definition in the .lib file.&amp;nbsp; I only need to distribute the .arx file.&amp;nbsp; I could just have the project read from&amp;nbsp;the CDF&amp;nbsp;data file but then I have to distribute that file with the application.&amp;nbsp; It's dangerous because I don't want the user to be able to accidentally (or purposefully) change anything, and it takes longer for the program to read from the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought that maybe there was a way that I could include the data as a resource (or other?) file&amp;nbsp;that would become part of my application.&amp;nbsp; If anyone has come across this before, I would really appreciate a sample of how to go about it (unless you think that that's the wrong approach as well).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 19:53:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3433299#M14876</guid>
      <dc:creator>EMD1954</dc:creator>
      <dc:date>2012-04-26T19:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Build Times</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3433395#M14877</link>
      <description>&lt;P&gt;Designing an optimum data architecture is&amp;nbsp;pretty involved for a free support forum with limited information to work with, but it should be a simple task for someone with experience, so I think your best bet is to look for an experienced consultant to help you out. This isn't really an AutoCAD problem, but if you're an ADN member, you may be able to&amp;nbsp;get some help from&amp;nbsp;ADN developer support.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 21:06:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3433395#M14877</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2012-04-26T21:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Build Times</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3433471#M14878</link>
      <description>&lt;P&gt;I understand.&amp;nbsp; I just thought that it was like guys who write programs for the creation of drawings for manufacturing who use parametric equations with a lot of data.&amp;nbsp;&amp;nbsp;Or someone in Civil Engineering who has done maps with survey data and topology.&amp;nbsp; I thought surely, someone has done an .arx application using data in some form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not an ADN member because this programming is not my primary business (although I write a lot of software used by my firm).&amp;nbsp; I am looking&amp;nbsp;in other forums&amp;nbsp;as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help and your interest in replying,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 21:56:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/build-times/m-p/3433471#M14878</guid>
      <dc:creator>EMD1954</dc:creator>
      <dc:date>2012-04-26T21:56:45Z</dc:date>
    </item>
  </channel>
</rss>

