Comments (5)
@wagnerst, cmake configs are new to this codebase and it would be great to troubleshoot this a bit more. Is this cmake-version dependent? I assume @bhardwajs (who introduced these configs recently) didn't see it in their environment.
I'll dust off my Mac to see what's going on but it will be a slow process. We can consider removing this flag from the config to unblock the compilation on MacOS until we understand it better.
from pict.
@wagnerst - The PR that introduced this change (#85) has a PR build on MacOS: https://pipelines.actions.githubusercontent.com/UYdpZu1K2Abbco3Gy7dEALkh0aw6QbWDK3pBQmV4Okx7ENc2Ng/_apis/pipelines/1/runs/381/signedlogcontent/3?urlExpires=2022-05-03T03%3A30%3A09.0046715Z&urlSigningMethod=HMACV1&urlSignature=AOgmhzVgg4uFpytZqIKdXtJ6y0RAeMPwYlmdjF0qH4k%3D
This build succeeded. So, I am wondering if there is something specific about the configuration you are using. Can you please share more details about the error and the setup of your build machine?
As @jaccz mentioned, I don't have a MacOS to test. And, I agree if understanding and resolving the issue is going to take time, removing this flag from MacOS config is a workaround.
from pict.
So this is the error I get:
[ 52%] Building CXX object cli/CMakeFiles/pict_cli.dir/mparser.cpp.o
/Users/wagnerst/Stuff/ASTA 2022/pict/cli/mparser.cpp:369:20: error: if statement has empty body [-Werror,-Wempty-body]
if (found) ;
^
/Users/wagnerst/Stuff/ASTA 2022/pict/cli/mparser.cpp:369:20: note: put the semicolon on a separate line to silence this warning
1 error generated.
make[2]: *** [cli/CMakeFiles/pict_cli.dir/mparser.cpp.o] Error 1
make[1]: *** [cli/CMakeFiles/pict_cli.dir/all] Error 2
make: *** [all] Error 2
After running cmake --build build
I have installed the CMake using homebrew.
cmake has the version 3.23.1.
clang is Apple clang version 13.1.6 (clang-1316.0.21.2.3).
Anything else that can be helpful?
from pict.
from pict.
Tracked it down. Here's the fix. #91
Silly but it seems to work. If you have a better idea on how this warning can be suppressed, let me know. Whatever the method, it needs to work on all supported compilers and platforms. Yuck.
from pict.
Related Issues (20)
- function pickValue Assert Fail. when Java Invoke pict.class
- README: "Excluding other parameters" section: "using up" combinations HOT 8
- dylib invoke crash due to fatal error.
- Multiple value lines for the same parameter HOT 4
- Does the api-usage have full functionality as cli? HOT 2
- CLI taking long and never complete the execution
- Will the constraints grammar support mathematical expressions(e.g. +, -, *, /) in the future? HOT 1
- issue 1
- issue 2
- [Feature] Support exclusion/inclusion of parameters based on values
- New updates aren't published properly
- CMake build system for PICT?
- Support for clang using -Wall HOT 1
- Release 3.7.4 to publish vcpkg port HOT 2
- how to update profile?
- This repo is missing important files
- make error on Ubuntu 5.4.0 HOT 1
- Documentation on sub-models HOT 9
- support the arm64 platform? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pict.