Re: [Flaim-devel] ftk.h and flaimsqltk.h missing in trunk
Brought to you by:
dsandersorem,
jcalcote
From: John C. <joh...@gm...> - 2009-04-09 14:14:08
|
On 4/9/2009 1:56 PM, mog wrote: > On Wed, Apr 01, 2009 at 10:00:42AM -0600, John Calcote wrote: > >> Matthew, >> >> I've recently converted the flaim project build system over to the GNU Autotools. In the process, I made some minor changes to the code base to accommodate the switch. One of these changes was to rename ftk.h to flaimtk.h, because I was told that ftk.h was too short to consider a unique public header file name on Linux systems (apparently, most three-letter names are already in use). If your attempts to build trunk have left you looking for ftk.h, then I must have missed a reference to the old name in one of the source files some where. >> >> If you are attempting to build using the older GNU makefile, then this may explain your problems because the older GNU makefile build system is no longer working. Please try using the Autotools build system (eg., ./configure&& make). It should work very well for you. I've recently checked out a completely new work area from the svn repository and it built just fine for me on both 32-bit and 64-bit linux. >> >> If you're building for Windows, there's a .sln file in the win32 directory - just open it up in Visual Studio (Express) 2008 and build from the IDE. >> > > > Thanks for the advice. I was using the old GNUmakefile and that was problem. I updated to autotools version and it compiled fine. Only problem I had with it after that is that ifolder/simias didn't seem to see that I had the library installed, or version wasn't up to par I had to install libflaim from some old old rpms. I will look into it again probably this weekend to know for sure what was happening on a clean box. Thanks once again for your advice. > Matthew, Glad to hear you got it to build okay. I'll warn you in advance that you *may* have problems with the ifolder build, if ifolder consumes the flaim toolkit directly (if ifolder source code includes the ftk.h header file directly). It probably doesn't, because it's designed to be a system abstraction layer for flaim itself, which means everything will probably work just fine. But if ifolder does use the flaim toolkit directly, then you'll have to change ftk.h references in ifolder source code to flaimtk.h. In the process of moving the build system to the autotools we received a bit of advice from the GNU autoconf list indicating that we shouldn't create public header files with three-letter names, as most of those were used up in the GNU world already. We felt this was wise advice, and so changed it. It's rare to find a client of ftk besides flaim, so we felt it probably wouldn't present too much of a problem. Let me know how it goes if you get a minute. Regards, John |