You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2011-12-11 04:44:41

Latios
Member
Registered: 2011-12-11
Posts: 1

Issue while compiling

Well when trying to compile with Visual Studio 2011 Developer Preview i get this:

1>zlib-vc8-Win32.lib(inffas32.obj) : error LNK2026: module unsafe for SAFESEH image.
1>zlib-vc8-Win32.lib(gvmat32.obj) : error LNK2026: module unsafe for SAFESEH image.
1>C:\Users\Latios\Desktop\Desmume\src\windows\\__bins\DeSmuME_VS2008_release.exe : fatal error LNK1281: Unable to generate SAFESEH image.

I've been trying to look on google and everywere but can't find solution to this. Any idea?

Offline

#2 2011-12-11 18:41:00

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 5,710

Re: Issue while compiling

this isn't a desmume problem, so your google/guess is as good as ours.
http://randomlearningnotes.wordpress.com/
something like that is going on. need to get SAFESEH turned off.

Offline

#3 2013-04-17 06:45:20

DaMan
Member
Registered: 2011-01-01
Posts: 59

Re: Issue while compiling

The assembly for zlib isn't built with safeseh by default.  Add "/safeseh" to each line in bld_ml32.bat file before building zlib or just use the C version if you're lazy.

Offline

#4 2013-04-17 15:39:15

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 5,710

Re: Issue while compiling

this was fixed in svn 2 days ago or so

Offline

#5 2013-04-18 00:58:32

Squall Leonhart
Member
Registered: 2013-01-22
Posts: 115

Re: Issue while compiling

why responding to such an old thread?

Offline

#6 2013-04-18 01:46:39

DaMan
Member
Registered: 2011-01-01
Posts: 59

Re: Issue while compiling

I couldn't find the other thread with all the patches.  If anyone wants to put something into that zlib126 folder they can fix this the "right" way.

Offline

Board footer

Powered by FluxBB