1
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{140:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return u}));var a=n(0),r=n.n(a);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=r.a.createContext({}),b=function(e){var t=r.a.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},p=function(e){var t=b(e.components);return r.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},m=r.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),p=b(n),m=a,u=p["".concat(o,".").concat(m)]||p[m]||d[m]||i;return n?r.a.createElement(u,s(s({ref:t},c),{},{components:n})):r.a.createElement(u,s({ref:t},c))}));function u(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,o=new Array(i);o[0]=m;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:a,o[1]=s;for(var c=2;c<i;c++)o[c]=n[c];return r.a.createElement.apply(null,o)}return r.a.createElement.apply(null,n)}m.displayName="MDXCreateElement"},141:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var a=n(16),r=n(142);function i(){const{siteConfig:{baseUrl:e="/",url:t}={}}=Object(a.default)();return{withBaseUrl:(n,a)=>function(e,t,n,{forcePrependBaseUrl:a=!1,absolute:i=!1}={}){if(!n)return n;if(n.startsWith("#"))return n;if(Object(r.b)(n))return n;if(a)return t+n;const o=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+o:o}(t,e,n,a)}}function o(e,t={}){const{withBaseUrl:n}=i();return n(e,t)}},142:function(e,t,n){"use strict";function a(e){return!0===/^(\w*:|\/\/)/.test(e)}function r(e){return void 0!==e&&!a(e)}n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}))},87:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return s})),n.d(t,"metadata",(function(){return l})),n.d(t,"toc",(function(){return c})),n.d(t,"default",(function(){return p}));var a=n(3),r=n(7),i=(n(0),n(140)),o=n(141),s={id:"installation",title:"Installation",sidebar_label:"Installation"},l={unversionedId:"installation",id:"installation",isDocsHomePage:!1,title:"Installation",description:"Download",source:"@site/docs/installation.md",slug:"/installation",permalink:"/PSP/docs/installation",editUrl:"https://github.com/Thales1330/PSP/tree/master/docusaurus/docs/installation.md",version:"current",sidebar_label:"Installation",sidebar:"docs",previous:{title:"PSP-UFU",permalink:"/PSP/docs/"},next:{title:"Main Screen",permalink:"/PSP/docs/mainScreen"}},c=[{value:"Download",id:"download",children:[]},{value:"Windows",id:"windows",children:[{value:"Recurring Windows problems",id:"recurring-windows-problems",children:[]}]},{value:"Linux",id:"linux",children:[{value:"Recurring Linux problems",id:"recurring-linux-problems",children:[]}]}],b={toc:c};function p(e){var t=e.components,n=Object(r.a)(e,["components"]);return Object(i.b)("wrapper",Object(a.a)({},b,n,{components:t,mdxType:"MDXLayout"}),Object(i.b)("h2",{id:"download"},"Download"),Object(i.b)("p",null,"The PSP-UFU can be downloaded from the ",Object(i.b)("a",{parentName:"p",href:"https://github.com/Thales1330/PSP/releases/latest"},Object(i.b)("em",{parentName:"a"},"last release")," of the PSP-UFU repository on GitHub"),"."),Object(i.b)("p",null,"When accessing the link, scroll down the page until you find the ",Object(i.b)("em",{parentName:"p"}," Assets "),":"),Object(i.b)("div",null,Object(i.b)("center",null,Object(i.b)("img",{src:Object(o.a)("images/download.png"),alt:"Assets download",title:"Informa\xe7\xf5es da Figura"}))),Object(i.b)("p",null,"As the PSP-UFU is a multiplatform software, you must download the correct file:"),Object(i.b)("ul",null,Object(i.b)("li",{parentName:"ul"},"For the operating system ",Object(i.b)("a",{parentName:"li",href:"installation#windows"},"Windows")," download the files ",Object(i.b)("em",{parentName:"li"},".exe")," (recommended) or ",Object(i.b)("em",{parentName:"li"},".zip"),"."),Object(i.b)("li",{parentName:"ul"},"For ",Object(i.b)("a",{parentName:"li",href:"installation#linux"},"Linux")," systems based on Debian (for example, Ubuntu, Mint) ",Object(i.b)("em",{parentName:"li"},"64 bits")," download the installation package ",Object(i.b)("em",{parentName:"li"},".deb"),".")),Object(i.b)("div",{className:"admonition admonition-tip alert alert--success"},Object(i.b)("div",{parentName:"div",className:"admonition-heading"},Object(i.b)("h5",{parentName:"div"},Object(i.b)("span",{parentName:"h5",className:"admonition-icon"},Object(i.b)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},Object(i.b)("path",{parentName:"svg",fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))),"Tip")),Object(i.b)("div",{parentName:"div",className:"admonition-content"},Object(i.b)("p",{parentName:"div"},"If you are interested in contributing to PSP-UFU by building it for other operating systems (mainly macOS!) Contact us at ",Object(i.b)("a",{parentName:"p",href:"https://github.com/Thales1330/PSP/issues"},"GitHub")," or ",Object(i.b)("a",{parentName:"p",href:"https://twitter.com/PspUfu"},"Twitter"),"."))),Object(i.b)("p",null,"Following are the step-by-step instructions for installing the ",Object(i.b)("a",{parentName:"p",href:"installation#windows"},"Windows")," and ",Object(i.b)("a",{parentName:"p",href:"installation#linux"},"Linux")," OSs. Solutions for the most recurring errors are also presented."),Object(i.b)("h2",{id:"windows"},"Windows"),Object(i.b)("p",null,"After downloading the ",Object(i.b)("em",{parentName:"p"},".exe")," file, proceed with each installer step. The executable will automatically request the installation of ",Object(i.b)("strong",{parentName:"p"},"Microsoft Visual C ++ Redistributable")," and, if it is not installed on your computer, perform the program's procedures."),Object(i.b)("p",null,"If the executable fails to open, download the ",Object(i.b)("em",{parentName:"p"},".zip")," file and unzip it to a folder on your system. In that case, it is necessary to manually download and install ",Object(i.b)("a",{parentName:"p",href:"https://aka.ms/vs/16/release/vc_redist.x86.exe"},Object(i.b)("strong",{parentName:"a"},"Microsoft Visual C ++ Redistributable 32 bits")),"."),Object(i.b)("p",null,'After the installation is complete, open the PSP-UFU to verify the correct installation. The executable is present in the folder "',Object(i.b)("em",{parentName:"p"},"<instalation_path>/PSP-UFU/bin/PSP-UFU.exe"),'".'),Object(i.b)("h3",{id:"recurring-windows-problems"},"Recurring Windows problems"),Object(i.b)("ul",null,Object(i.b)("li",{parentName:"ul"},"When downloading the browser you can ",Object(i.b)("strong",{parentName:"li"},"falsely"),' signal that it is a dangerous file, just click on "Keep file";'),Object(i.b)("li",{parentName:"ul"},'When opening the installer, Windows again signals that the file is dangerous, just click "Run anyway";'),Object(i.b)("li",{parentName:"ul"},"When opening the program and changing your language, an error message is displayed. To solve this problem, just run PSP-UFU as an administrator (right click on the program shortcut and then run as administrator). Change the language again and restart the program;"),Object(i.b)("li",{parentName:"ul"},'When creating a new project, the work screen is not displayed or a black screen is displayed. Go to the general options and change the renderer to "Device Context". If an error message appears, run the program as an administrator and repeat the process. Restart the program.')),Object(i.b)("h2",{id:"linux"},"Linux"),Object(i.b)("p",null,"Installation on the Linux system is easily accomplished by the ",Object(i.b)("em",{parentName:"p"}," .deb ")," automatic installation package."),Object(i.b)("div",{className:"admonition admonition-caution alert alert--warning"},Object(i.b)("div",{parentName:"div",className:"admonition-heading"},Object(i.b)("h5",{parentName:"div"},Object(i.b)("span",{parentName:"h5",className:"admonition-icon"},Object(i.b)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},Object(i.b)("path",{parentName:"svg",fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))),"Attention!")),Object(i.b)("div",{parentName:"div",className:"admonition-content"},Object(i.b)("p",{parentName:"div"},"Note that this version for Linux is out of date and some features of the program may not be present."),Object(i.b)("p",{parentName:"div"},"If you want to contribute to the project and build the current version on the Linux system based on Debian or other distributions, contact us through ",Object(i.b)("a",{parentName:"p",href:"https://github.com/Thales1330/PSP/issues"},"GitHub")," or ",Object(i.b)("a",{parentName:"p",href:"https://twitter.com/PspUfu"},"Twitter"),"."))),Object(i.b)("h3",{id:"recurring-linux-problems"},"Recurring Linux problems"),Object(i.b)("p",null,"It may be necessary to add the ",Object(i.b)("a",{parentName:"p",href:"https://wiki.wxwidgets.org/Compiling_and_getting_started#Running_wxWidgets_projects"},"wxWidgets libraries directory")," in the environment variables.\nTo do this, follow ",Object(i.b)("strong",{parentName:"p"},"ONE")," of the methods presented below:"),Object(i.b)("h4",{id:"method-i-recommended"},Object(i.b)("em",{parentName:"h4"}," Method I (recommended) ")),Object(i.b)("p",null,"Enter the following command in the ",Object(i.b)("strong",{parentName:"p"},"~ / .bashrc")," file:"),Object(i.b)("pre",null,Object(i.b)("code",{parentName:"pre",className:"language-shell"},'echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc\n')),Object(i.b)("h4",{id:"method-ii-not-recommended"},Object(i.b)("em",{parentName:"h4"}," Method II (not recommended) ")),Object(i.b)("div",{className:"admonition admonition-warning alert alert--danger"},Object(i.b)("div",{parentName:"div",className:"admonition-heading"},Object(i.b)("h5",{parentName:"div"},Object(i.b)("span",{parentName:"h5",className:"admonition-icon"},Object(i.b)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},Object(i.b)("path",{parentName:"svg",fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))),"Watch out!")),Object(i.b)("div",{parentName:"div",className:"admonition-content"},Object(i.b)("p",{parentName:"div"},"Using this method, the steps below should be performed ",Object(i.b)("strong",{parentName:"p"}," every time ")," that you want to open PSP-UFU."))),Object(i.b)("ol",null,Object(i.b)("li",{parentName:"ol"},"Open the terminal and access the directory where the PSP-UFU is installed:")),Object(i.b)("pre",null,Object(i.b)("code",{parentName:"pre",className:"language-shell"},"cd/usr/local/bin\n")),Object(i.b)("ol",{start:2},Object(i.b)("li",{parentName:"ol"},"Insert the shared libraries of wxWidgets in the environment variables:")),Object(i.b)("pre",null,Object(i.b)("code",{parentName:"pre",className:"language-shell"},"export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: / usr / local / lib\n")),Object(i.b)("ol",{start:3},Object(i.b)("li",{parentName:"ol"},"Then, run PSP-UFU in the ",Object(i.b)("strong",{parentName:"li"}," same section ")," of the terminal:")),Object(i.b)("pre",null,Object(i.b)("code",{parentName:"pre",className:"language-shell"},"./PSP-UFU\n")),Object(i.b)("div",{className:"admonition admonition-caution alert alert--warning"},Object(i.b)("div",{parentName:"div",className:"admonition-heading"},Object(i.b)("h5",{parentName:"div"},Object(i.b)("span",{parentName:"h5",className:"admonition-icon"},Object(i.b)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},Object(i.b)("path",{parentName:"svg",fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))),"Attention!")),Object(i.b)("div",{parentName:"div",className:"admonition-content"},Object(i.b)("p",{parentName:"div"},"Check that the computer has the video units installed correctly, otherwise the program will not display the desktop to create and edit single line diagrams or control block diagrams."))))}p.isMDXComponent=!0}}]);
|