Downloads:
1,230
Downloads of v 1.5.6:
46
Last Update:
11 Apr 2024
Package Maintainer(s):
Software Author(s):
- Codac Team
Tags:
codac tube interval contraints contractor processing programming library c++ cpp- Software Specific:
- Software Site
- Software Source
- Software License
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Codac
- 1
- 2
- 3
1.5.6 | Updated: 11 Apr 2024
- Software Specific:
- Software Site
- Software Source
- Software License
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
1,230
Downloads of v 1.5.6:
46
Software Author(s):
- Codac Team
Codac 1.5.6
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Codac Team. The inclusion of Codac Team trademark(s), if any, upon this webpage is solely to identify Codac Team goods or services and not for commercial purposes.
- 1
- 2
- 3
This Package Contains an Exempted Check
Not All Tests Have Passed
Deployment Method: Individual Install, Upgrade, & Uninstall
To install Codac, run the following command from the command line or from PowerShell:
To upgrade Codac, run the following command from the command line or from PowerShell:
To uninstall Codac, run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download codac --internalize --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade codac -y --source="'INTERNAL REPO URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade codac -y --source="'INTERNAL REPO URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install codac
win_chocolatey:
name: codac
version: '1.5.6'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'codac' do
action :install
source 'INTERNAL REPO URL'
version '1.5.6'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller codac
{
Name = "codac"
Version = "1.5.6"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'codac':
ensure => '1.5.6',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved by moderator mkevenaar on 01 Nov 2024.
Codac is a library providing tools for constraint programming over reals, trajectories and sets.
Quick start
- After installing Chocolatey, run
choco install -y codac cmake make qtcreator
in PowerShell and then launch Qt Creator and choose Open Project, opentest_codac\CMakelists.txt
(get the folder from https://www.ensta-bretagne.fr/lebars/Share/test_codac.zip), ensure Desktop is selected and click Configure Project, wait 10 s then click on the big bottom green Run button, finally check that "My first tube:Tube [0, 10]" appears. - Optionally, download and run https://github.com/ENSTABretagneRobotics/VIBES/releases/download/0.2.3/VIBes-0.2.3-win32.exe before running the project, and check that a tube appears in VIBes window.
Troubleshooting
- Check that all the packages and their dependencies were installed, if one failed (e.g. due to network-related errors) try to reinstall it using
--force
or try a previous version... - 32 bit versions of Qt Creator do not seem available any more, see https://github.com/AdmiringWorm/chocolatey-packages/issues/362.
- If multiple compilers are already installed, Qt Creator might show multiple possibilities in the Configure Project panel, ensure you choose one compatible with https://chocolatey.org/packages/codac#dependencies.
Package parameters
The following package parameters can be set:
/url:URL
- Will install the specified binary package (e.g. built for Visual Studio), see versions from https://github.com/codac-team/codac/releases (the WindowsPATH
might need to be updated manually with e.g.C:\ProgramData\chocolatey\lib\ibex\bin
, etc.). By default, only the MinGW libraries compatible with the corresponding MinGW Chocolatey package dependency are installed. Use the standard parameterchoco install --ignore-dependencies ...
to avoid installing the default MinGW and IBEX Chocolatey package dependencies if needed (you might want to install manually IBEX package with the corresponding parameters, as well as the corresponding compiler and the Eigen package)./checksum:SHA256
- SHA256 checksum of the binary package specified by the/url
parameter. If needed, use the standard parameterchoco install --ignore-checksums ...
for trusted sources./urlX:URL
- Same as above, with X in [1,99], except this will not disable the installation of the MinGW libraries compatible with the corresponding MinGW Chocolatey package dependency./checksumX:SHA256
- SHA256 checksum of the binary package specified by the/urlX
parameter. If needed, use the standard parameterchoco install --ignore-checksums ...
for trusted sources./InstallDir:INSTALLDIR
- Installation directory./Path
- Will try to update WindowsPATH
./NoRegistry
- Will not try to update Windows registry.
To pass package parameters, use--params "''"
(e.g.choco install codac --params "'/Path /NoRegistry'"
), and to install another binary package, try e.g.
choco install -y chocolatey-core.extension
choco install -y --ignore-dependencies codac --params "'/url:https://github.com/codac-team/codac/releases/download/v1.5.6/codac_x64_vc17.zip'"
$ErrorActionPreference = 'Stop'; # Stop on all errors.
# Source variables which are shared between install and uninstall.
. $PSScriptRoot\sharedVars.ps1
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$pp = Get-PackageParameters
$packageDir = Join-Path "$toolsDir" ".." -Resolve
$installDir = Join-Path "$packageDir" ".." -Resolve
if ($pp.InstallDir -or $pp.InstallationPath) {
$installDir = $pp.InstallDir + $pp.InstallationPath
}
Write-Host "Codac is going to be uninstalled from '$installDir'"
$root = Join-Path $installDir "codac"
$newpath = [environment]::GetEnvironmentVariable("Path","Machine")
$newpath = ($newpath.Split(';') | Where-Object { $_ -ne "$root\bin" }) -join ';'
[environment]::SetEnvironmentVariable("Path",$newpath,"Machine")
try {
Get-ItemProperty -Path $CMakeSystemRepositoryPath\$CMakePackageName | Select-Object -ExpandProperty "$CMakePackageName$CMakePackageVer`_$arch" -ErrorAction Stop | Out-Null
Remove-ItemProperty -Path $CMakeSystemRepositoryPath\$CMakePackageName -Name "$CMakePackageName$CMakePackageVer`_$arch"
}
catch {
}
if (Test-Path $root) {
if ((Resolve-Path $root).Path -notcontains (Resolve-Path $packageDir).Path) {
Remove-Item -Recurse -Force $root
}
}
$ErrorActionPreference = 'Stop'; # Stop on all errors.
# Source variables which are shared between install and uninstall.
. $PSScriptRoot\sharedVars.ps1
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$pp = Get-PackageParameters
$packageDir = Join-Path "$toolsDir" ".." -Resolve
$installDir = Join-Path "$packageDir" ".." -Resolve
if ($pp.InstallDir -or $pp.InstallationPath) {
$installDir = $pp.InstallDir + $pp.InstallationPath
}
Write-Host "Codac is going to be uninstalled from '$installDir'"
$root = Join-Path $installDir "codac"
$newpath = [environment]::GetEnvironmentVariable("Path","Machine")
$newpath = ($newpath.Split(';') | Where-Object { $_ -ne "$root\bin" }) -join ';'
[environment]::SetEnvironmentVariable("Path",$newpath,"Machine")
try {
Get-ItemProperty -Path $CMakeSystemRepositoryPath\$CMakePackageName | Select-Object -ExpandProperty "$CMakePackageName$CMakePackageVer`_$arch" -ErrorAction Stop | Out-Null
Remove-ItemProperty -Path $CMakeSystemRepositoryPath\$CMakePackageName -Name "$CMakePackageName$CMakePackageVer`_$arch"
}
catch {
}
if (Test-Path $root) {
if ((Resolve-Path $root).Path -notcontains (Resolve-Path $packageDir).Path) {
Remove-Item -Recurse -Force $root
}
}
# Some of these variables might not be used in links to simplify parsing of files...
if ((Get-ProcessorBits 32) -or $env:ChocolateyForceX86 -eq $true) { $arch = "x86" } else { $arch = "x64" }
$MinGWMVer = "11"
$CMakeRegistryPath = "HKCU:\SOFTWARE\Kitware\CMake"
$CMakeSystemRepositoryPath = "HKLM:\SOFTWARE\Kitware\CMake\Packages"
$CMakePackageName = "Codac"
$CMakePackageVer = "1.5.6"
Log in or click on link to see number of positives.
- codac.1.5.6.nupkg (aacf432af384) - ## / 62
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
Codac 1.5.6 | 46 | Thursday, April 11, 2024 | Approved | |
Codac 1.5.2 | 62 | Monday, October 16, 2023 | Approved | |
Codac 1.4.6 | 40 | Saturday, October 7, 2023 | Approved | |
Codac 1.2.1 | 95 | Sunday, May 28, 2023 | Approved | |
Codac 1.2.0 | 148 | Wednesday, June 8, 2022 | Approved | |
Codac 1.1.0 | 95 | Wednesday, May 18, 2022 | Approved | |
Codac 1.0.0 | 127 | Tuesday, April 26, 2022 | Approved | |
Codac 0.1.13 | 74 | Wednesday, April 13, 2022 | Approved | |
Codac 0.1.7 | 111 | Friday, November 5, 2021 | Approved | |
Codac 0.1.6 | 122 | Wednesday, August 25, 2021 | Approved | |
Codac 0.1.5 | 93 | Thursday, August 19, 2021 | Approved | |
Codac 0.1.4 | 84 | Thursday, August 19, 2021 | Approved | |
Codac 0.1.3 | 96 | Saturday, May 15, 2021 | Approved |
-
- chocolatey-core.extension (≥ 1.1.0)
- mingw (= 11.2.0.7112021)
- eigen (≥ 3.3.4.20210818)
- ibex (≥ 2.8.9.20230510)
Ground Rules:
- This discussion is only about Codac and the Codac package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Codac, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.