OpenHEVC / openHEVC

HEVC decoder
http://openhevc.github.io/openHEVC/
532 stars 193 forks source link

Tried building on VC++ 14.0 (Visual studio15.0) . Gives link error LNK1104:cannot find file m.lib. please help #48

Open PraseethaSingh opened 8 years ago

pcabarat commented 8 years ago

We will need more details in order to help you

PraseethaSingh commented 8 years ago

Hi , I have run the cmakelist.txt using cmake to Create the .sln to run on VC ++. Have the yasm , Msys path included to the project .. I have not made any changes to the code .

pcabarat commented 8 years ago

From your error it seems to be related to libm. Try to remove the m from this line

target_link_libraries(LibOpenHevcWrapper m)

in CMakeList.txt If it does not work, you'll probably have to download or build a version of libm.