• Visual Studio Vcpkg openGL开发环境配置


    博客转自: https://icytown.com/game/vcpkg-build-opengl/ && https://blog.csdn.net/binbingg/article/details/8653527?utm_source=blogxgwz6

    openGL, freeglut, gl3w, glfw3都可以通过vcpkg如下类似指令正常安装

    ./vcpkg install opengl

    最近一个项目用到了openIL库,现在命名为 devil,利用vcpkg安装过程中,devil的依赖库 

    都安装顺利,但是在对 DentonW-DevIL-v1.8.0.tar.gz 源代码编译过程中编译失败

    Line 191: D:HomepkgsUdacityvcpkg-masteruildtreesdevilsrcv1.8.0-94cf6d6ceaDevILsrc-ILsrcil_ktx.cpp(176): error C2059: syntax error: 'bad suffix on number'
        Line 191: D:HomepkgsUdacityvcpkg-masteruildtreesdevilsrcv1.8.0-94cf6d6ceaDevILsrc-ILsrcil_ktx.cpp(176): error C2059: syntax error: 'bad suffix on number'
        Line 192: D:HomepkgsUdacityvcpkg-masteruildtreesdevilsrcv1.8.0-94cf6d6ceaDevILsrc-ILsrcil_ktx.cpp(176): error C2017: illegal escape sequence
        Line 193: D:HomepkgsUdacityvcpkg-masteruildtreesdevilsrcv1.8.0-94cf6d6ceaDevILsrc-ILsrcil_ktx.cpp(176): error C2001: newline in constant
        Line 194: D:HomepkgsUdacityvcpkg-masteruildtreesdevilsrcv1.8.0-94cf6d6ceaDevILsrc-ILsrcil_ktx.cpp(176): error C2137: empty character constant
        Line 195: D:HomepkgsUdacityvcpkg-masteruildtreesdevilsrcv1.8.0-94cf6d6ceaDevILsrc-ILsrcil_ktx.cpp(177): error C2143: syntax error: missing ';' before '}'
        Line 195: D:HomepkgsUdacityvcpkg-masteruildtreesdevilsrcv1.8.0-94cf6d6ceaDevILsrc-ILsrcil_ktx.cpp(177): error C2143: syntax error: missing ';' before '}'
        Line 196: D:HomepkgsUdacityvcpkg-masteruildtreesdevilsrcv1.8.0-94cf6d6ceaDevILsrc-ILsrcil_ktx.cpp(179): error C2059: syntax error: 'if'
        Line 196: D:HomepkgsUdacityvcpkg-masteruildtreesdevilsrcv1.8.0-94cf6d6ceaDevILsrc-ILsrcil_ktx.cpp(179): error C2059: syntax error: 'if'
        Line 197: D:HomepkgsUdacityvcpkg-masteruildtreesdevilsrcv1.8.0-94cf6d6ceaDevILsrc-ILsrcil_ktx.cpp(179): error C2143: syntax error: missing ';' before '{'
        Line 197: D:HomepkgsUdacityvcpkg-masteruildtreesdevilsrcv1.8.0-94cf6d6ceaDevILsrc-ILsrcil_ktx.cpp(179): error C2143: syntax error: missing ';' before '{'

    最后直接下载了,官网已经编译好的SDK

  • 相关阅读:
    Problem: 数字的拆分之二
    Problem: 数字的拆分之一
    Problem : [Usaco2014 Dec]Piggy Back
    Problem: 八中厕所的门
    Problem : [Usaco2007 Open]Catch That Cow 抓住那只牛
    vim设置
    生活致富靠传销?北海警方:排版错误已整改
    SpringBoot(二)——配置文件
    SpringBoot(一)——IDEA创建项目
    Redis(一)——安装与使用
  • 原文地址:https://www.cnblogs.com/flyinggod/p/12792425.html
Copyright © 2020-2023  润新知