Project

General

Profile

Linking problem with netbeans, ubuntu 12.04

Added by Malin Edvardsen almost 12 years ago

Hi!

So, I have created a NetBeans project for my Wt application, but I keep getting linker errors

g -lwthttp -lwt -o dist/Debug/GNU-Linux-x86/test build/Debug/GNU-Linux-x86/Home.o build/Debug/GNU-Linux-x86/main.o -L/usr/local/lib -L/usr/lib

build/Debug/GNU-Linux-x86/Home.o: In function `Home':

/work/myWittyTest/test/Home.cpp:11: undefined reference to `Wt::WApplication::WApplication(Wt::WEnvironment const&, Wt::WtLibVersion)'

/work/myWittyTest/test/Home.cpp:13: undefined reference to `Wt::WString::WString(char const*, Wt::CharEncoding)'

/work/myWittyTest/test/Home.cpp:13: undefined reference to `Wt::WApplication::setTitle(Wt::WString const&)'

.....

(have tried this with and without -L/usr/local/lib -L/usr/lib)

I think that parts of what might have ruined things for me, is that I started out by using apt-get install to get Wt. But then I got some errors with

#include

So I tried installing wt-3.3.0 from the source, and now it looks like there is something off with my libraries. (yes, I did try apt-get remove all the wt packages I initially installed, still no fun)

Any idea what I am missing here (probably lots of information, bu tell me what you need, and I'll provide it for you ;)

I am using the default netbeans makefile, no funky business

- Malin


Replies (25)

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Stefan Lanz almost 12 years ago

Hi,

what says aptitude of the state of the installment, e.g.:

$ aptitude search witty

Please check if there are any wt-libs in the lib dirs, e.g. /usr/local/lib

$ updatedb && locate libwt

Stefan

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

Thank you so much for your reply :)

Here is the information I got from your commands

$ aptitude search witty

i witty - C library for webapps [runtime] (transition package)

v witty:i386 -

i witty-dbg - C library for webapps [debug] (transition package)

v witty-dbg:i386 -

i witty-dev - C library for webapps [devel] (transition package)

v witty-dev:i386 -

i witty-doc - C library for webapps [doc] (transition package)

i witty-examples - C library for webapps [examples]

p witty-examples:i386 - C library for webapps [examples]

$ sudo updatedb && locate libwt

[sudo] password for maledv01:

/usr/lib/libwt.so

/usr/lib/libwtfcgi.so

/usr/lib/debug/usr/lib/libwt.so.3.1.10

/usr/lib/debug/usr/lib/libwtdbo.so.3.1.10

/usr/lib/debug/usr/lib/libwtdbopostgres.so.3.1.10

/usr/lib/debug/usr/lib/libwtdbosqlite3.so.3.1.10

/usr/lib/debug/usr/lib/libwtext.so.3.1.10

/usr/lib/debug/usr/lib/libwtfcgi.so.3.1.10

/usr/lib/debug/usr/lib/libwthttp.so.3.1.10

/usr/local/lib/libwt.so

/usr/local/lib/libwt.so.3.3.0

/usr/local/lib/libwt.so.35

/usr/local/lib/libwtdbo.so

/usr/local/lib/libwtdbo.so.3.3.0

/usr/local/lib/libwtdbo.so.35

/usr/local/lib/libwtdbopostgres.so

/usr/local/lib/libwtdbopostgres.so.3.3.0

/usr/local/lib/libwtdbopostgres.so.35

/usr/local/lib/libwtdbosqlite3.so

/usr/local/lib/libwtdbosqlite3.so.3.3.0

/usr/local/lib/libwtdbosqlite3.so.35

/usr/local/lib/libwtfcgi.so

/usr/local/lib/libwtfcgi.so.3.3.0

/usr/local/lib/libwtfcgi.so.35

/usr/local/lib/libwthttp.so

/usr/local/lib/libwthttp.so.3.3.0

/usr/local/lib/libwthttp.so.35

/usr/local/lib/libwttest.so

/usr/local/lib/libwttest.so.3.3.0

/usr/local/lib/libwttest.so.5

  1. As well as ALOT of files in
    /usr/share/doc/
  2. And some in
    /usr/share/doc-base/
    /usr/share/lintian/overrides/
    /var/lib/doc-base/documents/
    /var/lib/dpkg/info/
    /work/wt-3.3.0/build/src/
  3. I removed the files in these dirs for readability

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

that last part was not supposed to be a numbered list :P

just wanted to mark that the text was comments, not actual output from the command

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Stefan Lanz almost 12 years ago

