missing SDL2.dll after installation #49508
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
15 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#49508
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 10 64 32 GB Ram
Blender Version
Broken:: Blender 2.78 Date 2016-09-26 12:42
Worked: (optional)
Blender dosn't start it misses SDL2.dll after installation
Added from nighly build the SDL2.dll to the Blender Path then it starts
Michael
Changed status to: 'Open'
Added subscriber: @MichaelCalmbach
#49569 was marked as duplicate of this issue
#49549 was marked as duplicate of this issue
#49554 was marked as duplicate of this issue
#49525 was marked as duplicate of this issue
Added subscriber: @Tommy-8
I have same issue when installing on two separate Windows 10 machines. I got it working on both by re-installing package and choosing "repair installation", then all seems fine.
Tom
Added subscribers: @tom-37, @PeterToth
Same here as at Tom (Tommy), but on Win. 8.1 64-bit. Used 'Repair' option of the MSI setup, and it has fixed the issue.
DelD.
Added subscriber: @rickyblender
Added subscriber: @kai_mach
The repair option did the trick for me as well. I'm on Win 7 x64.
Added subscriber: @ChurowPark
Same here. Fixed by "Repair"
tried latest built and still missing SDL2.dll
I re install it and use the repair function
and now seems to work
it did create in app folder on win 64 a new config folder
but it did not use the old config from 2.77
so I had to copy old config folder to the 2.78 folder manually
thanks
happy bl
Added subscriber: @jta
A couple pokes in the dark here. Maybe a virus scanner is blocking the expanding of that dll from a false positive or just holding it up during scanning might be causing the installer to not copy the file. I've had virus scanners hold things up before and cause similar issues in general.
Also this dll missing issue seems to be a common for downloaded games. So maybe it's an installer issue confusing the 32/64 bit versions? The installer usually does an ok job with the ver utility properly identifying dll versions so maybe there's a bug there or in the install script? Then somehow the installer fixes it on repair I see posted here.
Again just poking in the dark and helping out by harassing some of the usual suspects...
Added subscriber: @brecht
If anyone can still reproduce this, attaching the MIS installer log to this report might provide a clue. You can generate that by running the installer like this from a command prompt (windows key + R, type
cmd
), adapt the path as needed:Further useful information could be:
Added subscriber: @ClaasKuhnen
@brecht
MacPro 2008
Win10
No extra Virus Scanner
Default Win Defender is running
I cannot find the SDL2.dll on the HD anywhere.
When entering your command I get this:
Thanks for testing. To generate the log, you would first uninstall Blender. Then you would run this command to install it again, and the log file will be at c:\Users\info\blender-2.78-install-log.txt after installation is completed.
Ideally (for us) the SDL2.dll error would happen also after this second installation, though even if Blender then runs without the error the log may have useful information.
@brecht
Blender runs now
The SDL2.dll is in the folder - I did not check before if it was visually there
blender-2.78-install-log.txt
Added subscriber: @bliblubli
For me it only fails when installing the first time over 2.77a. Repairing or desinstalling then reinstalling resolves the problem.
Funny. Can't reproduce the issue anymore.
1st attempt:
2nd attempt:
The only difference between now and 2 days ago: my AV was updated yesterday to a new version and virus db.
No idea what's going on.
Cheers,
DelD.
Ahha. I've left out the scenario mentioned by bliblu bli - installing over 2.77a... That's another difference to the state of my PC 2 days ago.
I found 2 errors fir bl
1 -
Application 'H:\Program Files\Blender Foundation\Blender\blender.exe' (pid 2844) cannot be restarted - Application SID does not match Conductor SID..
2 -
if more information about the problem is available, check the problem history in the Security and Maintenance control panel.
Process ID: 26b8
Start Time: 01d21b6bd4105a33
Termination Time: 17
Application Path: H:\Program Files\Blender Foundation\Blender\blender.exe
Report Id: 798f9ed1-875f-11e6-b5a8-a4db302dab58
Faulting package full name:
Faulting package-relative application ID:
also nee to follow this
blender error / bug
You could also look up the Event Viewer application, then click Administrative Events, click the Source header to sort by source type, look for Application Error sources, then look for an error dealing with blender.exe. (check the date to make sure it's the error you just had, not something from a year ago)
thanks for reminding this little log on win
thanks
happy bl
I managed to repro the problem now on Windows 10, by uninstalling all Blender versions, installing Blender 2.77a, 64bit and then installing Blender 2.78 64bit over that.
Heres the log: blender-2.78-install-log.txt. We can see SDL2.dll getting remove but not re-added, unlike the other dlls. At the install validation stage, SDL2.dll is the only file which has
Action: Null
.There is this message, where
DA74128A-0D77-5E97-B3A1-3C0AF6EE9F9B
corresponds toSDL2.dll
.I don't understand yet how these version numbers are determined. This seems relevant:
https://blogs.msdn.microsoft.com/astebner/2015/11/16/why-windows-installer-removes-files-during-a-major-upgrade-if-they-go-backwards-in-version-numbers/
Added subscriber: @LazyDodo
So the file version is embedded in the SDL2.dll itself. The one included in 2.77a has version 2.0.4.0, the one included in 2.78 has 2.0.3.0. This can be verified by simply right clicking on the file and looking at Properties > Details.
@LazyDodo, I guess you might have more insight in how the SDL2.dll could have ended up with a lower version? The solution may be to rebuild SDL, ensuring it's using version 2.0.4.0 or higher?
This MSI behavior makes no sense to me, but from reading various online sources it seems that this is just how it works. To prevent this in the future I guess we would always have to test installing over an old version, though it would be nice if we had a more automatic way of catching this.
Added subscriber: @MartijnBerger
According to svn log, the last update to SDL in svn was in 2014 when it got bumped to 2.0.3.0, The only way 2.77a had 2.0.4.0 is if @MartijnBerger build the previous installer with a tainted svn repo.
Seems silly to upgrade a library just to get around a wonky installer issue, but say the word and i'll update svn to 2.0.4.0
I suggest to just upgrade, I don't have a better solution.
Done! rBL61732 and rBL61733
Ok, I think we need a new installer with just this fix? Or we could wait for 2.78a, but personally would rather see this fixed as soon as possible.
Added subscriber: @dfelinto
+1 for a new installer . I'm glad you figured this out @brecht !
Issuing a new installer with the same version number, while a solution for this problem, will open up another can of worms (see #49200) It's probably better that we fix this in 2.78a
Added subscriber: @A-Halm
Added subscriber: @fablefox
Added subscribers: @nantille, @Sergey
Added subscribers: @EricMoore, @mont29
Changed status from 'Open' to: 'Resolved'
Resolved in 2.78a