Page 2 of 2

Re: Compiler Does't find defs.h and zconf.h

Posted: Thu Nov 15, 2018 10:16 am
by jack2018
Hi, so... installed VC 8.... and
re-compiled Audacity 2.3.0 targetting VC8... and now arrived at the following LINK error:
______________________________
25> Création de la bibliothèque C:\audacity-Audacity-2.3.0\win\Release\Audacity.lib et de l'objet C:\audacity-Audacity-2.3.0\win\Release\Audacity.exp
25>AboutDialog.obj : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: __thiscall wxString::wxString(class wxString const &)" ([email protected]@[email protected]@@Z)

etc,etc,etc....
___________________________
and, more of that, this is the result of my "path" command:
________________________
jack>path
PATH=C:\ActiveTcl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files (x86)\GitExtensions\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Users\jack\AppData\Local\Microsoft\WindowsApps;
___________________________
what's the hell! some new things??? some ideas? thanks!!!

Re: Compiler Does't find defs.h and zconf.h

Posted: Thu Nov 15, 2018 5:17 pm
by jack2018
targetted the project on VS 2008
now new errors with the linker:
____________________
25> Création de la bibliothèque C:\audacity-Audacity-2.3.0\win\Release\Audacity.lib et de l'objet C:\audacity-Audacity-2.3.0\win\Release\Audacity.exp
25>AboutDialog.obj : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: __thiscall wxString::wxString(class wxString const &)" ([email protected]@[email protected]@@Z)
____________________________________
and my path is:
PATH=C:\ActiveTcl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files (x86)\GitExtensions\;C:\Program Files\Micro
soft SQL Server\130\Tools\Binn\;C:\Users\jack\AppData\Local\Microsoft\WindowsApps;
___________________
some idea please!!! ;)

Re: Compiler Does't find defs.h and zconf.h

Posted: Thu Nov 15, 2018 6:21 pm
by steve
I don't understand why you think that VS2008 will work better than 2017, when the instructions clearly say to use 2017 :?

Re: Compiler Does't find defs.h and zconf.h

Posted: Thu Nov 15, 2018 9:51 pm
by jack2018
VC8 was only a try but I get the same fault with VC2017....
seems a lib not find??
AboutDialog.obj : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: __th etc...

Re: better but Compiler now Does't find .... setup.h???

Posted: Mon Nov 26, 2018 10:35 am
by jack2018
Renewed configuration using V3.0.2 ... All is OK considering WXwidgets various compilations but error while compiling Audacity which want absolutely to use" include : '../../../lib/vc_dll/mswu/wx/setup.h" and this /vc_dll/etc... does'nt exist!!!??? even launching any dll & release build, no creation of this lib/vc_dll/etc...!!! grrrrr!!!
some more help???

Now vc_dll is OK...

Posted: Tue Dec 04, 2018 4:32 pm
by jack2018
Strange VC2017!!!
so doing the wxwidgets dll-release manually ( nmake /f makefile.vc BUILD=release SHARED=1), the dll are correctly created in the vc_dll tree...
all the widgets are OK, demo and so on..
Now i have Audacity with the following linker fault :
_______________
1>------ Début de la génération : Projet : Audacity, Configuration : Release Win32 ------
1> Création de la bibliothèque C:\audacity-Audacity-2.3.0\win\Release\Audacity.lib et de l'objet C:\audacity-Audacity-2.3.0\win\Release\Audacity.exp
1>AboutDialog.obj : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: __thiscall wxString::wxString(class wxString const &)" ([email protected]@[email protected]@@Z)
________________________
Any idea? thanks all...

Re: CNow OK, compilation success!!!

Posted: Wed Dec 05, 2018 10:45 am
by jack2018
Ok, a good night, some additions on external link/ reboot... and success compiling audacity debug mode and debug+dll mode!!!!
Ouf
BNut it seems that VC2017 has some unpredictable behaviour!!!!????


thanks all of you!!!
Now trying to compile with steinberg I/O!!!!!