Karl,
Still getting the same issues:
CMake Error at CMakeLists.txt:55 (add_subdirectory):
The source directory
C:/viennacl-benchmark-gui-master/external/libarchive
does not contain a CMakeLists.txt file.
Boost version: 1.54.0
Configuring incomplete, errors occurred!
See also
"C:/viennacl-benchmark-gui-master/build/CMakeFiles/CMakeOutput.log".
I checked the output log, but there was no mention of libarchive.
-Matt
On Wed, Jul 30, 2014 at 4:17 PM, Karl Rupp <r...@iue.tuwien.ac.at> wrote:
> Hi Matthew, Namik, et al.,
>
> I just pushed fixes for the libarchive issues. On my Linux machine with
> Qt4 you only need to do the following:
>
>
> $> git submodule update --init --recursive
> $> mkdir build && cd build
> $ build> cmake .. -DUSE_QT5=Off -DVIENNACL_INCLUDE_DIR=/path/to/viennacl
> $> make
>
> This works fine and results in an executable popping up.
>
> @Namik: Please do not put any system-specific paths like "C:/zlib/..."
> into the build files (both QMake and CMake). Use relative paths with
> respect to the source directory in order to support so-called out-of-source
> builds. For example, prefer to use
> include_directories("${PROJECT_SOURCE_DIR}/external/libarchive")
> instead of just
> include_directories("external/libarchive")
> Also, CMake is a bit tricky in terms of how it manages 'state': Certain
> commands such as add_subdirectory() inherit the environment from the parent
> scope up until this point, but ignore everything which follows after. Thus,
> if you add include_directory() *before* add_subdirectory(), it will be
> visible in that subdirectory, otherwise it won't. Yes, CMake is tricky...
>
> @Matthew: I haven't managed to test this on Windows yet. Feel free to try
> it out and let us know if something doesn't work as expected. I should be
> able to test the Windows-build tomorrow.
>
> Best regards,
> Karli
>
>
>
>
>
> On 07/29/2014 01:10 AM, Namik Karovic wrote:
>
>> Hi Matthew,
>>
>> The benchmark GUI is currently not in a stable build status. I have
>> started using Libarchive for extracting downloaded matrix files, but I
>> haven't managed to get it properly integrated into my CMake build. I
>> tried my best, but I lack the knowledge to make a proper CMake
>> integration. I'm afraid it won't work properly until Karl fixes it.
>>
>> Try $> git submodule update --init --recursive
>>
>> from the base directory in order to populate external/libarchive.
>>
>> I don't think that will help since the program fails to run on my
>> machine. I had wrongly assumed that
>> target_link_libraries(ViennaCL_Benchmark${libarchive}) was the proper
>>
>> way to link against Libarchive, but now it seems it's not... Just how
>> did I manage to make it work that one time is beyond my comprehension...
>> CMake makes me often feel like casting spells instead of doing
>> programming...
>>
>> You can still try the QMake build. It should be working for windows
>> machines.
>>
>> Regards, Namik
>>
>>
>> On Tue, Jul 29, 2014 at 12:52 AM, Karl Rupp <r...@iue.tuwien.ac.at
>> <mailto:r...@iue.tuwien.ac.at>> wrote:
>>
>> Hi Matt,
>>
>> this sounds like the libarchive is not initialized as a subrepo. Try
>> $> git submodule update --init --recursive
>> from the base directory in order to populate external/libarchive.
>>
>> Best regards,
>> Karli
>>
>>
>>
>>
>> On 07/29/2014 12:01 AM, Matthew Musto wrote:
>> > Namik,
>> >
>> > The last few times I have tried to build the benchmark, I have
>> gotten
>> > the following error. When I saw your most recent submit referring
>> to
>> > libarchive, I thought I would give it another shot. Not such luck.
>> >
>> > Any help would be greatly appreciated.
>> >
>> > CMake Error at CMakeLists.txt:53 (add_subdirectory):
>> > The source directory
>> >
>> > C:/viennacl-benchmark-gui-master/external/libarchive
>> >
>> > does not contain a CMakeLists.txt file.
>> >
>> > Boost version: 1.54.0
>> >
>> > Configuring incomplete, errors occurred!
>> >
>> > See also
>> > "C:/viennacl-benchmark-gui-master/build/CMakeFiles/
>> CMakeOutput.log".
>> >
>> >
>> > Thanks,
>> > -Matt
>> >
>> > --
>> > --------------------
>> > Matthew Musto
>> > matthew.mu...@gmail.com <mailto:matthew.mu...@gmail.com>
>> <mailto:matthew.mu...@gmail.com <mailto:matthew.mu...@gmail.com>>
>>
>> >
>> >
>> >
>> ------------------------------------------------------------
>> ------------------
>> > Infragistics Professional
>> > Build stunning WinForms apps today!
>> > Reboot your WinForms applications with our WinForms controls.
>> > Build a bridge from your legacy apps to the future.
>> >
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&
>> iu=/4140/ostg.clktrk
>> >
>> >
>> >
>> > _______________________________________________
>> > ViennaCL-devel mailing list
>> > ViennaCL-devel@lists.sourceforge.net
>> <mailto:ViennaCL-devel@lists.sourceforge.net>
>>
>> > https://lists.sourceforge.net/lists/listinfo/viennacl-devel
>> >
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls.
>> Build a bridge from your legacy apps to the future.
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&
>> iu=/4140/ostg.clktrk
>> _______________________________________________
>> ViennaCL-devel mailing list
>> ViennaCL-devel@lists.sourceforge.net
>> <mailto:ViennaCL-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/viennacl-devel
>>
>>
>>
>
--
--------------------
Matthew Musto
matthew.mu...@gmail.com
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel