-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modified source code for added compatibility on MacOS #30
Open
michizhou
wants to merge
21
commits into
fwilliams:michael
Choose a base branch
from
michizhou:michael
base: michael
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 11 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e10db84
Modified AppVeyor build configuration settings
michizhou c56303d
Added installation of new software by AppVeyor
michizhou 339892e
Modified AppVeyor build compilation settings
michizhou 5645606
Changed paths for AppVeyor build libraries
michizhou 548d888
Added return value to header function
michizhou e52ce30
Revised AppVeyor library compilation paths
michizhou 0c5fd0e
Modified AppVeyor after build command script
michizhou 7e186e0
Added Travis build instance
michizhou d8799ed
Modified Travis compiler environment settings
michizhou 1b7fb81
Updated Travis build compiler configuration
michizhou fc05c3a
Modified source code for added compatibility on MacOS
michizhou 525b13a
Changed features for rendering and UI functionality on MacOS
michizhou 0013a21
Resolved MacOS bounding polygon selection and rendering issues
michizhou 35e12f7
Added dependencies for debug group functions
michizhou b38e0ec
Added MacOS environment builds to Travis
michizhou 246fe30
Modified OpenMP and Qt5 compilation settings
michizhou 91116d1
Refactored helper functions and state constants
michizhou ccdc39a
Added onto comments and debug helper function
michizhou db06ce5
Modified debug helper function implementation
michizhou 1964a44
Corrected mouse coordinate discrepancies with scaling
michizhou 441b955
Addendum 1
michizhou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
dist: trusty | ||
sudo: true | ||
language: cpp | ||
cache: ccache | ||
branches: | ||
only: | ||
- master | ||
- michael | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- cmake | ||
- g++-6 | ||
- gcc-6 | ||
- g++-7 | ||
- gcc-7 | ||
- libblas-dev | ||
- libboost-filesystem-dev | ||
- libboost-system-dev | ||
- libboost-thread-dev | ||
- libglu1-mesa-dev | ||
- liblapack-dev | ||
- libmpfr-dev | ||
- libpython3-dev | ||
- python3-setuptools | ||
- qt5-default | ||
- xorg-dev | ||
homebrew: | ||
packages: | ||
- ccache | ||
matrix: | ||
include: | ||
- os: linux | ||
compiler: gcc-6 | ||
env: | ||
- MATRIX_EVAL="export CC=gcc-6 CXX=g++-6 CONFIG=Release PYTHON=python3" | ||
- os: linux | ||
compiler: gcc-7 | ||
env: | ||
- MATRIX_EVAL="export CC=gcc-7 CXX=g++-7 CONFIG=Release PYTHON=python3" | ||
- os: linux # same config like above but with -DLIBIGL_USE_STATIC_LIBRARY=OFF to test static and header-only builds | ||
compiler: gcc-7 | ||
env: | ||
- MATRIX_EVAL="export CC=gcc-7 CXX=g++-7 CONFIG=Release PYTHON=python3 CMAKE_EXTRA='-DLIBIGL_USE_STATIC_LIBRARY=OFF'" | ||
- os: linux | ||
compiler: gcc-7 | ||
env: | ||
- MATRIX_EVAL="export CC=gcc-7 CXX=g++-7 CONFIG=Release PYTHON=python3 CMAKE_EXTRA='-DLIBIGL_EIGEN_VERSION=3.3.7'" | ||
|
||
install: | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi | ||
- eval "${MATRIX_EVAL}" | ||
- ccache --max-size=5.0G | ||
- ccache -V && ccache --show-stats && ccache --zero-stats | ||
|
||
script: | ||
# Tutorials and tests | ||
- mkdir build | ||
- pushd build | ||
- cmake ${CMAKE_EXTRA} | ||
-DCMAKE_BUILD_TYPE=$CONFIG | ||
-DLIBIGL_CHECK_UNDEFINED=ON | ||
-DLIBIGL_WITH_CGAL=ON | ||
../ | ||
- make -j8 | ||
- ctest --verbose | ||
- popd | ||
- rm -rf build | ||
- ccache --show-stats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We want
glDebugMessageCallback
on Linux too.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You moved other stuff to a helper function, let's wrap this in a helper function called
init_opengl_debug()
(or something more appropriate if you want). You can put the function alongside the other helper functions you wrote.