Search found 9 matches

by don
Fri Dec 16, 2016 7:53 pm
Forum: wimlib discussion
Topic: How To: Build examples using Visual Studio
Replies: 5
Views: 16770

Re: How To: Build examples using Visual Studio

As requested I tested building the capturewim example using Visual Studio 2015 and the latest wimlib (wimlib-1.11.0-BETA2). Tested both architectures. Worked great! Here are the relevant files from the release and what I did with them: Common \devel\wimlib.h -> \[console_project] i686 libwim-15.dll ...
by don
Wed Dec 14, 2016 4:19 pm
Forum: wimlib discussion
Topic: Pipable - Alternatives to stdin/out
Replies: 3
Views: 8127

Re: Pipable - Alternatives to stdin/out

Agreed it's probably beyond the scope. I thought there might be some additional flexibility around pipable given it's a wimlib-specific format. :) As you know there are quite a few constraints around the WIM format, and you've given us some great potential freedoms by combining the pipable format wi...
by don
Tue Dec 13, 2016 6:05 pm
Forum: wimlib discussion
Topic: Pipable - Alternatives to stdin/out
Replies: 3
Views: 8127

Pipable - Alternatives to stdin/out

I love the pipable wim concept, and the ability to capture/apply via STDOUT/STDIN works for a number of use cases. Would you consider adding the ability to work with the pipable data via an API callback? This is a pattern I've seen in compression libraries that could be a be a way to allow preproces...
by don
Mon Nov 21, 2016 3:57 pm
Forum: wimlib discussion
Topic: How To: Build examples using Visual Studio
Replies: 5
Views: 16770

Re: How To: Build examples using Visual Studio

That's great news. Not sure if you want to add a stretch goal while you're in there, but thought I would mention it... The import library (libwim.dll.a) has been working great so far in using libwim-15.dll dynamically. Let's say for a second you would like to use Visual Studio to create a standalone...
by don
Fri Nov 18, 2016 9:02 pm
Forum: wimlib discussion
Topic: How To: Build examples using Visual Studio
Replies: 5
Views: 16770

How To: Build examples using Visual Studio

It's been fun figuring out how to build the wimlib examples using Visual Studio so I thought I'd share. Here are the high level tasks that must be performed as of wimlib 1.10.0: - Build wimlib from source (both i686 and x86_64 architectures). - Create a new Win32 Console Application using Visual Stu...
by don
Wed Nov 16, 2016 6:35 pm
Forum: wimlib discussion
Topic: Win32 App - Undefined struct 'timespec' when using VS 2013
Replies: 3
Views: 18155

Re: Win32 App - Undefined struct 'timespec' when using VS 2013

FWIW, this is a non-issue on Visual Studio 2015 as Microsoft decided it was finally "time" to define timespec. You can find it in the time.h included in version 10 of the Windows Kits: C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h #ifndef _CRT_NO_TIME_T struct tim...
by don
Wed Nov 16, 2016 4:39 pm
Forum: wimlib discussion
Topic: Win32 App - Undefined struct 'timespec' when using VS 2013
Replies: 3
Views: 18155

Win32 App - Undefined struct 'timespec' when using VS 2013

When using Visual Studio 2013, if you reference only the headers mentioned in the docs (wimlib.h, wimlib_tchar.h) and build an otherwise empty project, you receive the following errors: Error 1 error C2079: 'wimlib_dir_entry::creation_time' uses undefined struct 'timespec' wimlib.h Error 2 error C20...
by don
Mon Nov 14, 2016 5:19 pm
Forum: wimlib discussion
Topic: Statically linked like the official binary
Replies: 4
Views: 10019

Re: Statically linked like the official binary

Yes, exactly. Basically the process of building the library (e.g. libwim-15.dll) on Windows where third-party libraries are statically linked. As requested, I've worked through the issues and have come up with steps that may be appropriate for inclusion in a future README.WINDOWS. Additional Cygwin ...
by don
Fri Nov 11, 2016 7:23 pm
Forum: wimlib discussion
Topic: Statically linked like the official binary
Replies: 4
Views: 10019

Statically linked like the official binary

Hi, I followed the build instructions in README.WINDOWS and successfully created binaries (1.10.0) with dynamically linked libraries. Thank you for great instructions. I would like to be able to do the same but link the dependencies statically. The build instructions mention this is how the official...