Development environment

How is it complicated? You need to install it (you certainly don’t need to be a developer for this) and then run one command in Terminal.

And this is indeed for people who want to write code. I think it is fair to assume they know how to run commands in a Terminal? Is that already too much to ask?

3 Likes

Didn’t realize this could be installed through pkgman. I always have done through Vim plugins… In my case, vim-plugged and using the vimrc config file. Though to be honest, I need to reinstall some plugins after vim gets updated. Seems some plugins don’t like Vim to be updated.

I usually have issues with vim-codedark color theme… :thinking: Then I need to comment the line in vimrc, load plugins and then uncomment the line to be back on track.

Why would that be?

Regards,
RR

I usually use other ways to install vim plugins, but YouCompleteMe is a bit tricky because the official distribution tries to build llvm during the installation process and this fails on Haiku. So a specific process was needed and it was simpler to put that in a recipe for future reuse. Maybe it is simpler now that it uses clangd instead of libclang.

Seems strange. It could be that the plugin caches the path to something, and the thing is moved on updates (especially if it uses a path in /packages/ instead of /system/…, I don’t fully understand why we need to have all files exposed a second time in /packages).

i am not sure if you meant this bear or Armed Bear. for the sbcl port, it was the latter (required for the bootstrap).

Thanks, then it’s different… i meant the first.

Hello, I do not need a code completion tool. I just like to make more advertisement for developer. I would like to see developer like/love to develop/code for/with Haiku!

Like Adam Fowler wrote this nice article: Why I like Haiku OS as a developer – Adam's Deep Technology Blog

Or as PDF: http://0x0.st/-FcQ.pdf

Adam Fowler is the proud parent of an adopted Haiku app in Paladin

I would like to see more effort in attracting developer and programming novice to try out Haiku and learn how to program and use Haiku…

2 Likes

I tried to compile Ideam but it fails.
Probably that’s due to Ideam not having received a update for three years while so much has changed in Haiku.
Maybe I can find a way to make it work again some day when I have time.
That’s the error Ideam throws:

src/IdeamApp.cpp: In function 'int main(int, char**)':
src/IdeamApp.cpp:220:23: error: catching polymorphic type 'class std::out_of_range' by value [-Werror=catch-value=]
  220 |         } catch (std::out_of_range) {
      |                       ^~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Makefile:91: recipe for target 'objects.x86_64-cc11-debug/IdeamApp.o' failed
make: *** [objects.x86_64-cc11-debug/IdeamApp.o] Error 1

Ideas?

“All warnings being treated as errors” can be changed in the makefile. I think its -Werr or -Wpedantic in the gcc command line parsing. It’s complaining that a class is being treated as a value but it’s just a warning. If you want more warnings to be treated as if they were errors, try recompiling with a more recent GCC and it will get even more pedantic with you. :wink:

4 Likes

Thanks,it was -Werror,I removed it and compiles and runs now :+1:
It’s a really good IDE by the way,looks much simpler and more useful than KDevelop.

2 Likes

I’ve updated Ideam in haikuports to the latest version and fixed the build in https://github.com/haikuports/haikuports/commit/5bf04b

6 Likes

Alright, thanks for clarifying, I was just wondering :slight_smile:

That´s of course always a good idea. I think Haiku is very developer and newcomer friendly already. The tools are all there (unless somebody wants a full featured IDE, that has been discussed earlier in this thread), there is loads of documentation, featured under “Development” on the website, and most of all a very helpful and welcoming community. My programming questions were always answered very quickly and friendly. There wasn`t even once a “read the f*cking documentation”, even when I should have just done that. :slight_smile:

4 Likes

Ideam works just nice great to have!
It is very stable thx Diver for the update!

Great! I’ll have to try it sometime!

Oh. Ill check! Nice!

Is this not working in x86_64? I can neither find the package nor get haikuporter to build it. Porter recipe fails at finding packages for devel:libclang

This is marked as ? in the recipe, so it’s not build for x86_64 atm.

ARCHITECTURES="?all !x86_gcc2"

I am not a C or C++ developer. I use yab (yet another basic), an interpreter who use the HaikuAPI.

  1. I am working on Apps and Games
  2. I use yabIDE
  3. I am develop directly on Haiku, because yab is Haiku only.
1 Like

Does Haiku actually have a profiler? Just asking, because it would be useful for Developers to profile their products and even nice to use the profiler to find certain bottlenecks in Haiku stack.

Only a cli one: /bin/profile

1 Like

Oh nice. Thats sufficient for me. Ill test. Thank you.

1 Like