taroz / GNSS-SDRLIB

An Open Source GNSS Software Defined Radio Library
452 stars 175 forks source link

How to use VS2015 open GUI ? #8

Open yealwang opened 7 years ago

yealwang commented 7 years ago

Severity Code Description Project File Line Suppression State Error LNK2001 unresolved external symbol __imp___iob_func gnss-sdrcli E:\GNSS-SDRLIB\GNSS-SDRLIB-2017030127for-ubuntu\cli\win\gnss-sdrcli\libnslstereo.a(nslstereo_STA.o) 1

radiojitter commented 7 years ago

yes, i faced the same issue , dnt know how to resolve

yealwang commented 7 years ago

Have you solve this issues

radiojitter commented 7 years ago

I removed stereo related all code and now it is working

radiojitter commented 6 years ago

Hi, i could compiler the complete code base in VS 2017, no code is removed :-)

qingliu2 commented 6 years ago

I build it in VS 2017, but the error still exist, 1) Severity Code Description Project File Line Suppression State Error LNK2019 unresolved external symbol __imp___iob_func referenced in function STEREO_SendFpga gnss-sdrgui F:\GNSS-SDRLIB\gui\gnss-sdrgui\libnslstereo.a(nslstereo_STA.o) 1
2) Severity Code Description Project File Line Suppression State Error LNK1120 1 unresolved externals gnss-sdrgui F:\GNSS-SDRLIB\gui\x64\Debug\gnss-sdrgui.exe 1

radiojitter commented 6 years ago

Hello Friends If you would like to build on BladeRF, there have been issues on BladeRF library for 64 bit windows(i dont remember what). But if you like to build on another platform rather than BladeRF so comment out all the code which call BladeRF drivers/API. I did the same way because I wanted to build on RTL SDR only. Thanks Priyasloka

On Sun, May 27, 2018 at 10:11 PM, qingliu2 notifications@github.com wrote:

I build it in VS 2017, but the error still exist,

  1. Severity Code Description Project File Line Suppression State Error LNK2019 unresolved external symbol __imp___iob_func referenced in function STEREO_SendFpga gnss-sdrgui F:\GNSS-SDRLIB\gui\gnss- sdrgui\libnslstereo.a(nslstereo_STA.o) 1
  2. Severity Code Description Project File Line Suppression State Error LNK1120 1 unresolved externals gnss-sdrgui F:\GNSS-SDRLIB\gui\x64\Debug\gnss-sdrgui.exe 1

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/taroz/GNSS-SDRLIB/issues/8#issuecomment-392346110, or mute the thread https://github.com/notifications/unsubscribe-auth/AGVgG22HArDX4eQ7Mg7XArhL62opOiUzks5t2tcjgaJpZM4Mq_q- .

qingliu2 commented 6 years ago

Hello, Thanks for your reply! I also just want to play the SDR with RTL-SDR. The software told me it failed to open device 0, so I want to modify the code and rebuild it. When I build the sln in VS 2017, the above error arose. Yours Qing

qingliu2 commented 6 years ago

Hi I rebuild the project in VS 2012, and the SDR runs. But, it can't detect the satellites. The output results in the Monitor are the same whether RTL-SDR is connected to GNSS antenna or not. Some suggestions? Yours Qing

errorplayer commented 5 years ago

Hi, i could compiler the complete code base in VS 2017, no code is removed :-)

Hi I rebuild the project in VS2017, but so many obj files report error. error I find that there are only head files in /fec and /fft folder without any c/cpp file. Therefore, many functions called in the project have no definition. How did you solve it ? Thank you in advance.

mafrmt00 commented 5 years ago

I was able to compile ist with VS2015 by adding the following code at the top of gnss-sdrgui.cpp

FILE _iob[] = { *stdin, *stdout, *stderr };

extern "C" FILE * __cdecl __iob_func(void)
{
    return _iob;
}
lwjSMIlE2021 commented 2 years ago

嗨,我可以在 VS 2017 中编译完整的代码库,没有删除任何代码:-)

你好 我在VS2017重建项目,但是很多obj文件报错。 我发现 /fec 和 /fft 文件夹中只有头文件,没有任何 c/cpp 文件。因此,项目中调用的很多函数都没有定义。你是怎么解决的?先感谢您。 错误

You need to link lib