zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    显存与纹理内存详解
    UE4 编译虚幻引擎
    利用Lua脚本语言制作魔兽WOW插件
    详解液晶面板制造全过程
    游戏引擎剖析
    数据库常见面试题
    Selenium Webdriver元素定位的八种常用方式
    Windows 安装 Mongodb
    Redis在windows下安装过程
    python 关于一个懒惰和非懒惰的
  • 原文地址:https://www.cnblogs.com/flyinggod/p/12792425.html
Copyright © 2011-2022 走看看