Question

im just starting out with FreeSwitch, i downloaded via git, and am trying to build in VS

all i need i believe are the dlls of mod_managed, as my goal is to manage FS via .net

but i get 248 errors, most look something like this:

Error 5 error C1083: Cannot open source file: '....\jpeg-8d\jaricom.c': No such file or directory D:\FreeSwitch\freeswitch\libs\win32\libjpeg\c1 libjpeg

btw, i searched windows and cannot find any such file anywhere on my pc.

I tried

  • cleaning the solution first, but it did not help
  • moving the file to a path without spaces
  • downloading with autocrlf=false
  • building on another machine

but none of these steps helped

anybody have any idea?

if i can just download the dlls i need, i wouldnt mind skipping this step altogether

environment

  • win 8 64bit
  • visual studio 2012

thanks a million

Était-ce utile?

La solution

The libjpeg sources are not in the git sources but are normally downloaded during the build process. If you build the entire solution that should not be a problem since it has the project dependencies set: libjpeg.2012 depends on Download libjpg.2012, which means the latter gets built before the first. All Download libjpg.2012 is run a cscript which downloads libjpeg from http://www.ijg.org/files/jpegsrc.v8d.tar.gz (see inside the project file).

So if you do not have the sources, either you are building incorrectly (not in VS for instance, or with a broken solution file) or the download script is broken. In that case, you should inspect the output: I assume it shows errors when it can not download the libs.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top