V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  wohenyingyu01  ›  全部回复第 35 页 / 共 57 页
回复总数  1126
1 ... 31  32  33  34  35  36  37  38  39  40 ... 57  
2015-10-15 21:53:33 +08:00
回复了 wohenyingyu01 创建的主题 问与答 有 oc 基础应该看什么书入门 ios 开发?
@lomanyong 谢谢!!
2015-10-14 09:46:57 +08:00
回复了 zyllwy 创建的主题 macOS 你们的 mac 下的 steam dota2,也是切换到桌面就没法切换回去了?
不是左右滑?
2015-10-13 15:12:56 +08:00
回复了 swiftfans 创建的主题 macOS Mac 下面有什么软件可以画出这种图?
photoshop
2015-10-13 09:45:24 +08:00
回复了 hienchu 创建的主题 macOS EI Capitan 问题真的很多么?
office 2016 有事没事就崩溃,已经最新版
2015-10-11 13:31:33 +08:00
回复了 tunnyios 创建的主题 Xcode 项目移到 xcode7 后 ios9 设备问题!
有交叉编译么
2015-10-10 13:20:51 +08:00
回复了 Rorschach 创建的主题 C Objective-C 能写服务端(server-side)的程序吗?
@Rorschach 我不知道其他平台的编译器
2015-10-09 15:18:20 +08:00
回复了 snowspace 创建的主题 iDev 苹果审核 app 会用模拟器吗?
@Shane 苹果不需要你适配 iPad 的屏幕,但是需要你在 iPad 上能跑。。。
2015-10-08 14:16:20 +08:00
回复了 Rorschach 创建的主题 C Objective-C 能写服务端(server-side)的程序吗?
那你的服务器貌似只能用 Mac server 了
@beyondsoft 嗯是的,但是这个东西只要在最上层的 CMakeLists.txt 配置文件里面包含进去就好, vcmi 包里面都有的,现在还有一个库没解决:
CMake Error at /usr/local/Cellar/cmake/3.3.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find SDL2 (missing: SDL2_LIBRARY) (found version "1.2.15")
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.3.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindSDL2.cmake:214 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:126 (find_package)
@tracyone 嗯嗯谢谢,我已经解决 ffmpeg 了,还有其他一些依赖库,再研究看看
@secondwtq
我的 brew 除了 pkg-config 和 cmake 之外没有装其他的,我发现最顶层的 CMakeLists.txt 就有问题,库的路径根本就不对,似乎 cmake 就是由这个配置文件来检查环境并生成 makefile 的:
if (APPLE)
# Default location for thirdparty libs
set(CMAKE_INCLUDE_PATH "../include" "${CMAKE_OSX_SYSROOT}/usr/include")
set(CMAKE_LIBRARY_PATH "../lib")
set(CMAKE_FRAMEWORK_PATH "../Frameworks")
set(BOOST_ROOT "../")

将其改为:
if (APPLE)
# Default location for thirdparty libs
set(CMAKE_INCLUDE_PATH "./include" "${CMAKE_OSX_SYSROOT}/usr/include")
set(CMAKE_LIBRARY_PATH "./lib")
set(CMAKE_FRAMEWORK_PATH "./Frameworks")
set(BOOST_ROOT "./lib")
set(MINIZIP_LIBRARY "./lib/minizip")
可以顺利识别 boost , minizip 和 FFmpeg ,不明白你的为啥就没问题。。。但是这样改后依然还有好多库没识别,待研究。
@zhonghua 弄出来了么
附上 output 吧:

Stevens-MacBook-Air:build Steven$ cmake -G Xcode .. -DENABLE_LAUNCHER=OFF
-- The C compiler identification is AppleClang 7.0.0.7000072
-- The CXX compiler identification is AppleClang 7.0.0.7000072
-- Check for working C compiler using: Xcode
-- Check for working C compiler using: Xcode -- 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 using: Xcode
-- Check for working CXX compiler using: Xcode -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for shm_open in rt
-- Looking for shm_open in rt - not found
CMake Error at /usr/local/Cellar/cmake/3.3.2/share/cmake/Modules/FindBoost.cmake:1245 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:118 (find_package)


-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")
-- checking for module 'libavcodec'
-- package 'libavcodec' not found
-- checking for module 'libavformat'
-- package 'libavformat' not found
-- checking for module 'libavdevice'
-- package 'libavdevice' not found
-- checking for module 'libavutil'
-- package 'libavutil' not found
-- checking for module 'libswscale'
-- package 'libswscale' not found
-- checking for module 'libpostproc'
-- package 'libpostproc' not found
CMake Error at /usr/local/Cellar/cmake/3.3.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find FFmpeg (missing: FFMPEG_INCLUDE_DIRS AVCODEC_LIBRARIES
AVCODEC_INCLUDE_DIRS AVFORMAT_LIBRARIES AVFORMAT_INCLUDE_DIRS
AVUTIL_LIBRARIES AVUTIL_INCLUDE_DIRS SWSCALE_LIBRARIES
SWSCALE_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.3.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindFFmpeg.cmake:163 (find_package_handle_standard_args)
CMakeLists.txt:120 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/Steven/Xcode/vcmi-develop/build/CMakeFiles/CMakeOutput.log".
See also "/Users/Steven/Xcode/vcmi-develop/build/CMakeFiles/CMakeError.log".
Stevens-MacBook-Air:build Steven$ ls
CMakeCache.txt CMakeFiles
Stevens-MacBook-Air:build Steven$ rm CMakeCache.txt
Stevens-MacBook-Air:build Steven$ rm -rf CMakeFiles/
Stevens-MacBook-Air:build Steven$ sudo cmake -G Xcode .. -DENABLE_LAUNCHER=OFF
Password:
-- The C compiler identification is AppleClang 7.0.0.7000072
-- The CXX compiler identification is AppleClang 7.0.0.7000072
-- Check for working C compiler using: Xcode
-- Check for working C compiler using: Xcode -- 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 using: Xcode
-- Check for working CXX compiler using: Xcode -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for shm_open in rt
-- Looking for shm_open in rt - not found
CMake Error at /usr/local/Cellar/cmake/3.3.2/share/cmake/Modules/FindBoost.cmake:1245 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:118 (find_package)


-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")
-- checking for module 'libavcodec'
-- package 'libavcodec' not found
-- checking for module 'libavformat'
-- package 'libavformat' not found
-- checking for module 'libavdevice'
-- package 'libavdevice' not found
-- checking for module 'libavutil'
-- package 'libavutil' not found
-- checking for module 'libswscale'
-- package 'libswscale' not found
-- checking for module 'libpostproc'
-- package 'libpostproc' not found
CMake Error at /usr/local/Cellar/cmake/3.3.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find FFmpeg (missing: FFMPEG_INCLUDE_DIRS AVCODEC_LIBRARIES
AVCODEC_INCLUDE_DIRS AVFORMAT_LIBRARIES AVFORMAT_INCLUDE_DIRS
AVUTIL_LIBRARIES AVUTIL_INCLUDE_DIRS SWSCALE_LIBRARIES
SWSCALE_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.3.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindFFmpeg.cmake:163 (find_package_handle_standard_args)
CMakeLists.txt:120 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/Steven/Xcode/vcmi-develop/build/CMakeFiles/CMakeOutput.log".
See also "/Users/Steven/Xcode/vcmi-develop/build/CMakeFiles/CMakeError.log".
@squid157 官方要求貌似要死亡阴影或者 wog 的版本, hd 只有埃莱西亚的光复吧?不过官方提供了个老版的购买地址就几美元
@kevinyoung 升级了,然后 home-brew 就用不了了,我得重新去获取 brew 目录的权限 chown = =
但是这个依赖库是倒数第四行的 download_dependencies.sh 脚本自动下载的,放在根目录的 lib 文件夹下面,不知道为什么 cmake 找不到。
2015-10-01 02:06:31 +08:00
回复了 mhtt 创建的主题 问与答 iOS 和安卓应用开发的问题
不如用 c++写。。。直接 visual studio 2015 走起
2015-09-30 15:37:02 +08:00
回复了 li24361 创建的主题 程序员 貌似 java 并不好接私活啊
@88250 没有做过 j2ee 不太熟: (
2015-09-30 10:29:13 +08:00
回复了 li24361 创建的主题 程序员 貌似 java 并不好接私活啊
@gy911201 是两条路线,你做服务端不是也要学 spring , structs , hibernate 框架?而且还要学 j2ee ,做安卓就学个安卓框架,并没有本质上的区别。
2015-09-30 09:45:56 +08:00
回复了 wucao219101 创建的主题 程序员 给 Web 套个壳让它变成 Android APP,有哪些现有的工具?
webview ?
2015-09-30 09:45:27 +08:00
回复了 li24361 创建的主题 程序员 貌似 java 并不好接私活啊
安卓被你吃了?
1 ... 31  32  33  34  35  36  37  38  39  40 ... 57  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4777 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms · UTC 09:41 · PVG 17:41 · LAX 02:41 · JFK 05:41
Developed with CodeLauncher
♥ Do have faith in what you're doing.