sccn / liblsl

C++ lsl library for multi-modal time-synched data transmission over the local network
Other
115 stars 67 forks source link

Build the lib under x64 #52

Closed hoangphamemotiv closed 4 years ago

hoangphamemotiv commented 4 years ago

hi, i see that seem we just have cmake config for building x86. do we have plan to update it to x64? or did i miss something?

cboulay commented 4 years ago

It builds under x64. Tell me what platform / arch / compiler are you using and I can point you to specific instructions.

hoangphamemotiv commented 4 years ago

@cboulay i am using Windows 10, x64, VS2017. ^^! i built with 32bit. it works fine

tstenner commented 4 years ago

It depends on which CMake Generator you're using.

For the Visual Studio generators, you have to specify the toolset (e.g. cmake -G "Visual Studio 16 2019" -A x64, for Makefile / Ninja generators you have to have the correct compiler set in your environment variables, e.g. by launching the "Native command prompt for x64".

hoangphamemotiv commented 4 years ago

thank @tstenner i missed it on the configure step. now it works for me