I recently managed to generate the visual studio project file for V8, but it doesn't compile
When I compile the All solution it spends maybe ~10 minutes compiling and then presents me with a bunch of error (at least in Release mode, 35 to be exact).
Example:
MSB6006 "cmd.exe" exited with code 1. js2c
C1083 Cannot open source file: '..\..\build\Release\obj\global_intermediate\experimental-libraries.cc': No such file or directory v8_nosnapshot
C1083 Cannot open source file: '..\..\build\Release\obj\global_intermediate\extras-libraries.cc': No such file or directory v8_nosnapshot
C1083 Cannot open source file: '..\..\build\Release\obj\global_intermediate\libraries.cc': No such file or directory v8_nosnapshot
C1083 Cannot open source file: '..\..\build\Release\obj\global_intermediate\experimental-extras-libraries.cc': No such file or directory v8_nosnapshot
Why isn't it compiling correctly?
The compiler can't find the directory v8_nosnapshot
What are your project settings? If you have access to this you might want to check that paths to your source and header files resolve correctly.
Else place the v8_nosnapshot directory and other source files needed for a successful compile where the compiler can find it
Right Click on the js2c project -> Properties, Under VC++ Directories -> Executable Directories, Check if the python and cygwin directories are set properly.
The python directory should exists under v8\third_party as shown below. If not, you can copy the python folder under depot_tools to v8\thrid_party\python_** and compile. You can also expand the macro and see what is the value for MSBuildProjectDirectory:
$(MSBuildProjectDirectory)\..\..\thrid_party\python_26
Related
I'm having an issue trying to make Assimp work in an engine I'm doing. I'm trying to add it as a submodule and build it with premake, and I managed to properly include it as a project in the solution, but I'm having an error that I cannot understand.
The error is that some files in assimp are giving me a "cannot include file" error, which is weird because the file it is there, the next image shows it:
I checked the working directory of the project and it is in 'vendor/Assimp' (check the image), so it should be able to include the file. I'm assuming it must be something on the include directories, but I can't manage to find specifically what it is... Does somebody have any clue? Thanks!
The specific errors I'm having in this case is the next:
Error (active) E1696 cannot open source file "contrib/zip/src/zip.h" Assimp C:\Users\lucho.suaya\Documents\GitHub\Kaimos\KaimosEngine\vendor\Assimp\code\3MF\D3MFExporter.cpp 61
Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: 'contrib/zip/src/zip.h': No such file or directory Assimp C:\Users\lucho.suaya\Documents\GitHub\Kaimos\KaimosEngine\vendor\Assimp\code\3MF\D3MFExporter.cpp 61
And the include directories I'm adding in the premake file of the Assimp project are the next ones:
includedirs
{
"include",
"code",
"code/Common",
"code/PostProcessing",
"code/AssetLib",
"contrib/irrXML",
"contrib/rapidjson/include",
"contrib/unzip"
}
Then I have another premake file for the engine project in which i wrote the next (regarding assimp):
IncludeDir["Assimp"] = "%{wks.location}/KaimosEngine/vendor/Assimp/include"
include "KaimosEngine/vendor/Assimp" -- Includes Assimp Premake File
includedirs { "%{IncludeDir.Assimp}" }
links { "Assimp" }
The issue was solved by including in the project many files I didn't include
I am trying to compile this code (https://github.com/cahya-wirawan/stm32f4-musicplayer) On my STM32F4Discovery board using Atollic True Studio. When I launch the debug of the main, I get this error:
../lib/driver/src/stm32f4xx_syscfg.c:50:30: fatal error: stm32f4xx_syscfg.h: No such file or directory
However stm32f4xx_syscfg.h is in the path /stm32f4-musicplayer/lib/driver/inc, so I think it's a path issue and I have to specify it somewhere. Any ideas?
Thanks
Check the project settings (right click on project -> properties -> c/c++ general -> paths and symbols). Ensure you're src/ folder is included here.
I'm building an IE extension (ATL) with VS2008 and somehow when I switch to release mode it gives me some linking error:
Error 2 fatal error C1083: Cannot open include file: 'ImplAddon.h': No such file or directory *************** 19 Engine
Error 3 fatal error LNK1181: cannot open input file '..\release addon\engine.lib' Addon Addon
I've tried to add to each of the projects in the "Additional include directories" in the project's properties the relevant path to 'ImplAddon.h' but nothing helps.
Any idea what to do??
Thanks a lot fellas :)
Right click each project and go to properties then top,left there is a drop-down to select the environmental. select all configurations there. then go to C++-> General -> Additional directories then add the paths of your header fails located at.
I'm working through the CMake tutorial and I'm up to the Adding a Version Number and Configured Header File section. Unfortunately Xcode isn't recognising the generated header file:
The error:
The header file was generated by CMake ok:
TutorialConfig.h.in
// the configured options and settings for Tutorial
#define Tutorial_VERSION_MAJOR #Tutorial_VERSION_MAJOR#
#define Tutorial_VERSION_MINOR #Tutorial_VERSION_MINOR#
CMakeLists.txt
cmake_minimum_required (VERSION 2.6)
project (Tutorial)
# The version number.
set (Tutorial_VERSION_MAJOR 1)
set (Tutorial_VERSION_MINOR 0)
# configure a header file to pass some of the CMake settings
# to the source code
configure_file (
"${PROJECT_SOURCE_DIR}/TutorialConfig.h.in"
"${PROJECT_BINARY_DIR}/TutorialConfig.h"
)
# add the binary tree to the search path for include files
# so that we will find TutorialConfig.h
include_directories("${PROJECT_BINARY_DIR}/src")
# add the executable
add_executable(Tutorial src/tutorial.cpp)
This is the tutorial I'm working from.
I don't use Xcode, but another IDE that's Linux based. But maybe I can help you a bit. I'm just wondering -- does your program compile? That's perhaps more important.
My IDE often complains about header files such as your's -- that is, configuration files that are generated by CMake. Such warnings (at least for me) can be ignored. I usually do because my build/ directory is sometimes empty. So when I've opened up the source file, there wouldn't be TutorialConfig.h yet.
In fact, the IDE can never know about such header files. That's because it doesn't know which build/ directory you're going to compile your program in.
If you are worried by the warning, then there is probably a place where you can specify to Xcode which build/ directory to search for header files. That will remove the warning, after you've run CMake once. However, removing such a warning is unreliable because you can always build in another directory that would have TutorialConfig.h missing.
Hope this helps!
Oh, haha. I changed #include "src/TutorialConfig.h" to #include "TutorialConfig.h" and all is well. I figured it out by checking out the project settings:
I'm trying to build ogre newton application from svn.
I have win7 && vs 2008.
There is inc directory which is included into resources (additional include directories).
But after compiling I get error:
fatal error C1083: Cannot open source
file: '*\newton20\inc': Permission
denied c1xx
What's wrong?
It looks like the compiler is trying to open the inc directory as a source file.