kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #03745
Re: target specctra_test
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@...>
-
Date:
Thu, 10 Dec 2009 22:33:37 -0500
-
In-reply-to:
<4B21B80B.1010006@...>
-
User-agent:
Thunderbird 2.0.0.23 (Windows/20090812)
Dick Hollenbeck wrote:
> Wayne,
>
>
> Nevermind, I can get it to build by moving g_BuildVersion into common.cpp
> and g_BuildAboutVersion into about_kicad.cpp
>
> Please don't do any cleanup of this until I commit.
No problem. I'm confused as to why the about_kicad.cpp and any of it's
dependencies would even get included when you are building a program
that doesn't require anything from wxWidgets. It may be the case of an
unnecessary include file somewhere.
Wayne
>
> Thanks,
>
> Dick
>
>
> Dick Hollenbeck wrote:
>> Wayne,
>>
>> Can you please try and build target
>>
>> specctra_test
>>
>> i.e.
>>
>> $ make specctra_test
>>
>> after you edit specctra.cpp and uncomment #define STANDALONE
>>
>> please.
>>
>>
>>
>> Your
>>
>> DECLARE_APP( WinEDA_App );
>>
>> in appl_wxstruct.h
>>
>> is too presumptive about what kind of application I want to build. I
>> want to build a console application, not a wxWidgets application.
>> specctra_test is a DSN file beautifier, and I need to build it to fix
>> some bugs I introduced.
>>
>>
>> This worked previously, the output I get now is
>>
>>
>> Linking CXX executable specctra_test
>> ../common/libcommon.a(about_kicad.cpp.o): In function
>> `InitKiCadAbout(wxAboutDialogInfo&)':
>> about_kicad.cpp:(.text+0xf5): undefined reference to `wxGetApp()'
>> collect2: ld returned 1 exit status
>> make[3]: *** [pcbnew/specctra_test] Error 1
>> make[2]: *** [pcbnew/CMakeFiles/specctra_test.dir/all] Error 2
>> make[1]: *** [pcbnew/CMakeFiles/specctra_test.dir/rule] Error 2
>> make: *** [specctra_test] Error 2
>>
>>
>> I cannot finish testing my DSNLEXER surgery without this standalone test
>> application.
>>
>>
>> Thanks,
>>
>> Dick
>>
>>
>>
>> ------------------------------------
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
Follow ups
References