Jump to content
SubSpace Forum Network

Recommended Posts

Posted

I just set up my new computer to build modules and stuff. I got through setting up all the requirements (SDL, SDL_image, SDL_net, zlib), and I was still getting some errors from a few modules. Some time related functions were not defined (time(), localtime()...). Any idea why? I'm now on Windows 7 x64.

 

The problem is easily fixed with

#ifndef WIN32
#include <sys/time.h>
[...]
#else
#include <time.h>

but I'm curious as to why I didn't have these errors before...

 

 

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

 

Also, it seems I am unable to compile the frontend project.

 

 

Errors I get:

encore plus de références indéfinies suivent vers « _imp___ZTV16aedFunctorNoArgsI4stubE » optionsgui.cpp /cskinviewer C/C++ Problem

référence indéfinie vers « _imp___ZTV16aedFunctorNoArgsI4stubE » profilegui.cpp /cskinviewer C/C++ Problem

auto-importing has been activated without --enable-auto-import specified on the command line. cskinviewer C/C++ Problem

 

translation to what an english compiler might say:

Even more undefined references follow to « _imp___ZTV16aedFunctorNoArgsI4stubE »

Undefined reference to « _imp___ZTV16aedFunctorNoArgsI4stubE »

Description Resource Path Location Type

encore plus de références indéfinies suivent vers « _imp___ZTV16aedFunctorNoArgsI4stubE » optionsgui.cpp /cskinviewer C/C++ Problem

référence indéfinie vers « _imp___ZTV16aedFunctorNoArgsI4stubE » profilegui.cpp /cskinviewer C/C++ Problem

auto-importing has been activated without --enable-auto-import specified on the command line. cskinviewer C/C++ Problem

 

I tried to recompile the aedGUI thing library hoping it would help, but I get a 'cannot find -lfreetype' error... and I can't compile the freetype project, because it spits out a lot of weird errors. So I don't know what to do...

 

Console output:

 

 


**** Build of configuration Release for project cskinviewer ****

**** Internal Builder is used for build               ****
g++ -I../../../Modules/ -I../../../../deps/aedGUI-0.1.8a-bak/include -O3 -Wall -c -fmessage-length=0 -oprofilegui.o ..\profilegui.cpp
g++ -LC:\MinGW\lib -L../../../../deps/aedGUI-0.1.8a-bak/Release -L../../../../deps/freetype-2.3.5/objs -o..\..\..\..\bin\Discretion.exe util.o updates.o stringconstants.o profilegui.o optionsgui.o menu.o main.o gui.o graphics.o ZoneList.o SubspaceEncryption.o Settings.o ProcessManagement.o Pinging.o Packets.o LittleEndian.o DirectoryConnection.o -lmingw32 -lzdll -lSDLmain -lSDL -lSDL_net -lSDL_image -laedGuiBak
Info: résolution de std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage par un lien vers __imp___ZNSs4_Rep20_S_empty_rep_storageE (auto-importé)
Info: résolution de vtable for std::basic_ios<char, std::char_traits<char> > par un lien vers __imp___ZTVSt9basic_iosIcSt11char_traitsIcEE (auto-importé)
Info: résolution de VTT for std::basic_ifstream<char, std::char_traits<char> > par un lien vers __imp___ZTTSt14basic_ifstreamIcSt11char_traitsIcEE (auto-importé)
Info: résolution de vtable for std::basic_ifstream<char, std::char_traits<char> > par un lien vers __imp___ZTVSt14basic_ifstreamIcSt11char_traitsIcEE (auto-importé)
Info: résolution de vtable for std::basic_filebuf<char, std::char_traits<char> > par un lien vers __imp___ZTVSt13basic_filebufIcSt11char_traitsIcEE (auto-importé)
Info: résolution de vtable for std::basic_streambuf<char, std::char_traits<char> > par un lien vers __imp___ZTVSt15basic_streambufIcSt11char_traitsIcEE (auto-importé)
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
Info: résolution de vtable for __cxxabiv1::__si_class_type_info par un lien vers __imp___ZTVN10__cxxabiv120__si_class_type_infoE (auto-importé)
Info: résolution de vtable for __cxxabiv1::__class_type_info par un lien vers __imp___ZTVN10__cxxabiv117__class_type_infoE (auto-importé)
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
profilegui.o:profilegui.cpp:(.text+0x4335): référence indéfinie vers « _imp___ZTV16aedFunctorNoArgsI4stubE »
profilegui.o:profilegui.cpp:(.text$_ZN16aedFunctorNoArgsI4stubED1Ev[aedFunctorNoArgs<stub>::~aedFunctorNoArgs()]+0x5): référence indéfinie vers « _imp___ZTV16aedFunctorNoArgsI4stubE »
profilegui.o:profilegui.cpp:(.text$_ZN16aedFunctorNoArgsI4stubED0Ev[aedFunctorNoArgs<stub>::~aedFunctorNoArgs()]+0xb): référence indéfinie vers « _imp___ZTV16aedFunctorNoArgsI4stubE »
profilegui.o:profilegui.cpp:(.text$_ZN16aedFunctorNoArgsI4stubE5cloneEv[aedFunctorNoArgs<stub>::clone()]+0x29): référence indéfinie vers « _imp___ZTV16aedFunctorNoArgsI4stubE »
profilegui.o:profilegui.cpp:(.text$_ZN16aedFunctorNoArgsI4stubE5cloneEv[aedFunctorNoArgs<stub>::clone()]+0x5d): référence indéfinie vers « _imp___ZTV16aedFunctorNoArgsI4stubE »
Info: résolution de std::cerr  par un lien vers __imp___ZSt4cerr (auto-importé)
optionsgui.o:optionsgui.cpp:(.text+0x2bf): encore plus de références indéfinies suivent vers « _imp___ZTV16aedFunctorNoArgsI4stubE »
collect2: ld returned 1 exit status
Build error occurred, build is stopped
Time consumed: 1700  ms.  

 

 

Posted

sounds like you're almost there, just need to compile the freetype project :/

 

freetype -> aedGuiBak -> FrontEnd

 

not sure about the time.h... maybe the new minGw reorganized the headers (are you using minGW?)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...