Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explicitly link library volk #6

Closed
wants to merge 1 commit into from
Closed

Conversation

edy555
Copy link

@edy555 edy555 commented Feb 27, 2014

Made CMakeLists.txt link library volk explicitly for issue #4

@BogdanDIA
Copy link
Owner

Hi Tomohiro,

it worth explaining the whole problem on gnuradio list to see what is their take on this.

BTW, where is your Findvolk.cmake located in your system (I assume you have that as long as find_package(...) works for you?

Thanks

@edy555
Copy link
Author

edy555 commented Mar 1, 2014

Hi,

In my system there are no FindVolk.cmake, but are volk.pc in /usr/local/lib/pkgconfig/.
This volk.pc file was installed from gnuradio.
So find_package() can find volk library using pkg-config command.

$ ls /usr/local/lib/pkgconfig/volk.pc 
/usr/local/lib/pkgconfig/volk.pc
$ pkg-config --libs volk 
-lvolk 

In this case using find_package() might be suitable, I think.

Regards,

@BogdanDIA
Copy link
Owner

Ok, it seems I managed to add in CMakeFiles.txt find_package(Volk REQUIRED) that works for me in Ubuntu. The difference from my previous attempt is that Volk is spelled with capital V. Otherwise the cmake requires Findvolk.cmake which does not exist.

Is this find_package(Volk REQUIRED) working for you?

Thanks

@edy555
Copy link
Author

edy555 commented Mar 1, 2014

With capital V, find_package(Volk REQUIRED) works also good in my system.

The latest code from github is build successfully. Great!!

For FIY my enviroment is as belows.
gnuradio-3.7.2.1
Mac OSX 10.8.5

Thank you for quick fix!

@BogdanDIA
Copy link
Owner

Ok, glad it is working for you now.

On Sunday, March 2, 2014 12:33 AM, TT notifications@github.com wrote:

With capital V, find_package(Volk REQUIRED) works also good in my system.
The latest code from github is build successfully. Great!!
For FIY my enviroment is as belows.
gnuradio-3.7.2.1
Mac OSX 10.8.5
Thank you for quick fix!

Reply to this email directly or view it on GitHub.

@BogdanDIA BogdanDIA closed this Mar 2, 2014
@Shamma009
Copy link

hi all,
I have Fedora and I have similar problem to Edy555, where shall I do the steps he mentioned ?

$ ls /usr/local/lib/pkgconfig/volk.pc
/usr/local/lib/pkgconfig/volk.pc
$ pkg-config --libs volk
-lvolk

inside the Cmake ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants