Notifications
Clear all

SDK Write

2 Posts
2 Users
0 Likes
6,558 Views
(@bjmesh)
Active Member
Joined: 12 years ago
Posts: 7
Topic starter  

--------------------Configuration: main - Win32 Debug--------------------
Compiling...
main.cpp
f:usbconnector.h(41) : error C2065: '__packed__' : undeclared identifier
f:usbconnector.h(41) : error C2440: 'initializing' : cannot convert from 'int' to 'struct Smeasurementvalue'
No constructor could take the source type, or constructor overload resolution was ambiguous
f:main.cpp(46) : warning C4305: 'argument' : truncation from 'const double' to 'float'
Error executing cl.exe.

main.exe - 1 error(s), 0 warning(s)

How to solve this problem


   
Quote
(@mm_dev)
Reputable Member Admin
Joined: 13 years ago
Posts: 330
 

Use another compiler, the old (unsupported) programmers guide is not compatible with MSVC, only tested with MinGW. The current ASDK is tested with MSVC, and MinGW support may be added in a future version (would require a separate set of libraries).


   
ReplyQuote
Share: