HaikuArchives / Paladin

Paladin is an open source integrated development environment (IDE) for Haiku OS
MIT License
64 stars 20 forks source link

Paladin cannot compile projects on latest Haiku release, gives gcc errors. #382

Open Dio9sys opened 2 years ago

Dio9sys commented 2 years ago

Paladin cannot compile the example projects, even when the files have not been edited at all.

affected version: 2.5 d0, both the packaged version from pkgman and a compiled version utilizing the GNU DEBUG fix.

Steps to recreate:

  1. Install Paladin or compile from source.
  2. Create a new project. For the sake of simplicty, you can test with "GUI with main window" from the Project Type dropdown 2a. Be aware, if you installed paladin with pkgman you may need to run chmod +700 on your Projects folder, as the packaged version sets your project folder to read only by default.
  3. build the project, either through the GUI or through alt+r

Observe the following errors:

g++: error trying to exec 'cc1plus': execvp: No such file or directory g++: error trying to exec 'cc1plus': execvp: No such file or directory g++: error trying to exec 'cc1plus': execvp: No such file or directory g++: error trying to exec 'cc1plus': execvp: No such file or directory g++: error: /boot/home/Projects/app/(Objects.app)/App.o: No such file or directory g++: error: /boot/home/Projects/app/(Objects.app)/MainWindow.o: No such file or directory

mbrumbelow commented 6 months ago

Is this still valid?

Dio9sys commented 4 months ago

I haven't checked on the latest dev build yet. I later found that I could fix the problem if I chmod'd the project files to have full read/write permission. Something was changing in the file permissions when I would edit through paladin