Comments (7)
I am afraid I cannot reproduce what you are reporting. Is it possible that you need to do a 'make distclean' first? Do you have a compile_flags.hrl file in the include dir? (This file could actually be empty, depending on the OTP version you are using.)
from proper.
I'm sorry, but bug still in there. It can't be reproduced when compiled as a standalone application. Instead, try to compile it as 'dependency' application usin 'rebar' tool:
==> vsports (get-deps)
[...]
Pulling proper from {git,"https://github.com/manopapad/proper.git","master"}
Cloning into 'proper'...
[...]
==> proper (compile)
src/strip_types.erl:50: Warning: missing specification for function parse_transform/2
Compiled src/strip_types.erl
include/proper_internal.hrl:26: can't find include file "compile_flags.hrl"
make: *** [all] Error 1
The file compile_flags.hrl didn't created, find (1) didn't found it. I think this is because you try to execute 'write_compile_flags' script in current directory, when, in fact, the current directory is for upper level application and proper located in 'deps/proper' directory.
from proper.
I see. However, I am not convinced that this is a problem in PropEr instead of your rebar use or your directory structure.
For example, due to issues 23, 25 and 26 , I know for a fact that there are various projects that use PropEr as a dependency and do not have the problem that you reported (this is because they found other problems, which by now are solved). You may want to look at the code bases of the developers that reported the issues and get some inspiration on how to add PropEr as a dependency in your code base.
In any case, if you do not manage to fix the problem in the way I suggested, we'll gladly consider to include in PropEr's code base a pull request that fixes the problem.
from proper.
Is this issue fixed by now or you still have problems? If you have managed to solve it somehow we would be interested in finding out how this was done and possibly incorporate your fix into PropEr.
from proper.
Since a month has passed and there have been no replies from the person staring this thread, I am closing it. Open a new issue if there are still problems.
from proper.
For those who end up here after google search of this error. It's caused by having too old version of rebar installed. Just upgrade rebar and you will be fine.
from proper.
I had the same issue and your note helped solving it. Thank you @JonGretar.
from proper.
Related Issues (20)
- run_parallel_commands doesn't handle exceptions in commands the same way run_commands does HOT 6
- PropEr map() generators
- PropEr should use `printer`. HOT 2
- Target server should update process dictionary
- Add proper examples to shrinking challenge
- New version and hex package HOT 13
- Generate a binary of variable size HOT 2
- Add more detailed installation instructions with Homebrew HOT 9
- Obtaining a PropEr rebar3 HOT 1
- use previous return value as parameter of new command in new state HOT 6
- Arguments shrinking is not working in stateful models. HOT 2
- {var,2} instead of the correct variable during shrink
- `proper_transformer` has unfavorable behavior for fine-grained compile dependencies HOT 4
- Generators inside maps
- Atom generator exhausts the atom limit HOT 4
- Substitute uses of `slave` with `peer` HOT 1
- {'EXIT', {badarg, [{erlang,atom_to_list, ...}]}} in proper_gen_next.erl
- Is there a new version to release? HOT 3
- Rebar3 needs to be recompiled
- Limiting the size/complexity of the commands generated by proper_fsm 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 proper.