Executable published for Linux are very slow to start
Installing Unity 2017.1.0f2 In Docker Container
Where are linux assets stored (Ubuntu)? [Previous questions didn't help.]
Right Stick works fine in editor, but doesn't work after build
DllNotFoundException libmonoposix
How to install Unity on Linux?
Need help compiling Unity Native Audio Plugins for Linux, got "multiple definition of" errors.
https://bitbucket.org/Unity-Technologies/nativeaudioplugins/downloads/
That repository includes the sources, as well as a compiled version for Win32, Win64 and Mac... but not for Linux!
The problem is: I'm a total noob in both Linux and C++.
Here is what I've done so far:
- Installed Virtual Box on my Windows 7
- Downloaded and installed a Debian 9.4 (64bits)
- Told apt-get to stop trying to get everything from the virtual install dvds instead of Internet
- `apt-get update`
- `apt-get upgrade`
- `apt-get install build-essential` (for g++)
- `apt-get install module-assistant` (to be able to copy-paste, drag n drop and create shared directories between my Windows and Debian)
- Created a shared directory containing the sources of Unity Native Audio Plugins
- Tried to use the Makefile I found in the sources but got `multiple definition of` errors. I didn't change the sources so it must be a configuration problem. Can someone help me figure out what's going on please? Here is the output in the terminal after typing `make` in the shared directory.
root@VirtualDebian64:/media/sf_SharedFiles/NativeAudioPlugin# make g++ -I. -O2 -fPIC -c AudioPluginUtil.cpp g++ -I. -O2 -fPIC -c Plugin_ConvolutionReverb.cpp g++ -I. -O2 -fPIC -c Plugin_CorrelationMeter.cpp g++ -I. -O2 -fPIC -c Plugin_Equalizer.cpp g++ -I. -O2 -fPIC -c Plugin_Granulator.cpp g++ -I. -O2 -fPIC -c Plugin_ImpulseGenerator.cpp g++ -I. -O2 -fPIC -c Plugin_ImpactGenerator.cpp g++ -I. -O2 -fPIC -c Plugin_LevelMixer.cpp g++ -I. -O2 -fPIC -c Plugin_Lofinator.cpp g++ -I. -O2 -fPIC -c Plugin_LoudnessMeter.cpp g++ -I. -O2 -fPIC -c Plugin_ModalFilter.cpp g++ -I. -O2 -fPIC -c Plugin_Multiband.cpp g++ -I. -O2 -fPIC -c Plugin_NoiseBox.cpp g++ -I. -O2 -fPIC -c Plugin_Oscilloscope.cpp g++ -I. -O2 -fPIC -c Plugin_PitchDetector.cpp g++ -I. -O2 -fPIC -c Plugin_RingModulator.cpp g++ -I. -O2 -fPIC -c Plugin_Routing.cpp g++ -I. -O2 -fPIC -c Plugin_SpatializerReverb.cpp g++ -I. -O2 -fPIC -c Plugin_SpatializerReverb.cpp g++ -I. -O2 -fPIC -c Plugin_StereoWidener.cpp g++ -I. -O2 -fPIC -c Plugin_Synthesizer.cpp g++ -I. -O2 -fPIC -c Plugin_TeeBee.cpp g++ -I. -O2 -fPIC -c Plugin_TeeDee.cpp g++ -I. -O2 -fPIC -c Plugin_Teleport.cpp g++ -I. -O2 -fPIC -c Plugin_TubeResonator.cpp g++ -I. -O2 -fPIC -c Plugin_Vocoder.cpp g++ -I. -O2 -fPIC -c Plugin_WahWah.cpp g++ -I. -O2 -fPIC -c hrtftable.cpp g++ -shared -rdynamic -fPIC -o libAudioPluginDemo.so AudioPluginUtil*.o Plugin_ConvolutionReverb*.o Plugin_CorrelationMeter*.o Plugin_Equalizer*.o Plugin_Granulator*.o Plugin_ImpulseGenerator*.o Plugin_ImpactGenerator*.o Plugin_LevelMixer*.o Plugin_Lofinator*.o Plugin_LoudnessMeter*.o Plugin_ModalFilter*.o Plugin_Multiband*.o Plugin_NoiseBox*.o Plugin_Oscilloscope*.o Plugin_PitchDetector*.o Plugin_RingModulator*.o Plugin_Routing*.o Plugin_Spatializer*.o Plugin_SpatializerReverb*.o Plugin_StereoWidener*.o Plugin_Synthesizer*.o Plugin_TeeBee*.o Plugin_TeeDee*.o Plugin_Teleport*.o Plugin_TubeResonator*.o Plugin_Vocoder*.o Plugin_WahWah*.o hrtftable*.o Plugin_SpatializerReverb.o: In function `SpatializerReverb::InternalRegisterEffectDefinition(UnityAudioEffectDefinition&)': Plugin_SpatializerReverb.cpp:(.text+0x0): multiple definition of `SpatializerReverb::InternalRegisterEffectDefinition(UnityAudioEffectDefinition&)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0x0): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::CreateCallback(UnityAudioEffectState*)': Plugin_SpatializerReverb.cpp:(.text+0xa0): multiple definition of `SpatializerReverb::CreateCallback(UnityAudioEffectState*)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0xa0): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::ReleaseCallback(UnityAudioEffectState*)': Plugin_SpatializerReverb.cpp:(.text+0xf0): multiple definition of `SpatializerReverb::ReleaseCallback(UnityAudioEffectState*)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0xf0): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::SetFloatParameterCallback(UnityAudioEffectState*, int, float)': Plugin_SpatializerReverb.cpp:(.text+0x140): multiple definition of `SpatializerReverb::SetFloatParameterCallback(UnityAudioEffectState*, int, float)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0x140): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::GetFloatParameterCallback(UnityAudioEffectState*, int, float*, char*)': Plugin_SpatializerReverb.cpp:(.text+0x1a0): multiple definition of `SpatializerReverb::GetFloatParameterCallback(UnityAudioEffectState*, int, float*, char*)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0x1a0): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::GetFloatBufferCallback(UnityAudioEffectState*, char const*, float*, int)': Plugin_SpatializerReverb.cpp:(.text+0x220): multiple definition of `SpatializerReverb::GetFloatBufferCallback(UnityAudioEffectState*, char const*, float*, int)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0x220): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::ProcessCallback(UnityAudioEffectState*, float*, float*, unsigned int, int, int)': Plugin_SpatializerReverb.cpp:(.text+0x230): multiple definition of `SpatializerReverb::ProcessCallback(UnityAudioEffectState*, float*, float*, unsigned int, int, int)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0x230): first defined here Plugin_SpatializerReverb.o:(.bss+0x0): multiple definition of `reverbmixbuffer' Plugin_SpatializerReverb.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status Makefile:40: recipe for target 'libAudioPluginDemo.so' failed make: *** [libAudioPluginDemo.so] Error 1
And here is the Makefile: SRCS=AudioPluginUtil.cpp \ Plugin_ConvolutionReverb.cpp \ Plugin_CorrelationMeter.cpp \ Plugin_Equalizer.cpp \ Plugin_Granulator.cpp \ Plugin_ImpulseGenerator.cpp \ Plugin_ImpactGenerator.cpp \ Plugin_LevelMixer.cpp \ Plugin_Lofinator.cpp \ Plugin_LoudnessMeter.cpp \ Plugin_ModalFilter.cpp \ Plugin_Multiband.cpp \ Plugin_NoiseBox.cpp \ Plugin_Oscilloscope.cpp \ Plugin_PitchDetector.cpp \ Plugin_RingModulator.cpp \ Plugin_Routing.cpp \ Plugin_Spatializer.cpp \ Plugin_SpatializerReverb.cpp \ Plugin_StereoWidener.cpp \ Plugin_Synthesizer.cpp \ Plugin_TeeBee.cpp \ Plugin_TeeDee.cpp \ Plugin_Teleport.cpp \ Plugin_TubeResonator.cpp \ Plugin_Vocoder.cpp \ Plugin_WahWah.cpp \ hrtftable.cpp OBJS=$(SRCS:.cpp=*.o) OUTPUT=libAudioPluginDemo.so CXXFLAGS=-I. -O2 -fPIC LDFLAGS=-shared -rdynamic -fPIC CXX=g++ all: $(OUTPUT) clean: rm -f $(OUTPUT) $(OBJS) $(OUTPUT): $(OBJS) $(CXX) $(LDFLAGS) -o $(OUTPUT) $(OBJS) .cpp.o: $(CXX) $(CXXFLAGS) -c $<
Bonus question: How can I compile a version for Linux 32 and a version for Linux 64?
Unity doesn't create solution/csproj files on Linux(omnisharp)
Using ZED plugin
Is it possible to run a game built in Unity (executable for linux) in a Ubuntu 16.04 VM on Google Cloud Platform?
Unity 2017.3.1f1 won't start on Fedora 28. libGLU.so.1 is missing!
How to record (Video & Audio) game play of linux game made in unity programmaticallyand save it in linux system ?
[linux] offline unity installer
How do I disable a whole folder or just a dll file when building in linux but enable it when building in windows
Linux game server
Installing Unity on Linux XFCE Ubuntu 16.04
**installing the .deb** When I run the usual syntax for installing .deb files (
sudo apt-get install unity-editor_amd64-2017.2.0f1.deb
), the Terminal returns, among other things, errors:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package unity-editor_amd64-2017.2.0f1.deb
E: Couldn't find any package by glob 'unity-editor_amd64-2017.2.0f1.deb'
E: Couldn't find any package by regex 'unity-editor_amd64-2017.2.0f1.deb'
}
(the /code tag doesn't work for me without that curly bracket at the end. Linux did not return that.)**Installing through the 2017.3+ download assistants** I have tried installing through the new download assistants, using the installation instructions provided on the "Unity on Linux" forum ([here](https://forum.unity.com/threads/unity-on-linux-release-notes-and-known-issues.350256/page-2))
I run
chmod +x ~/Downloads/UnitySetup-2018.2.3f1
and the Terminal returns nothing. I assume it has worked. (also, the check box next to "Allow this file to run as a program" under the Permissions panel in the file browser is filled)This should, in theory, allow the installer to run, right? Then I run
./UnitySetup-2018.2.3f1
only to receive the error bash: ./UnitySetup-2018.2.3f1: No such file or directory.
-short, frustrated growl-
I have even tried adding
-unattended
and -install-location
! What am I doing wrong?P.S. Thanks in advance. Bonus points if you tell me the best way to input code-style elements (the /code tag and such)
WebGL on Firefox Linux displays InvalidStateError,WebGL on Linux Firefox displays InvalidStateError
Linux standalone not working
linux minimal - dependencies and errors
Hello,
I set up a simple computer to create an "arcade-like" machine. It has an SSD running minimal ubuntu version. I understand I have to install some additional packages to get my game going but I still didn't figure it out which... Can you help me?
I built the game both to windows and to linux. In windows it plays really well. In linux I copied my simple game to the computer and runt LDD on all executable files I could find:
- game.x86_64
- game_Data/Plugins/x86_64/ScreenSelector.so
- game_Data/Mono/x86_64/libMonoPosixHelper.so
- game_Data/Mono/x86_64/libmono.so
Of these files only ScreenSelector.so made reference to libs that I didn't have:
- libgtk-x11-2.0.so.0
- libgdk-x11-2.0.so.0
So I installed:sudo apt-get install libgtk2.0-0
but it sill didn't work... After reading some posts I decided to instal X:sudo apt-get install xserver-xorg-video-dummy xserver-xorg-input-void xserver-xorg-core xinit x11-xserver-utils xorg
but it still didnt work...
When i say that it doesn't work I mean that when I run:./game.x86_64
it prints:
Set current directory to /home/crx/game
Found path: /home/crx/game/game.x86_64
Mono path[0] = '/home/crx/game/game_Data/Managed'
Mono config path = '/home/crx/game/game_Data/Mono/etc'
Preloaded 'ScreenSelector.so'
Logging to /home/crx/.config/unity3d/DefaultCompany/GAME/Player.log
and it stays like that until I Ctrl+Z it.
when I open Player.log it just has inside the following:Desktop is 0 x 0 @ 0 Hz
And when I try to run directly screenselector.so it just printsCORE DUMP!!!!!!!!
Can you help me?