Questions tagged [vc10]

An acronym for Microsoft Visual C++ 2010.

An acronym for Microsoft Visual C++ 2010. Visual studio is a popular code editor for the Windows platform made by Microsoft.

13 questions
2
votes
2 answers

Replacing native VS 2010 (VC10) tr1 libraries with Boost.TR1

I have been using VS 2005 (VC8) with Boost.TR1 in the std::tr1 namespace by setting the Include Directories of VS to prioritize the boost tr1 headers as described here. Now I am moving over to VS 2010 (VC10) and I seem to be getting compilation…
devil
  • 1,829
  • 16
  • 23
2
votes
1 answer

How to compile Boost 1.39 in VS2010?

I am trying to upgrade our C++ project from VS2005 to VS2010 and so far all seems good except I need to recompile our Boost libraries (v1.39) in VS2010 (i.e. with vc100 - the versions we have are vc80). I do not (at this stage) want to upgrade…
namford
  • 1,171
  • 1
  • 14
  • 13
1
vote
1 answer

Correct way to do vc10 runtime installation

I am about to tear my hair out over installing VC10 runtimes! I have two applications, each with their own installer. To make sure each can be shipped standalone, each installer include the vcredist_x??.exe stuff to install the VC10 runtime. Now,…
1
vote
2 answers

Warning C4481 nonstandard extension used in enum 'MyEnum' used in qualified name

I am trying to remove the warnings from a class I am working on. The warning is as follows: Warning C4482: nonstandard extension used: enum 'MyEnum' used in qualified name I understand that the warning is caused by attempting to access one of…
AdaRaider
  • 1,126
  • 9
  • 20
1
vote
0 answers

VC10 ATL Control Tutorial crashes in VB6

It's been a long time since I dealt with VC ATL COM controls. I am having issues upgrading a VC6 ATL control to VC10 when used in VB6. In a step of troubleshooting I am now trying to follow the Microsoft tutorial[1] to create a VC10 ATL control…
John B
  • 361
  • 3
  • 7
1
vote
0 answers

OpenCV and MFC - strange behaviour of imshow on 32-bit and 64-bit

I have a MFC project in Microsoft Visual Studio 2010. In my dialog I have a PictureControl. I generate a window with opencv and then i translate it to my PictureControl like this namedWindow("INPUT", 1); HWND hWnd = (HWND)…
Eddie
  • 55
  • 1
  • 9
1
vote
2 answers

Ogre3d cant link boost libraries in visual studio 2010

I recently tried to set up an ogre 3d v.19 project following the tutorials on their webpage. After setting up the project i try to build it and I get the following error: LINK : fatal error LNK1104: cannot open file…
user2466076
  • 95
  • 1
  • 12
1
vote
1 answer

Boost MSM Pseudo Exit States

I'm creating a Boost MSM state machine where a few of the states have their own sub state machine. I created an orthogonal region, as per the Boost examples which allows an Error event to be posted from anywhere to terminate the state machine. …
dwxw
  • 1,089
  • 1
  • 10
  • 17
1
vote
1 answer

How to enable CUDA 5.0 in opencv v2.4.4 and VC10 without CMake and solve error 'missing cudart32_42_9.dll'?

This is my first post, please accept my apologies if I am unclear or fail to completely abide with posting rules. I have in any case sought far and wide in prep for my own question. Working with: Windows 7 Enterprise version 6.1.7600 Intel Xeon…
johnalexander
  • 49
  • 1
  • 7
0
votes
1 answer

How to build boost using VS10

I have an issue with compiling Boost using VC: error: LNK1104: cannot open file 'libboost_regex-vc100-mt-gd-1_53.lib' The most interesting is that issue is observed only using VC10 compiler. MinGW builds successfully Boost regex. Does anybody know…
Denis Kotov
  • 857
  • 2
  • 10
  • 29
0
votes
1 answer

EnumWindows not working

I'm creating a dll file. My code: BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam); void test() { EnumWindows(EnumWindowsProc, NULL); } BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam) { char class_name[80]; char…
0
votes
0 answers

Linker error with boost serialization: missing lib file

I have VC 10 and using boost 1.53.0. I am trying to compile and link a sample program from boost serialization samples, but the linker generates the following error: LINK : fatal error LNK1104: cannot open file…
Nasir
  • 11
  • 1
0
votes
1 answer

nvcc failed to compile in debug mode : Single file required

I have a problem trying to compile my program with nvcc for cuda. I use Visual studio 2012 and cuda 5.0. When I launch the build in release mode, everything goes fine. In debug mode I get the following error message at compile time for my first .cu…
Ernest_Galbrun
  • 2,514
  • 3
  • 21
  • 33