Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu

Из за того, что Code::Blocks IDE стал плохо работать, а именно ВНЕЗАПНО закрываться, я решил перейти на другую IDE — CodeLite. Открытая кроссплатформенная среда разработки программного обеспечения для языков программирования С/С++, PHP и Node.js, использующая инструментарий wxWidgets, скомпилирована и отлажена свободными инструментами (MinGW и GDB). Очень хорош и Eclipse CDT, но он запускается 5 минут и работает медленно. Всё-таки слабоваты процессоры ARM.

Установка компилятора GNU Compiler Collection

И так, для начала необходимо установить компилятор gcc и g++. Как правило, оба компилятора уже установлены разработчиками ОС Ubuntu.

sudo apt-get install gcc g++

С этими компиляторами можно компилировать программы в консоли, также ими пользуются среды программирования такие как CodeLite, Code::Blocks, Eclipse CDT и др..

Установка CodeLite IDE на Ubuntu 16.04 Mate

Среду можно установить через терминал:

sudo apt-get install codelite

Первоначальная настройка CodeLite

  1. Для начала проверяем установлен ли WiringPi/WiringOP/BPI-WiringPi:
    gpio -v
    gpio readall

    Вы должны получить примерно такой результат:
    Установка и настройка Code::blocks на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (1)
    В противном случае перейдите на страницу Установка и настройка WiringOP/WiringPi на Orange Pi PC или Установка и настройка BPI-WiringPi/WiringPi на Banana Pi где есть инструкция по установке WiringPi.

  2. Запустите IDE, Application->Programming->CodeLite. При первом запуске появится мастер настройки: Next > Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (2)
  3. По умолчанию CodeLite идёт со встроенными плагинами и в данном окне вы можете включить или отключить их. В данном случае плагинов нету, просто нажмите на Next >;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (3)
  4. Настройка установленных компиляторов. Нажмите Scan и появится список установленных компиляторов. Next >;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (4)Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (5)
  5. Выберите тему редактор из списка. Next >;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (6)
  6. Выберите типы отступов и пробелов. Finish;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (7)
  7. После всех настроек появится и главное окно CodeLite.Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (8)

Как создать новый проект

  1. Создайте рабочую среду: File->New->New Workspace;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (9)
  2. Выберите путь (Workspace Path) и придумайте имя (Workspace Name):Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (10)
  3. Выберите созданную рабочую среду и создайте новый проект: File->New->New Project. OK;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (11)
  4. Выберите шаблон проекта: Console->Simpleexecutable (g++). Next >;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (12)Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (13)
  5. Выберите путь (Project Path) и придумайте имя (Project Name). Next >;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (14)
  6. Выберите набор инструментов проекта. Finish;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (15)
  7. Всё, hello world готов.Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (16)

Как настроить проект WiringPi

  1. Правой кнопкой мыши на проект Settings…Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (17)
  2. Выберите Linker и в Librarieas нажмите на кнопку ;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (18)
  3. И добавьте следующие параметры:
    wiringPi
    pthread

    Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (19)

  4. Сохраните изменения OK;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (20)
  5. Нажмите CTRL+F9 или Build->Build and Run Project;Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (21)
  6. Результат показал, что всё работает правильно:Установка и настройка CodeLite на Banana Pi, Orange PI и Raspberry Pi под Ubuntu (22)

Скачать проект

CodeLiteTest Project.zip

Похожие записи

