We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
aal@aal-ThinkPad-S5-S540:~/Downloads/dqn-in-the-caffe-master$ ./dqn -gui A.L.E: Arcade Learning Environment (version 0.5.1) [Powered by Stella] Use -help for help screen. Game console created: ROM file: breakout.bin Cart Name: Breakout - Breakaway IV (1978) (Atari) Cart MD5: f34f08e5eb96e500e851a80be3277a56 Display Format: AUTO-DETECT ==> NTSC ROM Size: 2048 Bankswitch Type: AUTO-DETECT ==> 2K
Screen display requires directive __USE_SDL to be defined. Please recompile with flag '-D__USE_SDL'. See makefile for more information.
My CMakeLists.txt cmake_minimum_required (VERSION 2.6) project(dqn)
option(CPU_ONLY "Use CPU only for Caffe" ON) option(USE_CUDNN "Use cuDNN for Caffe" OFF) option(USE_SDL "Use SDL for ALE" ON)
include_directories(/home/aal/Downloads/dqn-in-the-caffe-master/caffe/distribute/include) include_directories(/home/aal/Downloads/Arcade-Learning-Environment-master/src) include_directories(/usr/include/SDL) link_directories(/home/aal/Downloads/dqn-in-the-caffe-master/caffe/build/lib) link_directories(/home/aal/Downloads/Arcade-Learning-Environment-master/build/CMakeFiles) if(USE_CUDNN) link_directories(~/cudnn-6.5-linux-R1) endif()
add_executable(dqn dqn_main.cpp dqn.cpp)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3 -march=native")
target_link_libraries(dqn caffe) target_link_libraries(dqn glog) target_link_libraries(dqn gflags) target_link_libraries(dqn ale) target_link_libraries(dqn /usr/local/lib/libale.so)
if(APPLE) include_directories(/System/Library/Frameworks/vecLib.framework/Versions/Current/Headers) endif()
if(USE_SDL) add_definitions(-D__USE_SDL) if(APPLE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -framework Cocoa") target_link_libraries(dqn sdl) target_link_libraries(dqn sdl_gfx) target_link_libraries(dqn sdl_image) target_link_libraries(dqn sdlmain) else() target_link_libraries(dqn SDL) target_link_libraries(dqn SDL_gfx) target_link_libraries(dqn SDL_image) target_link_libraries(dqn SDLmain) endif() endif()
if(NOT CPU_ONLY) include_directories(/usr/local/cuda-6.5/targets/x86_64-linux/include) endif()
if(CPU_ONLY) add_definitions(-DCPU_ONLY) endif()
if(USE_CUDNN) target_link_libraries(dqn cudnn) endif()
Any help? Thank you in advance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
aal@aal-ThinkPad-S5-S540:~/Downloads/dqn-in-the-caffe-master$ ./dqn -gui
A.L.E: Arcade Learning Environment (version 0.5.1)
[Powered by Stella]
Use -help for help screen.
Game console created:
ROM file: breakout.bin
Cart Name: Breakout - Breakaway IV (1978) (Atari)
Cart MD5: f34f08e5eb96e500e851a80be3277a56
Display Format: AUTO-DETECT ==> NTSC
ROM Size: 2048
Bankswitch Type: AUTO-DETECT ==> 2K
Screen display requires directive __USE_SDL to be defined. Please recompile with flag '-D__USE_SDL'. See makefile for more information.
My CMakeLists.txt
cmake_minimum_required (VERSION 2.6)
project(dqn)
option(CPU_ONLY "Use CPU only for Caffe" ON)
option(USE_CUDNN "Use cuDNN for Caffe" OFF)
option(USE_SDL "Use SDL for ALE" ON)
include_directories(/home/aal/Downloads/dqn-in-the-caffe-master/caffe/distribute/include)
include_directories(/home/aal/Downloads/Arcade-Learning-Environment-master/src)
include_directories(/usr/include/SDL)
link_directories(/home/aal/Downloads/dqn-in-the-caffe-master/caffe/build/lib)
link_directories(/home/aal/Downloads/Arcade-Learning-Environment-master/build/CMakeFiles)
if(USE_CUDNN)
link_directories(~/cudnn-6.5-linux-R1)
endif()
add_executable(dqn dqn_main.cpp dqn.cpp)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3 -march=native")
target_link_libraries(dqn caffe)
target_link_libraries(dqn glog)
target_link_libraries(dqn gflags)
target_link_libraries(dqn ale)
target_link_libraries(dqn /usr/local/lib/libale.so)
if(APPLE)
include_directories(/System/Library/Frameworks/vecLib.framework/Versions/Current/Headers)
endif()
if(USE_SDL)
add_definitions(-D__USE_SDL)
if(APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -framework Cocoa")
target_link_libraries(dqn sdl)
target_link_libraries(dqn sdl_gfx)
target_link_libraries(dqn sdl_image)
target_link_libraries(dqn sdlmain)
else()
target_link_libraries(dqn SDL)
target_link_libraries(dqn SDL_gfx)
target_link_libraries(dqn SDL_image)
target_link_libraries(dqn SDLmain)
endif()
endif()
if(NOT CPU_ONLY)
include_directories(/usr/local/cuda-6.5/targets/x86_64-linux/include)
endif()
if(CPU_ONLY)
add_definitions(-DCPU_ONLY)
endif()
if(USE_CUDNN)
target_link_libraries(dqn cudnn)
endif()
Any help?
Thank you in advance
The text was updated successfully, but these errors were encountered: