GNSS-SDRLIB icon indicating copy to clipboard operation
GNSS-SDRLIB copied to clipboard

How to use VS2015 open GUI ?

Open yealwang opened this issue 7 years ago • 11 comments

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

yealwang avatar Mar 28 '17 00:03 yealwang

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

radiojitter avatar Apr 26 '17 09:04 radiojitter

Have you solve this issues

yealwang avatar Jun 01 '17 18:06 yealwang

I removed stereo related all code and now it is working

radiojitter avatar Sep 16 '17 18:09 radiojitter

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

radiojitter avatar Sep 18 '17 05:09 radiojitter

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

qingliu2 avatar May 27 '18 16:05 qingliu2

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 [email protected] 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- .

radiojitter avatar May 27 '18 16:05 radiojitter

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 avatar May 28 '18 06:05 qingliu2

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

qingliu2 avatar May 28 '18 15:05 qingliu2

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.

errorplayer avatar Oct 02 '18 14:10 errorplayer

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;
}

mafrmt00 avatar Jun 27 '19 05:06 mafrmt00

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

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

You need to link lib

lwjSMIlE2021 avatar Oct 28 '21 07:10 lwjSMIlE2021