[gecode-users] Loading the C runtime library without using a manifest

Christian Schulte cschulte at kth.se
Tue Jan 18 20:40:53 CET 2011


How about releasing a new version within a week. Would be in fact less work
than backporting and some more bug fixes would get out.

 

Deal?

 

Christian

 

--

Christian Schulte, web.ict.kth.se/~cschulte/

 

 

From: Alexander Kleff [mailto:alexander.kleff at ptv.de] 
Sent: Tuesday, January 18, 2011 7:02 PM
To: cschulte at kth.se
Subject: AW: [gecode-users] Loading the C runtime library without using a
manifest

 

Hi,

 

At least I need some fix now, so either your back port or my workaround. To
back port would be very kind of you as the workaround is a bit involved
because the manifest is created automatically and has to be edited by hand
afterwards (or possibly by a script in the future).

I don't know how much inconvenience it causes to you to back port but it
would help me very much.

 

Best regards,

Alexander

 

Von: Christian Schulte [mailto:cschulte at kth.se] 
Gesendet: Dienstag, 18. Januar 2011 14:25
An: Alexander Kleff; users at gecode.org
Betreff: RE: [gecode-users] Loading the C runtime library without using a
manifest

 

If you really insist I could back port the fix to 3.4.2 and release new MSIs
for windows. Or could you wait for the next release?

 

Christian

 

--

Christian Schulte, www.ict.kth.se/~cschulte/

 

From: Alexander Kleff [mailto:alexander.kleff at ptv.de] 
Sent: Tuesday, January 18, 2011 2:20 PM
To: cschulte at kth.se; users at gecode.org
Subject: AW: [gecode-users] Loading the C runtime library without using a
manifest

 

Hi,

 

indeed, with these dlls I do not need to change anything in my test
application to make it run (didn't try it in the actual application). So for
now, I'm fine. Thanks.

Do you intend to provide x64 and debug binaries as well?

Would be nice.

 

Best regards,

Alexander

 

Von: Christian Schulte [mailto:cschulte at kth.se] 
Gesendet: Dienstag, 18. Januar 2011 11:43
An: 'Christian Schulte'; Alexander Kleff;  <mailto:users at gecode.org>
users at gecode.org
Betreff: RE: [gecode-users] Loading the C runtime library without using a
manifest

 

Hi Alexander,

 

I just build dlls for Gecode 3.4.2 with manifests embedded. Could you please
try whether this solves your problem?

 

An archive with just the dlls, pdbs, and libs can be found here (they are
actually build from the trunk but should work):

                http://dl.dropbox.com/u/5119459/Gecode-3.4.2-manifest-dll.7z

 

Best

Christian

 

--

Christian Schulte, www.ict.kth.se/~cschulte/

 

From: Christian Schulte [mailto:cschulte at kth.se] 
Sent: Friday, January 14, 2011 4:01 PM
To: 'Alexander Kleff'; 'users at gecode.org'
Subject: RE: [gecode-users] Loading the C runtime library without using a
manifest

 

Hi,

 

Actually I have to admit that (as you found out) we have to tried to ignore
this as much as possible, in particular as MSVC 2008 and MSVC 2010 do and
require different things regarding manifests.

 

Okay, the first user has complained: we are going to look into it in one of
the next (if not the next) releases. Could I get back to you as a possible
tester of what we might do?

 

Thanks for letting us know.

 

Best

Christian

 

--

Christian Schulte, www.ict.kth.se/~cschulte/

 

From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Alexander Kleff
Sent: Friday, January 14, 2011 3:52 PM
To: users at gecode.org
Subject: [gecode-users] Loading the C runtime library without using a
manifest

 

Hi everyone!

According to the last sentence in the last mail under "Linking to Gecode
with Microsoft Visual C++" you wait until somebody complains about the
absence of a manifest.

Well, I had some trouble loading Gecode libraries as I ran into the
Microsoft runtime error R6034 which is "An application has made an attempt
to load the C runtime library without using a manifest." Since Gecode
doesn't come with a manifest, I added a <dependency> statement for the
needed runtime to the manifest of the calling application manually. So now
it loads but it seems to me that it would be "cleaner" to have this in
Gecode. Do you agree? Or am I mislead?

For the sake of completeness, I'm currently migrating to Visual Studio 2010
under Win7. By the way, the calling application is written in C#.

Best regards,

Alexander

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20110118/2fe43f43/attachment.htm>


More information about the users mailing list