Search found 5 matches

by jenilsen
Mon Feb 04, 2019 3:39 pm
Forum: C and C++
Topic: API problem using mingw-w64 gcc
Replies: 6
Views: 1392

Re: API problem using mingw-w64 gcc

Using the full Library Path, instead of '.' fixed the problem. Many thank :D
by jenilsen
Mon Jan 14, 2019 9:19 am
Forum: C and C++
Topic: API problem using mingw-w64 gcc
Replies: 6
Views: 1392

Re: API problem using mingw-w64 gcc

Yes, I used your example code from GitHub as is, just fixing warnings on "scanf_s" and "fscanf_s" first.
by jenilsen
Mon Jan 14, 2019 8:20 am
Forum: C and C++
Topic: API problem using mingw-w64 gcc
Replies: 6
Views: 1392

Re: API problem using mingw-w64 gcc

Hi Martyn Thank you for answer. mingw-w64 does not "understand" 64-bit MSVC library files, so I have focused on 32-bit SDK. I have tried with both 32bit and 64bit SDK's installed, one by one, not simultanuous. Command line: gcc ps2000aCon.c -o ps.exe -L. -lps2000a (With 32-bit lib2000a.lib in direct...
by jenilsen
Thu Dec 20, 2018 10:04 am
Forum: C and C++
Topic: API problem using mingw-w64 gcc
Replies: 6
Views: 1392

API problem using mingw-w64 gcc

Hi I am working on a project with PS2206B. The OS is Win10 pro. Compiled with MSVC, the example ps2000aCon.c runs fine. Compiled with mingw-w64, using ps2000a 64-bit library (I have to fix warnings on "scanf_s" and "fscanf_s" first): gcc ps2000aCon.c -o ps.exe -L. -lps2000a I get many errors like th...
by jenilsen
Fri Dec 07, 2018 2:33 pm
Forum: Introductions
Topic: ps2206b API problem
Replies: 1
Views: 417

ps2206b API problem

Hi I have installed PicoScope 6 on my Win10 PC and it works fine. I have installed SDK 64 and compiled picosdk-c-examples-master\ps2000\ps2000Con by Visual Studio 2017. Visual Studio had to upgrade the project files first. When I start debugging, the ps2000Con program starts, but it prints "Unable t...