VLC compilation problem
Posted: 13 Aug 2018 11:58
Hello,
I've tried to build VLC pretty long time already. I've faced many problems, but finally I've been able to compile it and made an installation package. I've used these instructions as a guideline https://wiki.videolan.org/Win32Compile/.
My environment is Ubuntu 18.04, where I've built MinGW from source, so I was able to get gcc8 compiler, which does not have weak_ref error anymore. I've been trying to build VLC for 64bit from vlc 3.0 git repository and apparently current version there's 3.0.4.
At the moment I'm able to open VLC with wine on my Ubuntu and I'm able to play videos with it without any problems. Still I can see in my terminal this kind of error: 002e:err:module:import_dll Library libgcc_s_seh-1.dll (which is needed by L"Z:\\home\\laatuv\\vlc-3.0.4-win64\\vlc-3.0.4\\plugins\\access\\libaccess_srt_plugin.dll") not found. This is my only clue now, as when I try to open my packaged vlc on Windows, nothing happens, only download icon appears to my mouse for 1 sec, but after that it turns back to normal. I've tried to open vlc from cmd, powershell and msys panels/terminals. These also doesn't provide any error messages. I've also tried to place this dll file next to vlc.exe and other folders, which are requesting it, but it doesn't make any difference. I like to add that installer and uninstaller.exe's works on windows.
What I also realized is that my vlc.exe is like 5-6x smaller than the one which I can download from vlc websites.
Does anyone have an idea, what might be wrong in my compilation? I also would like to ask, is there any difference, if I use "build.sh" instead of doing configure first and then make?
I've tried to build VLC pretty long time already. I've faced many problems, but finally I've been able to compile it and made an installation package. I've used these instructions as a guideline https://wiki.videolan.org/Win32Compile/.
My environment is Ubuntu 18.04, where I've built MinGW from source, so I was able to get gcc8 compiler, which does not have weak_ref error anymore. I've been trying to build VLC for 64bit from vlc 3.0 git repository and apparently current version there's 3.0.4.
At the moment I'm able to open VLC with wine on my Ubuntu and I'm able to play videos with it without any problems. Still I can see in my terminal this kind of error: 002e:err:module:import_dll Library libgcc_s_seh-1.dll (which is needed by L"Z:\\home\\laatuv\\vlc-3.0.4-win64\\vlc-3.0.4\\plugins\\access\\libaccess_srt_plugin.dll") not found. This is my only clue now, as when I try to open my packaged vlc on Windows, nothing happens, only download icon appears to my mouse for 1 sec, but after that it turns back to normal. I've tried to open vlc from cmd, powershell and msys panels/terminals. These also doesn't provide any error messages. I've also tried to place this dll file next to vlc.exe and other folders, which are requesting it, but it doesn't make any difference. I like to add that installer and uninstaller.exe's works on windows.
What I also realized is that my vlc.exe is like 5-6x smaller than the one which I can download from vlc websites.
Does anyone have an idea, what might be wrong in my compilation? I also would like to ask, is there any difference, if I use "build.sh" instead of doing configure first and then make?