Thanks for you reply, Steve.
Between this and the your other reply I have a completed build.
Mostly -ldl needed to be added to the link command which I did by adding it to
the command-line in link.txt.
But that doen't answer the question of why "-ldl" is not being included to
begin with. My understanding of how cmake works is very limited and can't try
to figure it out tonight.
If anyone has some concrete things for me to test I can do that.
Inline i have more details and some questions.
From: [email protected]
To: [email protected]
Is this what you did:
No To begin with it was simply:
cmake ../
make
resulting in the linking error
I tried your recipe and it also didn't work for me, but it did help.
---------------------------------
cd freedv-dev
mkdir mybuild
cd mybuild
cmake -DBOOTSTRAP_WXWIDGETS=TRUE ~/freedv-dev ../
What does the ~/freedv-dev do here? I didn't see anything in the make man page
to explain it
make should be addded here, shouldn't it?
The result here is errors with building wxWidgets. I have wxWidgets actually
installed so I don't need this part.
cmake ../
make
sudo ldconfig
What does the ldconfig do here since it doesn't seem like anything was
installed to the system?
cmake -DBOOTSTRAP_WXWIDGETS=TRUE -DUSE_STATIC_CODEC2=TRUE
-DUSE_STATIC_PORTAUDIO=TRUE -DUSE_STATIC_SOX=TRUE ../
make
freedv should now be in src/
sudo ldconfig
sudo make install
finished
--------------
This what worked for me. Basically what you suggested minus anything of the
wxWidgets stuff
I a fresh build directory,
cmake -DUSE_STATIC_CODEC2=TRUE -DUSE_STATIC_PORTAUDIO=TRUE
-DUSE_STATIC_SOX=TRUE ../
make
cd src
<run the link command line in ./CMakeFiles/freedv.dir/link.txt with "-ldl"
added near the beginning>
cd ..
make #just to make sure the build is compled
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2