memsharded / conan-premake Goto Github PK
View Code? Open in Web Editor NEWGenerator for the premake build system
License: MIT License
Generator for the premake build system
License: MIT License
Premake4 generator for Conan C/C++ Package manager https://conan.io It is a **generator package**, it is not embeded in the main conan.io codebase, but an independent package. Read http://docs.conan.io for mor info.
Hi. When using this conanfile.txt:
[requires]
Poco/1.7.3@lasote/stable
[email protected]@memsharded/testing
[generators]
Premake
[options]
Poco:shared=True
OpenSSL:shared=True
[imports]
bin, *.so -> ./bin # Copies all dll files from the package "bin" folder to my project "bin" folder
conan install works fine, but when I try to execute:
premake5 gmake
it throws error:
Error: /home/user/project/premake4.lua:3: error loading module 'conanpremake' from file './conanpremake.lua':
/home/user/project/conanpremake.lua:57: '=' expected near '-'
The problem are this lines:
conan_includedirs_electric-fence = {"/home/user/.conan/data/electric-fence/2.2.0/lasote/stable/package/21ace02f4960dd0c1d50bd3abe1537054de08157/include"}
conan_libdirs_electric-fence = {"/home/user/.conan/data/electric-fence/2.2.0/lasote/stable/package/21ace02f4960dd0c1d50bd3abe1537054de08157/lib"}
...
It seems that lua doesn't like variable identifiers like that.
Hi, I am trying to execute the provided demo as I want to use Premake in Conan. At first I had the error:
\conan-premake-master\example>conan install .
Hello/0.1@memsharded/testing: Not found in local cache, looking in remotes...
Hello/0.1@memsharded/testing: Trying with 'conan-center'...
ERROR: Failed requirement 'Hello/0.1@memsharded/testing' from 'PROJECT'
ERROR: Unable to find 'Hello/0.1@memsharded/testing' in remotes
It seems that it can't find the example code. I resolved this by removing the references from Hello in the dependencies (from conanfile.txt and main.cpp) which is not a problem for now as I don't need that package anyway. Unfortunately, running the command again gave me the similar error:
\conan-premake-master\example>conan install .
PremakeGen/0.1@memsharded/testing: Not found in local cache, looking in remotes...
PremakeGen/0.1@memsharded/testing: Trying with 'conan-center'...
ERROR: Failed requirement 'PremakeGen/0.1@memsharded/testing' from 'PROJECT'
ERROR: Unable to find 'PremakeGen/0.1@memsharded/testing' in remotes
The package indeed doesn't exist on: https://bintray.com/conan/conan-center. However, https://docs.conan.io/en/latest/integrations/premake.html says packages are available. What am I doing wrong? What things can I do to solve this? Is this project still supported/used by people?
--
Edit: I just want to add that I use windows 10 and premake (4 and 5) are definitely installed. Visual studio 2015 is also installed. I have virtually no experience with conan, so I guess if something is wrong, it will likely be that.
Maybe I need to run additional commands. I basically installed conan and ran install on the example (after trying and failing to write my own).
Many thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.