EttusResearch / uhd

The USRP™ Hardware Driver Repository
http://uhd.ettus.com
Other
997 stars 666 forks source link

Unable to compile tx_waveforms #75

Closed kirtyvedula closed 8 years ago

kirtyvedula commented 8 years ago

Trying to use make to compile tx_waveforms.cpp

The following error creeps up.

/home/usrp/tx_waveforms/tx_waveforms.cpp:18:25: fatal error: wavetable.hpp: No such file or directory

include "wavetable.hpp"

                     ^

compilation terminated. CMakeFiles/tx_waveforms.dir/build.make:54: recipe for target 'CMakeFiles/tx_waveforms.dir/tx_waveforms.cpp.o' failed make[2]: * [CMakeFiles/tx_waveforms.dir/tx_waveforms.cpp.o] Error 1 CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/tx_waveforms.dir/all' failed make[1]: * [CMakeFiles/tx_waveforms.dir/all] Error 2 Makefile:72: recipe for target 'all' failed make: *\ [all] Error 2

primercuervo commented 8 years ago

It seems that you are trying to compile tx_waveforms by locating it outside the uhd/host/examples/ directory, which is completely fine if that suits your needs.

Look that it is telling you that the compiler can't find the wavetable. You can either have the tx_waveforms located at uhd/host/examples/ and compile the whole uhd in a build directory that you create at /uhd/host/, or copy the wavetable to the directory in which you intend to compile.

The missing file is the following: https://github.com/EttusResearch/uhd/blob/master/host/examples/wavetable.hpp

primercuervo commented 8 years ago

There doesn't seem to be an issue with the code base. Please let us know if you overcome this problem. I suggest you take usage issues to the mailing list, where further discussion can take place with several expert readers.

http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

mbr0wn commented 8 years ago

How did you trigger this build?

mbr0wn commented 8 years ago

Since tx_waveforms compiles just fine on regular UHD, I'm closing this.