Комментарии 22

  • Codelobster IDE работает на много лучше — http://www.codelobster.com

  • И CodeLite тоже не ставится.

    • Какие ошибки/сообщения выдаёт при установке, какая операционная система у вас стоит, на какой плате. Не должно быть проблем с этим.

      • Он не может найти какие-то директории. Пробовал с трех разных ПИ под армбиан. На обычный ПК под линуксом норм ставится.

  • Banyak sekali contoh bettor atau pemain slot online yang belajar dari kami berupa kursus slot online Platform game online Agen138. Desain game ini adalah prediksi terbaik untuk memenangkan slot online yang Anda mainkan. Banyak sekali contoh bettor atau pemain slot online yang belajar dari kami berupa kursus slot online Platform game online Agen138. Desain game ini adalah prediksi terbaik untuk memenangkan slot online yang Anda mainkan. Saat ini ada banyak situs internet yang dapat Anda temukan untuk memenuhi kebutuhan game Anda. Siapa yang tidak menyukai permainan ini? Selain bisa menghasilkan uang, sebenarnya bermain slot game adalah permainan yang menyenangkan untuk dinikmati banyak orang. Jaringan slot Agen138 itu mudah dan ramah anggaran. Koneksi internet, dan perangkat game yang bagus seperti Android atau PC, Anda bisa mendapatkan dan memainkan berbagai game keren dan dapat dipilih dari banyaknya jumlah game yang mencapai 777 slot. Jaringan slot gacor hari ini Agen138 juga menawarkan berbagai penawaran dan hadiah. Daftar situs gakur di Jaringan slot gacor Agen138.
    https://tiny-wiki.win/index.php?title=Live_casino_visa_gift_card
    Better known for its sportsbook, Betway actually also has a slew of casino games on offer. More experienced players may know Betway as largely a Microgaming casino but over the years they have added games from other software providers so that players can get all the latest and greatest under the Betway roof. However, our Betway app review revealed that players who want the full mobile experience would have to download Betway apps, but better yet, they can choose between the Betway iOS and the Betway casino Android app. This requires manually activating the location services, so Betway can use its technology to determine your exact location. Betway’s new user promotion is one of the best you can find in the industry in terms of dollar amount. The 100% deposit match up to $1,000 is hard to beat. In addition, players may find the following offers at Betway Casino New Jersey this April:

  • This usually happens when one of the companies bases an estimate on faulty or incomplete data. For example, if you’ve renovated your home since your last tax assessment, your Zillow Zestimate or Redfin Estimate may be based on outdated information. For listings in Canada, the trademarks REALTOR®, REALTORS®, and the REALTOR® logo are controlled by The Canadian Real Estate Association (CREA) and identify real estate professionals who are members of CREA. The trademarks MLS®, Multiple Listing Service® and the associated logos are owned by CREA and identify the quality of services provided by real estate professionals who are members of CREA. Used under license. About the ratings: GreatSchools ratings are based on a comparison of test results for all schools in the state. It is designed to be a starting point to help parents make baseline comparisons, not the only factor in selecting the right school for your family. Learn more
    https://felixooom295296.blogofchange.com/23654063/average-price-per-sq-foot-to-build-a-house
    After a certain number of months of not paying the mortgage, lenders can begin foreclosure procedures if no agreement can be made. That means that the first public notice will be in the form of a Notice of Default. This is a public record, and that’s how people find out about pre-foreclosure homes. Unlike buying a home pre-foreclosure or an REO foreclosure through the bank, buying a property at auction means taking the home as-is, without any appraisal or inspection contingencies. Although the price may be great, the level of risk is also high when you purchase a foreclosure through an auction.  You should also take this time to research comparables to be certain you’re getting a good price. When you’re serious about buying, have your agent pull a comparative market analysis (CMA) on your behalf to research and compare local home prices. A CMA shows what other buyers recently paid on similar homes in the area and can help set a fair price window.

  • During your hotel search, Priceline speckles in mystery hotel offers that provide extra savings of up to 60% off. They also have a page called Priceline Express Deals that’s dedicated to all the mystery hotel listings at steep discounts. In his never ending quest to save you even more money on travel, the Price Negotiator has decided to permanently eliminate airline ticket booking fees on all domestic and international published fares. Expedia allows you to save big when you bundle a trip — meaning book your hotel and airfare together — and often has great last-minute prices, but for its most up-to-the-minute offerings, check the Unreal Deals tab. A recent search turned up a 4-night trip to Vegas, with a stay at The Palazzo tower (within the The Venetian), including airfare, from $605 per person (2 weeks out from departure date).
    https://smart-wiki.win/index.php?title=Booking_multiple_flights_and_hotels
    Wakanow over Travelstart for me. Wakanow is also always cheaper than Travelstart. In 2016, Travelstart received a hefty investment the equivalent of R248 million (from Amadeus Capital Partners) to help the company expand into African markets. The owner of the company said that the cash injection would help Travelstart to gain stronger footholds in South Africa, Nigeria and Kenya and will also be used to break into new countries across the African continent. It’s apparent that the investment has served the company well! More information Travelstart is the leading Online Travel Agency in Africa and the Middle East. Operating in 18 markets across the region each with their own localisation requirements. Online travel is a fast moving and complex domain rarely without a dull moment. Wall & Floor

  • Another popular type of football bet is a combined BTTS over 2.5 goals in match bet, and when predicting the correct score a 2-1 win is another result worth betting on. — Second Likely Correct Scoreline : 2:1 at 9.00 Odds Our professional betting experts will combine two correct score tips for today to score a big win for you. The odds are very high, and the profit is not guaranteed. Please be reasonable and bet what you can afford to lose. Our correct score tips are published daily on this page. «Panthers rookie first-round tackle Ikem Ekwonu has gone through rough stretches, allowing three sacks, per Pro Football Focus, but Mayfield hasn’t been accurate with a 54.7 percent completion rate. Furthermore, according to Pro Football Focus’ Mike Renner, teams have batted down the signal-caller’s passes at an alarming rate.
    http://xn--6i4bub37eb8g.com/bbs/board.php?bo_table=free&wr_id=285658
    Arkansas Razorbacks Objective advice, expert info and helpful tools to answer your betting questions. The odds provided by online bookmakers often differ from one another, even up to 20%. This means that placing the same bet at another bookmaker makes your winning even 20% bigger. So I guess it’s better to place your bets with the best odds, right? Objective advice, expert info and helpful tools to answer your betting questions. Arkansas Razorbacks Vote to see result Objective advice, expert info and helpful tools to answer your betting questions. Objective advice, expert info and helpful tools to answer your betting questions. Odds format: Decimal Fractional Vote to see result The odds provided by online bookmakers often differ from one another, even up to 20%. This means that placing the same bet at another bookmaker makes your winning even 20% bigger. So I guess it’s better to place your bets with the best odds, right?

  • Apropos Vielfaches: Die Mindestgewinnsumme bei den Euromillionen beträgt 17 Millionen Euro. Ab da geht die wilde party aber erst los, denn die Obergrenze bei den Euromillionen liegt erst bei 190 Millionen Euro. Diese Rekordsumme wurde in der Geschichte schon dreimal erreicht, zuletzt erst ging ein solcher Rekordbetrag im Oktober 2017 nach Spanien, wo die richtigen Euromillionen Zahlen getippt wurden. Den höchsten Lottogewinn überhaupt in Deutschland im Jahr 2021 — nämlich in Höhe von je 90 Millionen Euro — kassierten 2021 laut dem Deutschen Lotto- und Totoblock (DLTB) zwei Eurojackpot-Spieler aus Nordrhein-Westfalen und Hessen. Ein weiterer Eurojackpot-Spieler aus Nordrhein-Westfalen gewann 73,7 Millionen Euro. Die Gewinnchance auf den Hauptgewinn liegt bei 1 zu 140 Millionen und entspricht so etwa der von Lotto 6aus49.
    http://atooth.co.kr/bbs/board.php?bo_table=free&wr_id=42981
    Vielleicht liegt es an der Gesetzeslage, dass man für das Spielen von Glücksspielen bei österreichischen Anbietern einen Wohnsitz in Österreich benötigt? (Angst vor Geldwäsche, etc.) Schon mal darüber nachgedacht? Die österreichische Lotteriegesellschaft führt ab und zu spezielle ÖsterreichSuperBonus-Ziehungen durch, bei denen sogar noch höhere Gewinne ohne Zusatzkosten für die Spieler möglich sind. Diese Ziehungen werden ganz genauso wie die regulären ÖsterreichBonus-Ziehungen durchgeführt, der Unterschied ist nur, dass höhere Preisgelder vergeben werden. Genauso wie bei regulären Ziehungen nimmt jeder, der ein EuroMillionen-Ticket kauft, automatisch an der Bonusziehung teil. An EuroMillionen nehmen neben Österreich auch Frankreich, Spanien, England, Belgien, Irland, Portugal, Luxemburg und die Schweiz teil. Diese neun Länder haben insgesamt rund 227 Millionen Einwohner. Lotto „6 aus 45“ hingegen gibt es nur in Österreich, das rund 9 Millionen Einwohner hat.

  • As Putin continues killing civilians, bombing kindergartens, and threatening WWIII, Ukraine fights for the world’s peaceful future. A thesis statement outlines your argument and lists the main points of your essay. If you like this sample, we will email it to you with pleasure! Review the handout. This guide can be given to students before they begin drafting and then used as they work independently or with peers to revise and edit their summaries. The concluding paragraph should summarize the main points of your expository essay. You do not need to add any new information. Start by restating the thesis statement, but do not copy it. Then, summarize the supporting arguments and create a thought-provoking statement or question, making it the last sentence of your paper.
    http://www.xn--989a61jhrk3se9pd9tf.kr/gwbbs/board.php?bo_table=free&wr_id=797869
    To write an engaging speech, you must come up with a great idea that should engage, inform and persuade your audience. When you have a properly written speech, you are confident that you will be able to convince your audience easily. A good persuasive essay speech will show your audience how knowledgable you are about the topic. The speech must have enough evidence to prove that you have researched the topic thoroughly and your point of view is clear. Mental health and mental illness are inextricably linked. Individuals with good mental health can develop mental illness, while those with no mental disease can have poor mental health. Mental illness does not imply that someone is insane, and it is not anything to be embarrassed by. Our society’s perception of mental disease or disorder must shift. Mental health cannot be separated from physical health. They both are equally important for a person. 

Добавить комментарий для Stimulus checks. Отменить ответ

Ваш e-mail не будет опубликован. Обязательные поля помечены *