Comments (8)
This is what is generated in my CMakeError.log
Looking for a CSharp compiler failed with the following output:
CMake Error at /usr/share/cmake-3.22/Modules/CMakeDetermineCSharpCompiler.cmake:5 (message):
C# is currently only supported for Microsoft Visual Studio 2010 and later.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
CMake Error: CMAKE_CSharp_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/[username]/SoapySDR/build/swig/csharp/CMakeFiles/CheckCSharp/CMakeFiles/CMakeOutput.log".
Performing C++ SOURCE FILE Test SIZE_T_IS_UNSIGNED_INT failed with the following output:
Change Dir: /home/[username]/SoapySDR/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_758b9/fast && /usr/bin/gmake -f CMakeFiles/cmTC_758b9.dir/build.make CMakeFiles/cmTC_758b9.dir/>
gmake[1]: Entering directory '/home/[username]/SoapySDR/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_758b9.dir/src.cxx.o
/usr/bin/c++ -DSIZE_T_IS_UNSIGNED_INT -o CMakeFiles/cmTC_758b9.dir/src.cxx.o -c /home/[username]/SoapySDR/build/CMakeFiles/CMakeTmp/src.cxx
/home/[username]/SoapySDR/build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/home/[username]/SoapySDR/build/CMakeFiles/CMakeTmp/src.cxx:4:38: error: cannot convert ‘unsigned int*’ to ‘size_t*’ {aka ‘long unsigned int*’} in initia>
4 | size_t *x = (unsigned int *)(NULL);
| ^
gmake[1]: *** [CMakeFiles/cmTC_758b9.dir/build.make:78: CMakeFiles/cmTC_758b9.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/home/[username]/SoapySDR/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_758b9/fast] Error 2
Source file was:
#include <cstddef>
int main() {
size_t *x = (unsigned int *)(NULL);
return 0; }
from soapysdr.
Me too, kept getting the same error, have you solved this problem?
from soapysdr.
So what I did was install some libs. I think it is because the computer might not have it?
sudo apt-get install -y libpcap-dev
.
from soapysdr.
Also this:
sudo apt-get install python3-distutils
sudo apt-get install build-essential
from soapysdr.
Me too, kept getting the same error, have you solved this problem?
from soapysdr.
from soapysdr.
So the original posting mentions ubuntu 22.04 and Python 3.12. So I think thats a newer version of python than the system ships with.
So if I am hearing correctly, the code to get the python library install path is busted on newer version of python because of distutils. Can you share the complete output from running cmake and the version of python on the system?
A quick work around would be to print the desired path for python installs in swig/python/get_python_lib.py
from soapysdr.
My configuration is Ubuntu18.04 and Python3.7. I find "C# is currently only supported for Microsoft Visual Studio 2010 and later." in CMakeError.log.I think this is a problem with the Cmake version,so i update cmkae version(ubuntu18.04 with Cmake 3.12)to 3.23 . Then I do it again . It works.
from soapysdr.
Related Issues (20)
- Installing modules for latest ABI version HOT 3
- don't work without sudo HOT 1
- Help with integrating SoapySDR into UHD
- PlutoSDR needs zeroconf to work HOT 2
- Problems importing SoapySDR at venv
- Icom ICR8600 driver
- I Need Help Searching for Open Source Software Stack for 3G
- "soapy=0/1/2/3/4..." definitions? HOT 4
- SoapySDR not finding airspy after updates to raspberry pi OS HOT 7
- SoapySDR::Device::readStream timeout! Rsp1 HOT 1
- SoapySDRUtil does not find RTL-SDR v4 HOT 3
- _SoapySDR.so / SoapySDRPYTHON_wrap.h reproducible builds issue HOT 1
- Build fails: undefined symbol: SoapySDR::KwargsToString
- Module loading issue related to differences in dlopen default flags in macOS and linux HOT 7
- Soapy SDR No devices found HOT 9
- hackrf.h ### Example TX code utilizing the transfer and flush callbacks. HOT 2
- SoapyAirspy crashes when making device with log level SOAPY_SDR_DEBUG HOT 4
- Adding support for up/down converters
- soapy_power not working with a BladeRF HOT 9
- Ubuntu 22: Build python3-soapysdr for UHD 4.6 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soapysdr.