There are the libs from source and from the package manager installed.

The libs in /usr/lib and /usr/lib/debug/ were installed via apt, the ones in /usr/local/lib (the default path) from source.

Your linker command

g++ -lwthttp -lwt -o dist/Debug/GNU-Linux-x86/test build/Debug/GNU-Linux-x86/Home.o build/Debug/GNU-Linux-x86/main.o -L/usr/local/lib -L/usr/lib

states that you want to use the wthttp server, which you only installed from source -> /usr/local/lib/libwthttp.so

You can see it's missing in /usr/lib/ where apt-get install libwthttp32 would it be placed. witty depends on libwthttp32, so I assume you removed it somehow.

/usr/lib and /usr/local/lib are usually lib paths you don't need to pass to the linker. As the linker searches these paths you can get a lib mixture with your command above.

Try to remove your installed packages via apt:

apt-get --auto-remove remove witty*

Verify with my first two commands if the libs are removed and just the ones from source are still there and then try your link-command again (maybe with -L/usr/local/lib)

Good luck.

Stefan

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Stefan Lanz almost 12 years ago

Addendum!

Build the project again not just linking.

Stefan

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

I tried removing the packages and the run "clean build" on my project, but I still have the same problem :/

g -lwthttp -lwt -o dist/Debug/GNU-Linux-x86/test build/Debug/GNU-Linux-x86/Home.o build/Debug/GNU-Linux-x86/main.o -L/usr/local/lib

build/Debug/GNU-Linux-x86/Home.o: In function `Home':

/work/myWittyTest/test/Home.cpp:11: undefined reference to `Wt::WApplication::WApplication(Wt::WEnvironment const&, Wt::WtLibVersion)'

/work/myWittyTest/test/Home.cpp:13: undefined reference to `Wt::WString::WString(char const*, Wt::CharEncoding)'

/work/myWittyTest/test/Home.cpp:13: undefined reference to `Wt::WApplication::setTitle(Wt::WString const&)'

....

$ aptitude search witty

p witty - C library for webapps [runtime] (transition package)

v witty:i386 -

p witty-dbg - C library for webapps [debug] (transition package)

v witty-dbg:i386 -

p witty-dev - C library for webapps [devel] (transition package)

v witty-dev:i386 -

p witty-doc - C library for webapps [doc] (transition package)

p witty-examples - C library for webapps [examples]

p witty-examples:i386 - C library for webapps [examples]

$ sudo updatedb && locate libwt

/usr/lib/libwtfcgi.so

/usr/local/lib/libwt.so

/usr/local/lib/libwt.so.3.3.0

/usr/local/lib/libwt.so.35

/usr/local/lib/libwtdbo.so

/usr/local/lib/libwtdbo.so.3.3.0

/usr/local/lib/libwtdbo.so.35

/usr/local/lib/libwtdbopostgres.so

/usr/local/lib/libwtdbopostgres.so.3.3.0

/usr/local/lib/libwtdbopostgres.so.35

/usr/local/lib/libwtdbosqlite3.so

/usr/local/lib/libwtdbosqlite3.so.3.3.0

/usr/local/lib/libwtdbosqlite3.so.35

/usr/local/lib/libwtfcgi.so

/usr/local/lib/libwtfcgi.so.3.3.0

/usr/local/lib/libwtfcgi.so.35

/usr/local/lib/libwthttp.so

/usr/local/lib/libwthttp.so.3.3.0

/usr/local/lib/libwthttp.so.35

/usr/local/lib/libwttest.so

/usr/local/lib/libwttest.so.3.3.0

/usr/local/lib/libwttest.so.5

/var/lib/dpkg/info/libwt-common.list

/var/lib/dpkg/info/libwt29.list

/var/lib/dpkg/info/libwt29.postrm

/var/lib/dpkg/info/libwtdbo29.list

/var/lib/dpkg/info/libwtdbo29.postrm

/var/lib/dpkg/info/libwtdbopostgres29.list

/var/lib/dpkg/info/libwtdbopostgres29.postrm

/var/lib/dpkg/info/libwtdbosqlite29.list

/var/lib/dpkg/info/libwtdbosqlite29.postrm

/var/lib/dpkg/info/libwtext29.list

/var/lib/dpkg/info/libwtext29.postrm

/var/lib/dpkg/info/libwthttp29.list

/var/lib/dpkg/info/libwthttp29.postrm

/work/wt-3.3.0/build/src/libwt.so

/work/wt-3.3.0/build/src/libwt.so.3.3.0

/work/wt-3.3.0/build/src/libwt.so.35

/work/wt-3.3.0/build/src/libwttest.so

/work/wt-3.3.0/build/src/libwttest.so.3.3.0

/work/wt-3.3.0/build/src/libwttest.so.5

/work/wt-3.3.0/build/src/Wt/Dbo/libwtdbo.so

/work/wt-3.3.0/build/src/Wt/Dbo/libwtdbo.so.3.3.0

/work/wt-3.3.0/build/src/Wt/Dbo/libwtdbo.so.35

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbopostgres.so

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbopostgres.so.3.3.0

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbopostgres.so.35

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbosqlite3.so

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbosqlite3.so.3.3.0

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbosqlite3.so.35

/work/wt-3.3.0/build/src/fcgi/libwtfcgi.so

/work/wt-3.3.0/build/src/fcgi/libwtfcgi.so.3.3.0

/work/wt-3.3.0/build/src/fcgi/libwtfcgi.so.35

/work/wt-3.3.0/build/src/http/libwthttp.so

/work/wt-3.3.0/build/src/http/libwthttp.so.3.3.0

/work/wt-3.3.0/build/src/http/libwthttp.so.35

I am a bit concerned about the files in /var/lib/dpkg/info as they look like an old version. Any idea what these are?

Again, thank you so much for helping me :)

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

I figured how to remove those old files, so now I get

$ sudo updatedb && locate libwt

[sudo] password for maledv01:

/usr/lib/libwtfcgi.so

/usr/local/lib/libwt.so

/usr/local/lib/libwt.so.3.3.0

/usr/local/lib/libwt.so.35

/usr/local/lib/libwtdbo.so

/usr/local/lib/libwtdbo.so.3.3.0

/usr/local/lib/libwtdbo.so.35

/usr/local/lib/libwtdbopostgres.so

/usr/local/lib/libwtdbopostgres.so.3.3.0

/usr/local/lib/libwtdbopostgres.so.35

/usr/local/lib/libwtdbosqlite3.so

/usr/local/lib/libwtdbosqlite3.so.3.3.0

/usr/local/lib/libwtdbosqlite3.so.35

/usr/local/lib/libwtfcgi.so

/usr/local/lib/libwtfcgi.so.3.3.0

/usr/local/lib/libwtfcgi.so.35

/usr/local/lib/libwthttp.so

/usr/local/lib/libwthttp.so.3.3.0

/usr/local/lib/libwthttp.so.35

/usr/local/lib/libwttest.so

/usr/local/lib/libwttest.so.3.3.0

/usr/local/lib/libwttest.so.5

/work/wt-3.3.0/build/src/libwt.so

/work/wt-3.3.0/build/src/libwt.so.3.3.0

/work/wt-3.3.0/build/src/libwt.so.35

/work/wt-3.3.0/build/src/libwttest.so

/work/wt-3.3.0/build/src/libwttest.so.3.3.0

/work/wt-3.3.0/build/src/libwttest.so.5

/work/wt-3.3.0/build/src/Wt/Dbo/libwtdbo.so

/work/wt-3.3.0/build/src/Wt/Dbo/libwtdbo.so.3.3.0

/work/wt-3.3.0/build/src/Wt/Dbo/libwtdbo.so.35

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbopostgres.so

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbopostgres.so.3.3.0

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbopostgres.so.35

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbosqlite3.so

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbosqlite3.so.3.3.0

/work/wt-3.3.0/build/src/Wt/Dbo/backend/libwtdbosqlite3.so.35

/work/wt-3.3.0/build/src/fcgi/libwtfcgi.so

/work/wt-3.3.0/build/src/fcgi/libwtfcgi.so.3.3.0

/work/wt-3.3.0/build/src/fcgi/libwtfcgi.so.35

/work/wt-3.3.0/build/src/http/libwthttp.so

/work/wt-3.3.0/build/src/http/libwthttp.so.3.3.0

/work/wt-3.3.0/build/src/http/libwthttp.so.35

but a clean build still fails :/

(and yes, I have added "#include " etc ;) )

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

WAIT!

after doing all these steps (removing apt-get installed packages and the old lib files, did that by running dpkg ---get-selections | grep deinstall | sed 's/deinstall/\lpurge/' | sudo dpkg ---set-selections; sudo dpkg -Pa fyi), I now get that my #includes no longer find the Wt/.. files :) (it found them before)

It may not sound like a good thing, but I think it is! I do tell the compiler to look in /usr/local/include, so I dont know why, but when I figure that out, I think this will work

