Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5363

building 64-bit static lib

$
0
0

I'm trying to update the ReadSaveJpeg library for 64-bit.  I created a new project, attached these files and set it up for a 64-bit build, all default settings (whose build options compiler defines are set to /DWIN32_LEAN_AND_MEAN).

 

The first attempt generated a *.lib file that was in fact still 32-bit though I was using the Release64 build output.  I know this because in my project that uses this library, CVI is graying out the file and considers it 32-bit:

 

2019-06-19 12_19_43-c__..._SVN Checkouts_XRF Source Driver_XRF Source DLL.cws.pngoutputted lib is actually 32-bit

So then I played with the build compiler options, guess on a /_NI_x64_. This resulted in a much larger lib file which was then properly identified as 64-bit:

 

2019-06-19 12_08_58-c__..._SVN Checkouts_XRF Source Driver_XRF Source DLL.cws.png

 

However, compiling my main application with Release64 gives me either 32-bit warnings or "input file not a valid archive" errors.


Viewing all articles
Browse latest Browse all 5363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>