Re: [Discuss-gnuradio] install issue with c++11

2018-06-07 Thread Jason Matusiak
n't found one yet that seems to make a darn to the issue. I have almost gone as far as I can take it. - Original Message - Subject: Re: [Discuss-gnuradio] install issue with c++11 From: "Jose Ruvalcaba" Date: 6/5/18 7:44 pm To: "Linda20071" I encountere

Re: [Discuss-gnuradio] install issue with c++11

2018-06-06 Thread Derek Kozel
Hello, Here's a good list of C++ books. Effective Modern C++ is my go to for brushing up on the new features of C++11/14. https://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list Derek On Wed, Jun 6, 2018 at 12:44 AM, Jose Ruvalcaba wrote: > I encountered this issue but

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Jose Ruvalcaba
I encountered this issue but seemed to fix it by updating my gcc compiler from 5.4.0 to 6.4. However, after I did this I encountered another problem with the uhd drivers which I opened on a separate thread :( . I got the instructions on how to update the gcc compiler from the following youtube

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Linda20071
Is there a good book for an "overview of C++11/14" so somebody with a very good background in c++ can grasp the main idea quickly? Examples in a programming overview book can always help! Thanks in advance! On Tue, Jun 5, 2018 at 2:39 PM, Jason Matusiak < ja...@gardettoengineering.com> wrote: >

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Jason Matusiak
Does anyone have experience with this? I am having trouble figuring out if it is not working, or if I am not doing something right. The config.yml looks like this when fresh: !!omap - categories: hardware: forcebuild: true common: forcebuild: true - packages:

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread CEL
Then the answer is really, very likely, to use a container of sorts. Docker seems to be the choice for that these days. Best regards, Marcus On Tue, 2018-06-05 at 08:08 -0700, Jason Matusiak wrote: > I wasn't worried about my gnuradio builds as much as my system as a whole > when I was mucking

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Jason Matusiak
I wasn't worried about my gnuradio builds as much as my system as a whole when I was mucking with the actually cmake and compilers themselves to try and fix the problem. The whole purpose of using PyBOMBS is to work in PREFIXes, so no need to do that - PyBOMBS does that automatically. On

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread CEL
The whole purpose of using PyBOMBS is to work in PREFIXes, so no need to do that – PyBOMBS does that automatically. On Tue, 2018-06-05 at 10:38 -0400, Dave NotTelling wrote: > Check out > https://github.com/gnuradio/pybombs#configuring-a-prefix-environment-eg-for-cross-compiling. > You might be

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Dave NotTelling
Check out https://github.com/gnuradio/pybombs#configuring-a-prefix-environment-eg-for-cross-compiling. You might be able to set CXXFLAGS with the `--env` flag On Tue, Jun 5, 2018 at 10:36 AM Dave NotTelling wrote: > I would suspect that PyBombs doesn't care about your env variables. That > or

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Dave NotTelling
I would suspect that PyBombs doesn't care about your env variables. That or it overwrites the CMAKE_CXX_FLAGS at some point. I have no idea how PyBombs builds the CMake projects. If it's not calling the `cmake` command directly, then it likely will not pick up the env variable. On Tue, Jun 5,

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread CEL
Hi Jason, to not hose my system every day, I simply work in prefixes. Basically, find my shell's RC file below. With options like `- DCMAKE_INSTALL_PREFIX=$GRPREFIX` (for CMake) or `export`ing PREFIX=$GRPREFIX (before running ./configure scripts) one can set the installation directory so that

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Philip Balister
On 06/05/2018 10:06 AM, Marcus D. Leech wrote: > On 06/05/2018 09:07 AM, Jason Matusiak wrote: >> Thanks Dave, but that did not seem to work for me.  Here were the >> commands I ran (slightly different than recommended, but that was for >> some different recipe mods that have nothing to do with

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Jason Matusiak
So, the host machine performed much better (and of course much faster), so that got me past the UHD problem, but I still see the c++11 issue that I was trying to solve (I attempted to use Dave's fix. Here is the error I see: [ 12%] Building CXX object

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Jason Matusiak
Marcus, I started to suspect after the thread started that that was the case. I was doing this work in a VM so as to not hose my host system too much, but I just started another install on my host system to do the work without memory being an issue. That said, the c++11 concerns are

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Marcus D. Leech
On 06/05/2018 09:07 AM, Jason Matusiak wrote: Thanks Dave, but that did not seem to work for me. Here were the commands I ran (slightly different than recommended, but that was for some different recipe mods that have nothing to do with this issue): $ export CXXFLAGS="-std=c++11" $

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Jason Matusiak
Thanks Dave, but that did not seem to work for me. Here were the commands I ran (slightly different than recommended, but that was for some different recipe mods that have nothing to do with this issue): $ export CXXFLAGS="-std=c++11" $ PREFIX=/opt/gnuradio/v3.7.12.0 $ yes | pybombs prefix

Re: [Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Dave NotTelling
Jason, You can set the CXXFLAGS env variable to "-std=c++11" and any CMake builds you run (assuming the same shell) will check the CXXFLAGS var first. This assumes that you don't overwrite the value of CMAKE_CXX_FLAGS. I just tried it in a terminal with `export CXXFLAGS="-std=c++11"`, then

[Discuss-gnuradio] install issue with c++11

2018-06-05 Thread Jason Matusiak
I am trying to install gnuradio onto a Centos 7 box and am having more and more issues with packages that use c++11 commands. For some of the packages, I add the line: CMAKE_CXX_FLAGS "-std=c++11" to the module's CMakeLists.txt file. The issue is that that requires a fetch, the mod, and then