(this has turned out to be a nice "lib cleanup thread", so I hope more people with these kinds of problems, will find it and get some tips from it, and with "it", I talk about Stefan)

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

Still no joy :/

The files are now found (had to just delete and re add one of the lines, some odd NetBeans thing I guess)

I removed the "test" project I copied output from before, but this screen shot is from my actual project. You will here see that the include files are found, but I still get the "undefined reference" when doing a clean build

(and yes, I still use both -lwthttp -lwt and -L/usr/local/lib)

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Stefan Lanz almost 12 years ago

Regarding the #include<>: the include files from source installment resides in /usr/local/include/, which the compiler also usually searches for. If not, add -I/usr/local/include/ to the compiler.

But you don't have a compilation problem, aren't you? You have a linker problem.

Regards,

Stefan

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Stefan Lanz almost 12 years ago

Please, may you show me the output of:

ldd /usr/local/lib/libwthttp.so and

ldd /usr/local/lib/libwt.so

Stefan

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

$ ldd /usr/local/lib/libwthttp.so

linux-vdso.so.1 => (0x00007fffd7b2c000)

libwt.so.35 => /usr/local/lib/libwt.so.35 (0x00007fa5fd6dd000)

libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa5fd4c6000)

libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007fa5fd267000)

libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007fa5fce8c000)

libboost_program_options.so.1.46.1 => /usr/lib/libboost_program_options.so.1.46.1 (0x00007fa5fcc27000)

libboost_system.so.1.46.1 => /usr/lib/libboost_system.so.1.46.1 (0x00007fa5fca22000)

libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa5fc805000)

libstdc.so.6 => /usr/lib/x86_64-linux-gnu/libstdc.so.6 (0x00007fa5fc505000)

libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa5fc2ee000)

libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa5fbf2f000)

libboost_thread.so.1.46.1 => /usr/lib/libboost_thread.so.1.46.1 (0x00007fa5fbd16000)

libboost_regex.so.1.46.1 => /usr/lib/libboost_regex.so.1.46.1 (0x00007fa5fba13000)

libboost_signals.so.1.46.1 => /usr/lib/libboost_signals.so.1.46.1 (0x00007fa5fb7ff000)

libboost_filesystem.so.1.46.1 => /usr/lib/libboost_filesystem.so.1.46.1 (0x00007fa5fb5e1000)

libboost_date_time.so.1.46.1 => /usr/lib/libboost_date_time.so.1.46.1 (0x00007fa5fb3cf000)

libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa5fb0d3000)

libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa5faecf000)

/lib64/ld-linux-x86-64.so.2 (0x00007fa5fe262000)

libicuuc.so.48 => /usr/lib/libicuuc.so.48 (0x00007fa5fab64000)

libicui18n.so.48 => /usr/lib/libicui18n.so.48 (0x00007fa5fa79c000)

libicudata.so.48 => /usr/lib/libicudata.so.48 (0x00007fa5f942b000)

$ ldd /usr/local/lib/libwt.so

linux-vdso.so.1 => (0x00007fffcc339000)

libboost_thread.so.1.46.1 => /usr/lib/libboost_thread.so.1.46.1 (0x00007f66eda53000)

libboost_regex.so.1.46.1 => /usr/lib/libboost_regex.so.1.46.1 (0x00007f66ed751000)

libboost_signals.so.1.46.1 => /usr/lib/libboost_signals.so.1.46.1 (0x00007f66ed53c000)

libboost_system.so.1.46.1 => /usr/lib/libboost_system.so.1.46.1 (0x00007f66ed338000)

libboost_filesystem.so.1.46.1 => /usr/lib/libboost_filesystem.so.1.46.1 (0x00007f66ed11a000)

libboost_date_time.so.1.46.1 => /usr/lib/libboost_date_time.so.1.46.1 (0x00007f66ecf08000)

libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f66ecc93000)

libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f66ec8b8000)

libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f66ec69a000)

libstdc.so.6 => /usr/lib/x86_64-linux-gnu/libstdc.so.6 (0x00007f66ec39a000)

libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f66ec09e000)

libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f66ebe87000)

libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f66ebac8000)

libicuuc.so.48 => /usr/lib/libicuuc.so.48 (0x00007f66eb75e000)

libicui18n.so.48 => /usr/lib/libicui18n.so.48 (0x00007f66eb395000)

libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f66eb191000)

libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f66eaf79000)

/lib64/ld-linux-x86-64.so.2 (0x00007f66ee4f8000)

