0

I'm currently writing AddOns for ArchiCAD.

Since .sln projects work with absolute paths, we wanted to try to have the same folder structure on every PC so we can share our projects with each other.

Example: Project for Room Numbering AddOn

I created a project under C:\workspace\ArchiCAD\AddOns\RoomNumbering and the total path for every file is now C:\workspace\ArchiCAD\AddOns\RoomNumbering\... and now everyone should be able to copy the folder structure and place the complete project folder in it and work with it.

I did this and tried to build the project on a different Computer. When I open in vsc it finds all the files and external dependencies, but when I want to built the Project it hits me with an error:

FATAL ERROR LNK1811: cannot open input file "C:\workspace\ArchiCAD\AddOns\RoomNumbering\Build\ResourceObjects\RoomNumbering.res"

But this is a file that is supposed to be created during the built. This is how it looks on my own Computer pre and after built. The folder in question pre built: The folder in question after built:

On my own Computer it creates the .res file, on other computers it does nothing (no new files get created after building).

I tried to build the Project first and then share it, so the .res file already exists. While this works, this isn't the desired way, since it still throws errors.

If it is relevant: The projects get created by downloading the ArchiCAD AddOn Template (https://github.com/GRAPHISOFT/archicad-addon-cmake) and built it with CMake. Does anyone know why vsc behaves that way or what I am doing wrong?

Thanks for any help and Kind Regards Dayiz

Kosy Onyenso
  • 109
  • 2
  • 14
Dayiz1
  • 1

0 Answers0