prebuilt libs for the yat && yat4tango
|
|
---|---|
Is there prebuilt lib for the yat && yat4tango? Or do I have to build from the source by myself? The prebuilt zip file of the two files do not contail them. - tango922_win64_vc10.zip - tango922_win32_vc10.zip |
|
|
---|---|
Hi, yat & yat4tango are not part of the Tango core components. That's why there's no binary package available. On which platform do you want to compile the libraries? The auto tools are supported on Linux (thanks to Frederic Picca's contribution). Type ./autogen.sh to generate the configure file. Compiling yat4tango requires the pkg-config stuffs to be properly setup. Type ./configure –help to see what are the available options to locate the dependencies. On Windows, both libraries come with their own msvc project (I recently updated the ones for msvc12). yat has no dependencies and is straightforward to compile. For yat4tango, the simplest way to compile the library is to modify the provided "edit_then_launch_to_compile.bat" (same location the msvc project itself). |
|
|
---|---|
Hello Nicolas, I tried to compile yat on a debian 8+TANGO 8 server installed on it. Following your instructions, I tried to generate config files for yat with ./autogen.sh but I got the following error:
I have a similar error on a TANGO 9 server installed on a debian 9. Reading https://github.com/vmt/udis86/issues/6, I added on line 16 of configure.ac file : m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) It seems to solve this issue. Note: perhaps mentionning need of dh-autoreconf package could be mentionned into README/INSTALL. Regards.
- Philippe
|
|
|
---|---|
For yat4tango, libtool package is needed. Same correction is needed into configure.ac that for yat.
- Philippe
|
|
|
---|---|
Philippe, I think we are going to deprecate auto(hell)tools and switch to cmake - the latter is already supported and my humble advice is to use it. n. be sure your using the proper pkg-config directory:
yat & yat4tango compilation:
|
|
|
---|---|
+1 for using cmake. |
|
|
---|---|
Thank you for these explanations Nicolas. I didn't notice that Cmake files can be used, this is much more easier! :)
- Philippe
|
|
|
---|---|
Hello, while building AttributeSequenceWriter DS, I got some errors due to yat4tango unfound references. I installed and built YAT-1.14.5 and YAT4Tango-1.11.4 Here is the output I got when building AttributeSequenceWriter:
Do you have any idea how to solve this issue? Regards.
- Philippe
|
|
|
---|---|
Hello Philippe, All the unreferenced methods are implemented in '.i' files. if YAT_INLINE_IMPL is defined when compiling YAT/YAT4TANGO (and your project) then those files are included at the end of header files otherwise at the beginning of .cpp files. Example: The method yat::Mutex::lock() is implemented in yat/threading/impl/PosixMutexImpl.i (line 108). This file in included in yat/threading/Mutex.h (line 300) if YAT_INLINE_IMPL is set. This file in included in src/threading/PosixThreadingImpl.cpp (line 58) if YAT_INLINE_IMPL is not set. Hope this help… Regards
Stéphane
|
|
|
---|---|
Thank you Stephane. However, I probably missed something about the use of YAT_INLINE_IMPL. I understand this variable is not mandatory since I did not see it into the doc, and since the .i are included in .cpp if it is not defined. So whether YAT_INLINE_IMPL is defined or not, I understand yat and yat4tango methods should be available, shouldn't they? Anyway, I tried to build AttributeSequenceWriter by adding YAT_INLINE_IMPL=1 in Makefile but it fails the same. Did I miss some step?
- Philippe
|