libicudata.so.48 => /usr/lib/libicudata.so.48 (0x00007f66e9c09000)

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Stefan Lanz almost 12 years ago

Ok, that's ok.

But I see you are building in "debug"-Mode, but the witty-libs in /usr/local/lib/ are just the optimized one unless you told cmake to build them, they get a "_d"-suffix. But for a quick test you can set your build mode in netbeans to "Release" and run the build.

It's important to separate debug-libs from optimized/release ones.

Stefan

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

Tried to change to Release, re-add -lwthttp -lwt and -L/usr/local/lib, but still getting those "undefined reference to" :/ (was so happy when I read your last msg, and was sure that would be it :P guess I jinxed it..)

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

build/Release/GNU-Linux-x86/generic/Home.o: In function `Home::Home(Wt::WEnvironment const&)':

Home.cpp:(.text+0x109d): undefined reference to `Wt::WApplication::WApplication(Wt::WEnvironment const&, Wt::WtLibVersion)'

Home.cpp:(.text+0x10b5): undefined reference to `Wt::WString::WString(char const*, Wt::CharEncoding)'

Home.cpp:(.text+0x10c2): undefined reference to `Wt::WApplication::setTitle(Wt::WString const&)'

Home.cpp:(.text+0x10cc): undefined reference to `Wt::WString::~WString()'

...

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

When writing the code, if I type "Wt::", all the correct options will pop up, so it do find the include files correctly atleast

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Stefan Lanz almost 12 years ago

Yes, it's obvious a linking issue. You wouldn't compile successfully if there were a problem with the includes.

If you like you can give me your code, so that I can try to build on my machine, perhaps I get another idea to help.

Stefan

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Wim Dumon almost 12 years ago

Sometimes order matters in linker commands. Can you move your .o file to be the first argument of your link command?

Wim.

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

I am so sorry that I have waisted your time.. Again, at least this turned out to be a good "clean up" thread for libraries..

I am stupid, and added -lwthttp -lwt to the COMIPLER compilation line..

This would still add the options to the linker command, but like this

g -lwthttp -lwt -o dist/Debug/GNU-Linux-x86/test build/Debug/GNU-Linux-x86/Home.o build/Debug/GNU-Linux-x86/main.o -L/usr/local/lib -L/usr/lib

Adding them to the LINKER compilation line, adds them like this

g -o build/Release/GNU-Linux-x86/generic/Home.o build/Release/GNU-Linux-x86/jobs/jobsView.o build/Release/GNU-Linux-x86/main.o -L/usr/local/lib -lwthttp -lwt -lboost_signals -lboost_system -lboost_filesystem

tip: add the liboost signals if you an error like this

..... is defined in DSO /usr/lib/libboost_signals.so.1.46.1 so try adding it to the linker command line

just figured I would type that in the command in case someone searches for it in the forum

tip2: the compilation lines I talk about are found by right clicking your project -> Properties -> Build -> Linker (or C Compiler if you want to put them the wrong place...)

finally, Stefan (and Wim)

Than you so much four all you help today! I really have appreciated it a lot! Would probably have given up if not for you :) So again, than you :D

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Malin Edvardsen almost 12 years ago

And I can not write "Thank you" properly.. But that is what I meant ;)

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Stefan Lanz almost 12 years ago

If everything is fine now (no matter how long it took and which way was right), so I am glad and it was worth the time and resources :)

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Bud T almost 12 years ago

Are there any reasons to use VisualStudio over NetBeans when developing Wt applications? I rather prefer NetBeans in most cases, but can use VS if there is a benefit.

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Bud T almost 12 years ago

Or, for that matter, Xcode? Is there a preferred local development platform?

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Bud T almost 12 years ago

Brad T wrote:

Are there any reasons to use VisualStudio over NetBeans when developing Wt applications? I rather prefer NetBeans in most cases, but can use VS if there is a benefit.

Do you guys use NetBeans or VisualStudio in house, or something else? I'm not sure which is ideal and would just like to know your preferences, if any. Do you also have a preferred distro, like one where you submit the Wt package yourselves?

RE: Linking problem with netbeans, ubuntu 12.04 - Added by Wim Dumon almost 12 years ago

We mostly use unix makefiles (emacs & vi), MSVS and Qt designer here. But we've also used xcode and eclipse in combination with Wt. And probably 90% of our project files (not only for Wt) are generated by cmake.

No experience with netbeans here afaik.

But apart from Wt itself, which uses cmake to generate its build system, you should be able to choose any development environment that works with your compiler/debugger/...

Wim.

    (1-25/25)