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.
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 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
I am trying to run a multi project file from another developer. I am using a Mac computer with a Windows 7 bootcamp partition. I'm running the code on Visual Studios 2013 with OpenCV 3.0 and Qt.5.4.2.
(Im not sure if this affects the issue, but I have all these programs basically all on separate external USB drives because there isnt enough space on my partition)
The issue I think is that the original developer used Visual Studios 2012 and OpenCV 2.4.9. In the files he gave to me, he included the necessary OpenCv files, but I installed OpenCV before realizing this and have tried to change the Config Properties to include the directory for the OpenCV 3.0. Shouldn't this work?
The exact error is :
LINK : fatal error LNK1181: cannot open input file
'opencv_core300d.lib'
I'll also include Config Properties:
VC++ Directories
Executable Directories: C:\opencv\build\x64\vc12\bin;$(VCInstallDir)\bin\x86_amd64;$(VCInstallDir)\bin;$(ExecutablePath)
Include Directories: $(OPENCV_DIR)\build\include;$(IncludePath)
Library Directories:
C:\opencv\build\x64\vc12\staticlib;C:\opencv\build\x64\vc12\lib;E:\eyegaze\eyegaze\EyeGazeDemo;$(LibraryPath)
C/C++
Additional Include Directories:
..\Libraries\OpenCV\include;
C:\opencv\build\include\opencv2;->Changed to C:\opencv\build\include
..\Libraries\Intraface\include;
$(QTDIR)\include;
$(OPENCV_DIR)\include;
$(QTDIR)\include\QtWidgets;
$(QTDIR)\include\QtGui;
$(QTDIR)\include\QtCore;
debug;
.;
$(QTDIR)\mkspecs\win32-msvc2012;
.\GeneratedFiles;
%(AdditionalIncludeDirectories)
Linker
General
Additional Library Directories:
$(OPENCV_DIR)\build\x64\vc12\staticlib;
$(OPENCV_DIR)\build\x64\vc12\lib;
$(QTDIR)\lib;
E:\eyegaze\eyegaze\Libraries\OpenCV\lib;->removed
E:\eyegaze\eyegaze\Libraries\Intraface\lib;
E:\eyegaze\eyegaze\EyeGazeDemo;
%(AdditionalLibraryDirectories)
Input
Additional Dependencies:
glu32.lib;
opengl32.lib;
gdi32.lib;
user32.lib;
$(QTDIR)\lib\qtmaind.lib;
$(QTDIR)\lib\Qt5Cored.lib;
$(QTDIR)\lib\Qt5Widgetsd.lib;
$(QTDIR)\lib\Qt5Guid.lib;
%(AdditionalDependencies);
opencv_core300d.lib;
opencv_imgproc300d.lib;
opencv_highgui300d.lib;
opencv_objdetect300d.lib;
opencv_ml300d.lib;
E:\eyegaze\eyegaze\Libraries\Intraface\lib\IntraFaceDLL-x86d.lib
Also I was wondering what is the difference between Configuration Properties->C/C++->Additional Include Directories and Configuration Properties->VC++ Directories->Include Directories?
Thank You in Advance!
Update
I changed a few things in the configuration properties (noted above), and now the error is:
1>opencv_core249.lib(opencv_core249.dll) : fatal error LNK1112: module
machine type 'X86' conflicts with target machine type 'x64'
My computer is x64 so I had changed all the settings for x64...
Im not sure If this made it worse, or if I fixed the problem?
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 checked out the protobuf repository, built with a custom prefix and installed, then copy&pasted the Person example from Google and compiled with protoc. That was OK.
But when I include Person.pb.h in my CPP file, I get:
/home/name/usr/include/google/protobuf/repeated_field.h:53:47: fatal error:
google/protobuf/stubs/type_traits.h: No such file or directory
That file was not installed. Is it a bug?