Forum moved here!

Home / Current git version doesn’t build

ianas

downloaded the current git from https://github.com/sumatrapdfreader/sumatrapdf/tree/master

I got a lot of missing files errors for example
4>c1 : fatal error C1083: Cannot open source file: ‘…\ext2\openjpeg\src\lib\openjp2\cidx_manager.c’: No such file or directory
4>c1 : fatal error C1083: Cannot open source file: ‘…\ext2\openjpeg\src\lib\openjp2\cio.c’: No such file or directory

the ext2 dir in the current git seams to be empty
https://github.com/sumatrapdfreader/sumatrapdf/tree/master/ext2
has no files
any idea about how to build the latest revision?

ianas

I tried downloading openjpeg and putting it’s source in ext2 but that only created more build errors?

ps. this new comment system seams to create thumbnails from links
maybe that can be turned off and urls’s not be parsed?

kjk

Make sure to follow checkout instructions: https://github.com/sumatrapdfreader/sumatrapdf/blob/master/readme.md

We started using git submodules recently.

kjk

As to the urls, I think it’s because you’ve put them on a separate line. I’ve edited the post to fix this.

ianas

I used the zip download github provides https://github.com/sumatrapdfreader/sumatrapdf/archive/master.zip
I’ll try downloading it thru git (I don’t have it I have to get and configure it)
I use to use the svn checkout for github it has the same issue
svn checkout https://github.com/sumatrapdfreader/sumatrapdf/tree/master sumatrapdf

kjk

It looks github doesn’t include submodules in their archives (https://github.com/dear-github/dear-github/issues/214). Nothing I can do about it (or about svn access).