chadmv / cgcmake Goto Github PK
View Code? Open in Web Editor NEWCMake modules for common applications related to computer graphics
License: MIT License
CMake modules for common applications related to computer graphics
License: MIT License
Hello, I am trying to figure out how to set up FindMaya
to load lib from custom location without modifying FindMaya.cmake
file. For example if I want to use maya developer kit instead of installing maya or for CI/CD. Is it a way to specify custom location.
I have tried to pass MAYA_LOCATION
env variable but it still looking for maya in default directory, specified in FindMaya.cmake
file.
try to build it for Maya 2017 on linux machine but failed.
cmake version 3.9.5
c++ (GCC) 7.2.0
`cmake -G "Unix Makefiles" -DMAYA_VERSION=2017 ../
-- The C compiler identification is GNU 7.1.1
-- The CXX compiler identification is GNU 7.1.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Maya: /usr/autodesk/maya2017/include
-- Configuring done
-- Generating done
-- Build files have been written to: /T/mayaPlugInBase/build
cmake --build . --config Release
Scanning dependencies of target helloWorld
[ 50%] Building CXX object src/CMakeFiles/helloWorld.dir/helloWorld.cpp.o
c++: error: "-fPIC": No such file or directory
make[2]: *** [src/CMakeFiles/helloWorld.dir/build.make:63: src/CMakeFiles/helloWorld.dir/helloWorld.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:86: src/CMakeFiles/helloWorld.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
`
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.