-
|
I'll be asking some very basic questions here, maybe it can help others too. |
Beta Was this translation helpful? Give feedback.
Replies: 29 comments 59 replies
-
how to install in Linux (ubuntu)?I tried to install with dpkg -i chalet*.deb |
Beta Was this translation helpful? Give feedback.
-
pkg-configIs there some way of linking static libraries using pkg-config? |
Beta Was this translation helpful? Give feedback.
-
OF projectsI'm finally writing Chalet templates to build OF projects (in a fork) and most things are working great I'm having issues in this is one simple example without any addons or dependencies and the output of |
Beta Was this translation helpful? Give feedback.
-
Suggestion, chalet clean can skip validationI've tried chalet clean in a misconfigured project and didn't complete clean until I remove troublesome .chaletrc |
Beta Was this translation helpful? Give feedback.
-
SelectorsI like the fact we can use CMAKE options per platform. but I'm trying to do some complex things now with FreeImage, so I'm not sure if this is ok. I would like to have some settings if platforms are web or windows, and others for everybody else. defines[platform:{!web,!windows}]:
- BUILD_ZLIB=OFF
- ZLIB_ROOT=${externalBuild:zlib}
- ZLIB_LIBRARY=${externalBuild:zlib}
- ZLIB_INCLUDE_DIRS=${external:zlib}
defines[platform:{web,windows}]:
- BUILD_ZLIB=ON |
Beta Was this translation helpful? Give feedback.
-
Enable a target by platformI want to build FreeImage compiling zlib from source on macos target, but let the formula compile zlib in other platforms. targets:
zlib[platform:macos]:
kind: cmakeProject
location: ${external:${name}}
recheck: false
rebuild: false |
Beta Was this translation helpful? Give feedback.
-
Zip folder exclusionsit would be great to have a way of excluding folders from a zip file in build phase, with an exclusion list or negative wildcards. distribution:
yaml-cpp:
kind: archive
format: zip
include:
- ${external:${name}}/LICENSE**
- ${externalBuild:${name}}/install/include
- ${externalBuild:${name}}/install/lib
exclude:
-${externalBuild:${name}}/install/lib/cmake
-${externalBuild:${name}}/install/lib/pkgconfig |
Beta Was this translation helpful? Give feedback.
-
Dependencies from a .zip URLit would be great to have already compiled libs as a dependency that can be uncompressed from a .zip URL and linked to the project. |
Beta Was this translation helpful? Give feedback.
-
Suggestion: indicate which line number or text is duplicateERROR: The 'defines' array must have unique items, but duplicates were found. |
Beta Was this translation helpful? Give feedback.
-
CMake with non Ninja backendCan we provide an alternative backend, like Visual Studio 2022? related : https://github.com/dimitre/ofLibs/blob/main/libtiff/chalet.yaml Generated tiff.lib shows _imp prefixes |
Beta Was this translation helpful? Give feedback.
-
OpenFrameworksFinally we have OF working in all major platforms (macOS tested now), maybe a few minor things to get right. And how can I point the build folder to be next to of root, so maybe it doesn't have to rebuild core for each project. this is now the "base template" for chalet, suggestions are welcome: |
Beta Was this translation helpful? Give feedback.
-
Problem detecting vs-stableI've tested in two different computers and it fails to complete a and chalet recipe is here cl path exists and output is: Probably because it is in portuguese and you are extracting info from english output. |
Beta Was this translation helpful? Give feedback.
-
Chalet postpend .lib in .a files in msvcwhen passing .a libs to msvc chalet postpend .lib so it turns into .a.lib non existent file. |
Beta Was this translation helpful? Give feedback.
-
Custom build folder for a specific target?Is there a way of defining a custom build folder for a specific target? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
macOS png to icnsFantastic feature I'm using it today. all good but some strange warnings here |
Beta Was this translation helpful? Give feedback.
-
Linux bundle without templateNot working at the moment. error: documentation " template points to the location of an input .desktop file. If one doesn't exist, it will be created. " |
Beta Was this translation helpful? Give feedback.
-
ccache and VS 2022Just as a curiosity, does ccache work with msvc / chalet? |
Beta Was this translation helpful? Give feedback.
-
Recipes?how do you call chalet.yml / json? I'm calling it recipes sometimes but I want to follow your terminology when referring this. |
Beta Was this translation helpful? Give feedback.
-
actool mismatch --minimum-deployment-targetwhen I use chalet bundle to build a macOS app it gives lots of errors. by using --show-commands I've noticed it is being called with |
Beta Was this translation helpful? Give feedback.
-
|
today I gave another try in icons for linux, Maybe I am misunderstanding the method. I've added empty:
kind: bundle
buildTargets: empty
linuxDesktopEntry:
icon: ${var:ofPath}/scripts/ofWorks.png
template: platform/linux/app.desktopand the result was: |
Beta Was this translation helpful? Give feedback.
-
IconsI love how chalet automatically bundle icns from a png file. thanks this is great funcionality. |
Beta Was this translation helpful? Give feedback.
-
Zip bundle with exclusionsit would be great to have a way of excluding folders from compressing when bundling libs, something like this: distribution:
cairo:
kind: archive
format: zip
include:
- ${external:${name}}/COPYING*
- ${externalBuild:${name}}/install/include
- ${externalBuild:${name}}/install/lib
exclude:
- ${externalBuild:${name}}/install/lib/cairo |
Beta Was this translation helpful? Give feedback.
-
MSVC /ZiI'm now trying to make msvc work with ccache by appending /Z7 compileOptions[toolchain:msvc]:
- /MT
- /Z7
- /MP1and it seems to be postpending /Zi in command line, so both are there |
Beta Was this translation helpful? Give feedback.
-
Chalet ignores -mmacosx-version-min in chalet.yaml, injects conflicting --os-target-version flagActual: Chalet appends its own -mmacosx-version-min after user flags, overriding them |
Beta Was this translation helpful? Give feedback.
-
Windows .icowindows ico here shows in explorer but not in taskbar, windows status bar. From: Assistant <assistant@example.com>
Date: Wed, 19 Mar 2026 17:07:19 -0300
Subject: [PATCH] Fix Windows icon resource ID for taskbar/status bar display
Windows taskbar and status bar specifically look for the first icon
resource (ID 1) in an executable. Explorer is more lenient and works
with any icon ID. Change icon resource ID from 2 to 1 so icons appear
correctly in taskbar, status bar, and Alt-Tab switcher.
---
src/FileTemplates/PlatformFileTemplates.cpp | 2 +-
src/Win32/Resource.rc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/FileTemplates/PlatformFileTemplates.cpp b/src/FileTemplates/PlatformFileTemplates.cpp
index 1234567..abcdefg 100644
--- a/src/FileTemplates/PlatformFileTemplates.cpp
+++ b/src/FileTemplates/PlatformFileTemplates.cpp
@@ -234,7 +234,7 @@ std::string PlatformFileTemplates::windowsIconResource(const std::string& inIcon
{
auto file = Files::getCanonicalPath(inIconFile);
return fmt::format(R"rc(#pragma code_page(65001)
-2 ICON "{iconFile}"
+1 ICON "{iconFile}"
)rc",
fmt::arg("iconFile", file));
}
diff --git a/src/Win32/Resource.rc b/src/Win32/Resource.rc
index 1234567..abcdefg 100644
--- a/src/Win32/Resource.rc
+++ b/src/Win32/Resource.rc
@@ -60,7 +60,7 @@
// 1 24 "platform/windows/app.manifest"
// #endif
-2 ICON "platform/windows/chalet.ico"
+1 ICON "platform/windows/chalet.ico"
/*****************************************************************************/
// Declare Version Info
--
2.43.0
|
Beta Was this translation helpful? Give feedback.
-
|
I suspect compiler detection is failing in an non En locale system, I'm now investigating with a remote user using |
Beta Was this translation helpful? Give feedback.
-
Brew CaskNow we should use |
Beta Was this translation helpful? Give feedback.
-
Bundle by target.It would be great to be able to run "chalet bundle " much like buildrun here is the huge chalet.yaml I'm working |
Beta Was this translation helpful? Give feedback.







Fixed in: #417