'error'에 해당되는 글 13건

  1. 2017.02.20 ilink32 Unable to perform link
  2. 2015.10.16 E2209 Unable to open include file 'UnitGr32Pas.hpp'
  3. 2015.10.02 [Error] Control 'GLSceneViewer1' has no parent window.
  4. 2015.10.02 Excel 편집하는데 속도가 너무 느릴 경우
  5. 2015.09.10 MySQL Workbench EER Diagram Unicode 문제
  6. 2015.08.19 [ilink32 Error] Fatal: Unable to open file 'UNITGR32PAS.OBJ'
  7. 2015.08.11 CString to const char*
  8. 2015.07.20 C2665: 'AfxMessageBox' : none of the 2 overloads could convert all the argument types
  9. 2015.06.10 OpenCV 3.0 extra module C2589: '(': token not valid to the right error
  10. 2015.05.29 W1010 Method '%s' hides virtual method of base type '%s' (Delphi)

[ilink32 Warning] Warning: D:/NextigeApp/OpenCVTest32/UsingOpenCV32.ilc: 0x00010000 / 0x08000000

[ilink32 Warning] Warning: D:/NextigeApp/OpenCVTest32/UsingOpenCV32.ild: 0x00010000 / 0x08000000

[ilink32 Warning] Warning: D:/NextigeApp/OpenCVTest32/UsingOpenCV32.ilf: 0x00010000 / 0x0a000000

[ilink32 Warning] Warning: D:/NextigeApp/OpenCVTest32/UsingOpenCV32.ils: 0x0003b000 / 0x08000000

[ilink32 Warning] Warning: unknown heap name   : 0x08000000 / 0x08000000

[ilink32 Warning] Warning: Error detected (LME288)

[ilink32 Error] Error: Unable to perform link


--------------------

며칠전 발생 : PC 리부팅 후 그냥 제대로 동작.

2017-02-20 오늘 다시 발생. BC 재시작해도 마찬가지.

리부팅 나중에 해보고나서 다시 기록할 거임.

--------------------

http://stackoverflow.com/questions/28929516/c-builder-xe7-lme288-error

(1) ilink32.exe /LargeAddressAware

   1) Patch

      lamarker -M -Filink32.exe

editbin /LARGEADDRESSAWARE bcc32.exe

editbin /LARGEADDRESSAWARE ilink32.exe

  (2) bcdedit

  1. Run command prompt as Administrator.
  2. Type (without quotes) "bcdedit /set IncreaseUserVa 3072"
  3. Reboot computer.

  (3) bcdedit

  (4) Acronis true image : 작업관리자 창에서 삭제

  (5) Admin계정으로 BC 시작

  (6) ...


As Drewski I ran into the LME288 error after the upgrade to Windows 10 (x64).

The error disappeared changing the Data Execution Prevention settings for ilink32.exe:

  • System properties -> Advanced system settings -> Performance -> Settings -> Data Execution Prevention
  • Turn on DEP for all programs and services except those I select -> ilink32.exe.


  (7) PATH 변수가 2047 넘어서?

상황 :

C++ Builder 프로젝트에 UnitGr32Pas.pas 라는 소스 추가

UnitGr32Pas.hpp 가 없다고 E2209 컴파일 에러


원래 UseOpenCV30 프로젝트가 있는데,

UseOpenCV31 로 SaveAs...로 프로젝트 이름 바꾸기 한 것


UnitGr32Pas.pas를 프로젝트에서 지웠다가 다시 추가해도 마찬가지 현상.

왜 .hpp 파일을 만들지 않지?


해결 :

2015-10-16 현재 아직...

2016-02-15 현재 아직...


Control 'GLSceneViewer1' has no parent window.


GLScene Editor 가 열리지 않을 경우


--- Solution ---

참조 : http://glscene.sourceforge.net/wikka/GlsceneFaq#q_misc_011

clipboard에 GLSceneViewer 가 남아 있을 경우.

그래서 Clipboard를 비우든지,

아니면 아무거나 Ctrl-C 해서 Clipboard를 다른 내용으로 바꾸든지 하면 OK.

수식이 하나도 없는데

편집할 때마다 느리다면

숨어있는 개체가 있지 않는지 확인

F5를 눌러 이동 창을 띄우고,

[옵션]을 선택한 다음,

이동옵션에서 [개체]를 선택해서 [확인]을 누른다

이때, 해당 Sheet에 있는 모든 개체들이 선택되는데,

[del] 키를 눌러서 모두 삭제한다.

--- 물론 필요한 개체가 있을 경우라면 안되겠지만 ---

개체 삭제는

각각의 Sheet 마다 해주어야 한다.







'할거리 > PC' 카테고리의 다른 글

MySQL Workbench EER Diagram Unicode 문제  (0) 2015.09.10

Table의 Attribute 의 한글표기가 제대로 되지 않는다


Unicode 사용가능하게끔 설정을 바꾸어 주어야 한다.

Edit -> Preferences.. 들어가게 되면...

Modeling -> Appearance 항목 선택한 다음,

Western 을 Korean으로 변경한 다음, 파일을 다시 open하면 끝.

결과는 다음과 같다.


- end -



'할거리 > PC' 카테고리의 다른 글

Excel 편집하는데 속도가 너무 느릴 경우  (0) 2015.10.02

UsingOpenCV30 컴파일 시키면 나오는 에러 "

[ilink32 Error] Fatal: Unable to open file 'UNITGR32PAS.OBJ'

NextColor64 컴에서는 안나오느데, HP에서는 나온다.


- Project -> Option -> Library Path 추가해도 안된다.


2015-08-19일 현재 

아직 원인 불명.

원인 찾게되면, 잊어버리지 않게끔 여기에 기록해 둘 예정.


2017-01-16

원인 찾았다.

GLBaseClasses.obj 계속 찾는데,

path 추가로 해결될 문제가 아니었네.


Delphi 컴포넌트를 C++에서는 Lib 파일로 가져다 사용

프로젝트 파일 cbproj 직접 수정해야.

<AllPackageLibs>

<LinkPackageStatics>

GLScene_RunTime.lib 추가하니까 깔끔하게 해결.


error C2664: cannot convert argument 1 from 'CString' to 'const char *'


CString str = ---

int nLen = str.GetLength();

char *ch = new char[nLen];

  WideCharToMultiByte(CP_ACP, 0, str, -1, ch, nLen + 1, NULL, NULL);

  --- << ch 사용 >> ---

delete[] ch;

C2665: 'AfxMessageBox' : none of the 2 overloads could convert all the argument types

solution :

http://stackoverflow.com/questions/6167609/some-problem-with-afxmessagebox-mfc-function


(1)

You may, although I doubt this, have to scope it globally. To do that, try

::AfxMessageBox("Camera have no connection",MB_OK|MB_ICONSTOP);


(2)

The other is that use are building for unicode and it thinks the string is multi-byte. To do that, try

AfxMessageBox( L"Camera have no connection",MB_OK|MB_ICONSTOP);

I'm out of town, on my Mac, so I can't test this. But I have been stuck in the office on weekends so I figured I'd offer up two things to try.


http://answers.opencv.org/question/62107/erfiltercpp-nfa-method/

OpenCV v3.0 컴파일 진행중에...

OpenCV\opencv_contrib\modules\text\src\erfilter.cpp  파일에서,

p = std::numeric_limits<double>::min();


C2589: '(': token not valid to the right '::'

이런 에러가 나오고 멈춘다.


http://answers.opencv.org/question/62107/erfiltercpp-nfa-method/

min() 이 부분이 

minwindef.h
#define min(a,b)            (((a) < (b)) ? (a) : (b))

위와 같이 연결되니까, 당연히 (a,b)가 없다고 에러가 나올수 밖에.


Solution :

(1) OpenCV\opencv_contrib\modules\text\src\precomp.hpp 파일안에,

// added by Michael : 2015-06-10

#if defined WIN32 || defined WINCE

    #if !defined _WIN32_WINNT

        #ifdef HAVE_MSMF

            #define _WIN32_WINNT 0x0600 // Windows Vista

        #else

            #define _WIN32_WINNT 0x0500 // Windows 2000

        #endif

    #endif


    #include <windows.h>

    #undef small

    #undef min

    #undef max

    #undef abs

#endif

제일 아래쪽에 위 코드 추가한다.
즉, window.h 추가하고나서, #undef min 을 해버리면 된다.



(2) 번째 방법은, 
#NOMINMAX
#include <windows.h>

windows.h 추가하기 전에 #NOMINMAX 해버리면, min, max 정의하지 않으므로 OK


-끝.

[dcc32 Warning] SjAppGetVersion.pas(13): W1010 Method 'Create' hides virtual method of base type 'TComponent'


  TComponent = class(TPersistent, IInterface, IInterfaceComponentReference)

  public

    constructor Create(AOwner: TComponent); virtual;


  TSjAppVersion = class(TComponent)

  public

    constructor Create( AOwner : TComponent );

There are three alternatives to take when solving this warning. 

(1) constructor Create( AOwner : TComponent ); override;

You could specify override to make the derived class' procedure also virtual, 

if the ancestor's respective method is declared as virtual or dynamic, and thus allowing inherited calls to still reference the original procedure. 

(2) constructor Create2( AOwner : TComponent );

You could change the name of the procedure as it is declared in the derived class.

  Both of these methods are exhibited in the source code snippets above. 


(3) constructor Create( AOwner : TComponent ); reintroduce;

  You could add the reintroduce directive to the procedure declaration 

to cause the warning to be silenced for that particular method.

The reintroduce keyword instructs the Delphi compiler to hide the respective method 

and suppress the warning, 

because it is unlikely to override a method of the same name from a base class that is not virtual or dynamic. 

1 2 

글 보관함

카운터

Total : / Today : / Yesterday :
get rsstistory!