New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble running simple app in Linux #34
Comments
Hello Angelique, Which sample are you trying to run and what errors/issues are you seeing? For example, the If instead you're developing your own stand-alone app and would rather not have source-level dependencies, the built binaries are also published as NuGets (e.g. Hopefully that helps. Let us know how it goes. |
Hi Ashley, Sorry, I have to back track a bit because tried resolving my prior issue and now the psi system won't build. I'm getting the following error on Linux, Ubuntu 16.04 g++: error: /libavdevice/libavdevice.so: No such file or directory
Any ideas why I'm getting this error? I tried adding the path to the .so files to /etc/ld.so.conf and then I run sudo ldconfig but this did not resolve the issue. Also, the installation link for .NET Core on Linux isn't working anymore: https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x |
Hi Ashley, I see that the Makefile uses the environment variable FFMPEGLibDir. I installed ffmpeg from here: https://ffmpeg.org/download.html However, I'm not sure what path to set FFMPEGLibDir to. Can you help me with this? |
I just want to chip in since I'm also trying to get it working on our own Linux machines. The way C#/Psi packages are built is very different from g++/cmake that are common on Linux systems. I was able to get them to build after I installed
Some packages should still fail to build since they have a optional requirements like FFMPEG, but you should see a bunch of If you aren't actively changing the runtime/components, I would stick with building applications using nugets. The intellisense (auto-complete) didn't work for me with the whole repo but works perfectly with nuget packages. Here's an example:
Edit program.cs and add all the codes you want to run. To build and run it, just type |
Hi @xiangzhi! Thanks for your response. I followed the instructions to install dotnet-sdk-2.2 and mono-devel. However, I keep getting this error: ./build.sh: line 3: dotnet: command not found Did you encounter this problem? Any idea what I might be missing? |
I'd try reopening the terminal. Could you also try to just type |
I tried reopening a new terminal and just typing dotnet in the terminal but I still get the same error. I look around to see what the issue is. Thanks! |
My suspicion is that |
Hi forgot to set my environment variable. I added this to my bashrc: export DOTNET_ROOT=$HOME/Documents/dotnet Replace $HOME/Documents with the path to dotnet The simple app works now. Thanks! |
Glad it works now. I'm closing this issue, but please feel free to reopen it if you're still having trouble. |
I'm trying to run the simple app in Linux. I followed the build instructions but one thing that I was unsure about is whether I need nugget or not. The README page gives the impression that it is optional, "You can build applications based on Platform for Situated Intelligence either by leveraging nuget packages, or by cloning and building the code. Below are instructions:"
Can you confirm whether nuget is required or not?
Also, if nugget is required, which packages do I need from nuget.org
The text was updated successfully, but these errors were encountered: