User forums > Help

Linking problem...

<< < (2/2)

Happyuser31:
Thanks for the quick replies!
I've not compiled wxW, so I will try it and will post the results.

Thanks again!

Happyuser31:
Edit: Building solved.

Happyuser31:
But I still can't compile my project:


--- Quote ---||=== Analizator interface v1, Release ===|
C:\kozoS\Analizator interface v1\pi.xpm|2|warning: 'pi_xpm' defined but not used|
Analizator_interface_v1Main.cpp||variable 'vtable for wxWindow' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxWindow' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxWindow' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxWindow' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxObject' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxObject' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxObject' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxObject' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxFrame' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxFrame' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxIcon' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxIcon' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxPanel' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxPanel' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxPanel' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxPanel' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxMenuBase' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxMenuBase' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxMenuBase' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxMenuBase' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxListBase' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxListBase' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxListBase' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxListBase' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxMenu' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxMenu' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxMenu' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxMenu' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxStatusBar' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||variable 'vtable for wxStatusBar' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::ConcatSelf(unsigned int, char const*, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::ConcatSelf(unsigned int, char const*, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||more undefined references to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)' follow|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::ConcatSelf(unsigned int, char const*, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::ConcatSelf(unsigned int, char const*, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::operator=(char const*)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'|
Analizator_interface_v1Main.cpp||more undefined references to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)' follow|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 1 warnings ===|

--- End quote ---

Thanks in advance!
[/quote]

Happyuser31:
Hey!
I've solved it! Of course compiling wxW was needed. Thanks again! :D

The last error was that I have started the project under linux with that C::B settings. I created a new project under windows and copied those settings. Now it compiles and runs!!!!

Thanks again! :D :D

PS: It's a pity that there isn't an auto-repair for projects, or import project.

Deschamps:

--- Quote from: Happyuser31 ---I've solved it! Of course compiling wxW was needed. Thanks again! :D
--- End quote ---

Nice to read that :)


--- Quote ---The last error was that I have started the project under linux with that C::B settings. I created a new project under windows and copied those settings. Now it compiles and runs!!!!
--- End quote ---

You could also consider using wx-config (for Linux and Windows). Doing that, you could use exactly the same project in both platforms. In fact, I've lots of projects compiling (the same files) in Windows and Linux without neither specific build targets nor other platform-dependant configuration.


--- Quote ---PS: It's a pity that there isn't an auto-repair for projects, or import project.
--- End quote ---

It's supposed that environment variables are there for that reason, but having in mind that each user has his own configuration, I think that it is virtually impossible an 'universal' recipe.

Regards.

Navigation

[0] Message Index

[*] Previous page

Go to full version